/* ===== 贴膜透光与隔热 ===== */
.film-hero {
    background: linear-gradient(150deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #7dd3fc;
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 26px;
    box-shadow: 0 12px 36px rgba(3, 105, 161, .10);
}
.film-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.film-logo {
    font-size: 28px; width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, #0369a1 0%, #7dd3fc 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(3, 105, 161, .3);
}
.film-title { font-size: 20px; font-weight: 800; color: #0c4a6e; }
.film-sub { font-size: 13px; color: #64748b; margin-top: 2px; }

.film-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.film-form {
    background: rgba(255,255,255,.92); border: 1px solid #7dd3fc;
    border-radius: 16px; padding: 16px;
}
.film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.film-field { display: flex; flex-direction: column; gap: 4px; }
.film-field > span { font-size: 12px; color: #64748b; font-weight: 600; }
.film-field input, .film-field select {
    border: 2px solid #e0f2fe; border-radius: 10px; padding: 9px 12px;
    font-size: 14px; background: #fff; color: #0f172a; outline: none; transition: border-color .2s;
}
.film-field input:focus, .film-field select:focus { border-color: #0284c7; }

.film-result {
    background: rgba(255,255,255,.92); border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.film-windows { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.film-win {
    position: relative; height: 78px; border-radius: 10px; overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px;
}
.film-win i {
    position: absolute; inset: 0; background: #f8fafc;
    transition: opacity .4s;
}
.film-win > span {
    position: absolute; top: 6px; left: 8px; font-size: 10px; color: #0f172a;
    background: rgba(255,255,255,.85); border-radius: 4px; padding: 1px 5px; font-weight: 700;
}
.film-win > b {
    position: relative; z-index: 1; font-size: 12px; font-weight: 900;
    color: #f8fafc; text-shadow: 0 1px 3px rgba(0,0,0,.6); font-variant-numeric: tabular-nums;
}
.film-win > i { z-index: 0; }
.film-break { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.film-break li {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px;
    padding: 8px 12px; font-size: 13px; color: #075985;
}
.film-break li b { color: #0f172a; font-variant-numeric: tabular-nums; }
.film-break li.ok { border-color: #0284c7; background: #e0f2fe; color: #0c4a6e; font-weight: 700; }
.film-break li.ok.bad { border-color: #ef4444; background: #fef2f2; color: #b91c1c; }
.film-note { margin-top: 14px; font-size: 12px; color: #64748b; line-height: 1.7; }

@media (max-width: 860px) {
    .film-body { grid-template-columns: 1fr; }
    .film-hero { padding: 20px 14px; }
}

/* ===== 深色模式 ===== */
[data-theme="dark"] .film-hero {
    background: linear-gradient(150deg, #082f49 0%, #0f172a 100%);
    border-color: rgba(125, 211, 252, .22);
}
[data-theme="dark"] .film-title { color: #7dd3fc; }
[data-theme="dark"] .film-form, [data-theme="dark"] .film-result {
    background: rgba(255,255,255,.05); border-color: rgba(125, 211, 252, .18);
}
[data-theme="dark"] .film-field input, [data-theme="dark"] .film-field select {
    background: rgba(255,255,255,.06); color: #e2e8f0; border-color: rgba(125,211,252,.25);
}
[data-theme="dark"] .film-field > span { color: #94a3b8; }
[data-theme="dark"] .film-win > span { background: rgba(15,23,42,.85); color: #e2e8f0; }
[data-theme="dark"] .film-win > i { background: #0f172a; }
[data-theme="dark"] .film-break li { background: rgba(255,255,255,.04); border-color: rgba(148,163,184,.2); color: #94a3b8; }
[data-theme="dark"] .film-break li b { color: #e2e8f0; }
[data-theme="dark"] .film-break li.ok { background: rgba(2,132,199,.18); border-color: rgba(56,189,248,.4); color: #7dd3fc; }
[data-theme="dark"] .film-break li.ok.bad { background: rgba(220,38,38,.18); border-color: rgba(248,113,113,.4); color: #fca5a5; }
