#home-feature-dialog{width:min(720px,calc(100vw - 24px));max-height:88vh;box-sizing:border-box;padding:16px 20px;border:1px solid #2d3b4e;border-radius:8px;color:#e2e8f0;background:#151d28;font:14.5px/1.6 system-ui,"Segoe UI",Roboto,sans-serif;overflow:auto;box-shadow:0 12px 40px rgba(0,0,0,0.7)}
#home-feature-dialog::backdrop{background:#000000a6}
#home-feature-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-16px;background:#151d28;z-index:2;padding:6px 0;border-bottom:1px solid #233140}
#home-feature-dialog h2{margin:0;font-size:18px;font-weight:600;color:#f1f5f9}
#home-feature-dialog h3{font-size:15px;color:#cbd5e1;margin:12px 0 6px}
#home-feature-dialog nav{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
#home-feature-dialog p{margin:6px 0;overflow-wrap:anywhere;color:#94a3b8;font-size:13.5px}
#home-feature-dialog button{padding:6px 12px;min-height:36px;margin:3px 4px 3px 0;border:1px solid #2f4055;border-radius:5px;background:#1e2938;color:#e2e8f0;cursor:pointer;font-size:13.5px;font-weight:500;transition:background .15s,border-color .15s}
#home-feature-dialog button:hover:not(:disabled){background:#28374a;border-color:#415873;color:#fff}
#home-feature-dialog button:active:not(:disabled){transform:scale(0.98)}
#home-feature-dialog button:disabled{opacity:.4;cursor:default;background:#17202c;border-color:#202a36}
#home-feature-dialog button:focus-visible,#home-feature-dialog input:focus-visible,#home-feature-dialog select:focus-visible{outline:2px solid #4a6785;outline-offset:2px}
#home-feature-dialog .home-row{border-top:1px solid #202b38;padding:8px 0;display:flex;flex-direction:column;gap:4px}
#home-feature-dialog .home-form{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
#home-feature-dialog input,#home-feature-dialog select{background:#1a2330;color:#f1f5f9;border:1px solid #2d3b4e;border-radius:4px;padding:6px 10px;font:inherit;font-size:13.5px;max-width:100%;box-sizing:border-box}
#home-feature-dialog summary{font-size:15px;color:#cbd5e1;cursor:pointer;padding:8px 0;font-weight:600}
#home-feature-dialog .home-stats{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:8px 0;border:1px solid #233140;border-radius:4px;background:#182230}
#home-feature-dialog dt,#home-feature-dialog dd{margin:0;padding:5px 8px;border-bottom:1px solid #202b38;font-size:13px}
#home-feature-dialog dd{text-align:right;font-variant-numeric:tabular-nums;color:#94a3b8}
@media(max-width:480px){#home-feature-dialog{padding:12px;width:calc(100vw - 16px)}#home-feature-dialog header{top:-12px}#home-feature-dialog button{font-size:13px}}
