.icecell .scene-header{gap:6px}.icecell #clock{white-space:nowrap}.icecell #cell{width:100%;height:280px;display:block;touch-action:pan-y pinch-zoom}.icecell #cell text{fill:#e9f0ef;font:18px system-ui}.icecell #cell text.small{font-size:14px;fill:#a6b7c9}.i-reads{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:5px 12px}.i-read{background:#0a1728;border-radius:8px;padding:5px 8px;font-size:12px}.i-read>b{display:block;color:var(--cyan);font-size:24px}.i-read:nth-child(2)>b{color:var(--pink)}.i-bar{display:block;height:5px;background:#253346;border-radius:3px;overflow:hidden}.i-bar i{display:block;height:100%}.icecell #danger{font-size:13px;margin:7px 12px;min-height:40px;color:var(--cyan)}.icecell .bad{color:var(--pink)!important}.icecell .actions{padding-bottom:5px}.icecell .actions button{white-space:normal;min-width:0}.i-layers{display:flex;gap:5px;margin:0 12px}.i-layers button{flex:1;min-height:44px;font-size:13px}.i-note{font-size:11px;color:var(--muted);margin:6px 12px 10px}.i-setting{font-size:12px;color:var(--muted);margin:6px 0}.icecell .results{display:grid;gap:10px}.i-pairs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.i-pairs article{border:1px solid var(--line);border-radius:12px;padding:10px}.i-pairs h3{font-size:15px}.i-pairs p{font-size:12px}.i-demos{display:flex;gap:6px}.i-demos button{flex:1;min-width:0;white-space:normal}.icecell .formula{overflow-wrap:anywhere}.icecell .source a{overflow-wrap:anywhere}.icecell .podcast img{object-fit:contain}.icecell footer a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:760px){.icecell .heading{margin:6px auto}.icecell .heading h1{font-size:21px}.icecell .eyebrow,.icecell .question{display:none}.icecell #cell{height:145px}.icecell .scene-header{font-size:10px;padding:5px 8px}.icecell #clock{font-size:9px}.i-reads{margin:3px 8px;gap:3px}.i-read{font-size:10px;padding:3px 4px}.i-read>b{font-size:16px}.icecell #danger{font-size:11px;min-height:32px;margin:5px 8px}.icecell .actions button,.i-layers button{font-size:11px}.i-note{font-size:9px;margin:4px 8px 6px}.i-setting{font-size:11px}.i-pairs{grid-template-columns:1fr 1fr}.icecell .view{top:6px}.icecell .hint{font-size:12px}.icecell .control label{font-size:12px}}
@media(max-width:360px){.icecell .heading h1{font-size:19px}.icecell #cell{height:125px}.i-read{font-size:9px}.i-read>b{font-size:15px}.icecell .unit{font-size:10px}.icecell .number{width:58px}.i-pairs{grid-template-columns:1fr}.i-demos{flex-wrap:wrap}.i-demos button{flex:1 1 100%;font-size:12px}}
@media(max-height:500px) and (min-width:600px){.icecell .heading{margin:4px auto}.icecell .heading h1{font-size:20px}.icecell .eyebrow,.icecell .question{display:none}.icecell #cell{height:140px}.icecell .scene-header{font-size:10px;padding:4px 8px}.icecell #clock{font-size:9px}.i-reads{margin:3px 8px}.i-read{font-size:9px;padding:2px 4px}.i-read>b{font-size:14px}.icecell #danger{font-size:10px;min-height:28px;margin:4px 8px}.icecell .actions button,.i-layers button{font-size:10px}.i-note{font-size:9px;margin:3px 8px 5px}.i-setting{font-size:11px}}

/* 2026-10-11: readable legend and controls adjacent to the cell. */
.icecell .heading h1{font-size:clamp(24px,3vw,34px)}
.icecell .scene-header{font-size:14px;align-items:flex-start;flex-wrap:wrap;padding:8px 10px}
.icecell #clock{font-size:14px;white-space:normal}
.icecell #cell{height:220px}
.i-legend{display:flex;flex-wrap:wrap;gap:3px 12px;margin:2px 10px;font-size:14px;line-height:1.25;color:var(--muted)}
.i-legend span:first-child{color:var(--text);width:100%}
.i-read,.i-setting,.i-note,.i-pairs p,.icecell .hint,.icecell .control label,.icecell .unit,.icecell .below p,.icecell .source,.icecell footer{font-size:14px}
.i-reads{margin:5px 10px;gap:4px}.i-read{padding:5px;line-height:1.2}.i-read>b{font-size:20px}
.icecell #danger{font-size:14px;line-height:1.25;min-height:0;margin:6px 10px 8px}
.icecell .controls{display:flex;flex-direction:column;gap:4px;padding:12px}.icecell .controls h2{display:none}
.icecell .actions{padding:0;gap:4px}.icecell .actions button,.i-layers button,.i-demos button{font-size:14px;min-height:44px;line-height:1.2;padding:6px 8px}
.icecell .actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.i-layers{margin:4px 0}.i-note,.i-setting{margin:4px 0}.icecell .hint{margin:4px 0}
.icecell .number{font-size:16px;min-height:44px}.icecell .control{margin:0 0 4px}.icecell .control input[type=range]{min-height:44px;margin:0}
.icecell .logo,.icecell .podcast img{object-fit:contain}
@media(max-width:760px){.icecell .heading{display:none}.icecell .view{top:4px}.icecell #cell{height:130px}.i-legend{font-size:14px}.i-read>b{font-size:16px}.i-read{font-size:14px}.icecell .controls{padding:10px}.i-pairs{grid-template-columns:1fr}.icecell .topbar{gap:4px}.icecell .brand{min-width:0}.icecell .brand .logo{width:80px;height:37px}.icecell .topbar button{padding:7px 8px;min-width:44px}}
@media(max-width:360px){.icecell #cell{height:115px}.icecell .brand .logo{width:72px}.i-reads{margin:4px 8px}.i-legend{margin:2px 8px}.icecell .unit{font-size:14px}.i-demos button{font-size:14px}}
@media(max-height:500px) and (min-width:600px){.icecell .heading{display:none}.icecell .lab{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:8px}.icecell .view{position:sticky;top:4px}.icecell #cell{height:110px}.icecell .scene-header,.icecell #clock,.i-read,.i-note,.i-setting{font-size:14px}.icecell .actions button,.i-layers button{font-size:14px}.i-read>b{font-size:16px}.icecell #danger{font-size:14px}.icecell .controls{padding:8px}}

@media(max-width:760px){.icecell .i-legend{min-height:76px;align-content:flex-start}.icecell #danger{min-height:54px}}
