/* Ad sizes page (Deputy 18 Nov 2026): loads after v4.css + legal.css. */
.page.as{max-width:960px}
.as .crumb{font-size:14px;color:var(--mu2);margin-bottom:14px}
.as .crumb a{color:var(--mu)!important;text-decoration:none!important}
.as .btn{margin-top:0}
.as .mu{color:var(--mu2)}
.as .tip{font-size:16px;margin-top:12px}
/* the table scrolls inside its box on phones, never the page */
.as .tw{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--card);-webkit-overflow-scrolling:touch}
.as table.sz{width:100%;border-collapse:collapse;min-width:640px;font-size:15px}
.as .sz th,.as .sz td{text-align:left;padding:11px 14px;border-top:1px solid var(--line);color:#C9C9D2;vertical-align:top}
.as .sz th{border-top:0;color:var(--mu);font-size:13px;font-weight:700;background:var(--card2)}
.as .sz td:nth-child(3),.as .sz td:nth-child(4){color:var(--tx);font-weight:600;white-space:nowrap}
.as .sz td .mu{font-weight:500;white-space:normal}
.as .sz tbody tr:hover td{background:rgba(255,255,255,.02)}
/* the measured safe zone */
.as .szwrap{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start}
.as .szfig{width:100%;height:auto;border-radius:22px;border:1px solid var(--line2)}
@media(max-width:700px){.as .szwrap{grid-template-columns:1fr}.as .szfig{max-width:240px;margin:0 auto;display:block}}
/* the checker */
.as .chk{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px}
.as .chk-ctl{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:16px}
.as .chk select{font:inherit;font-size:15px;color:var(--tx);background:var(--card2);border:1px solid var(--line2);border-radius:12px;padding:11px 14px;min-height:46px;color-scheme:dark}
.as .chk select:focus-visible{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(232,38,43,.22)}
.as .chk-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1.5px dashed var(--line2);border-radius:16px;padding:18px;min-height:220px;background:#0F0F15;transition:border-color .2s}
.as .chk-drop.over{border-color:var(--red)}
.as .chk-drop:focus-visible{outline:none;border-color:var(--red)}
.as #chkcv{max-width:100%;max-height:520px;height:auto;width:auto;border-radius:10px;display:none}
.as .chk-drop.has #chkcv{display:block}
.as .chk-drop.has #chkhint{display:none}
.as #chkhint{color:var(--mu);font-size:15px;margin:0;text-align:center}
.as .chk-out{list-style:none;padding:0;margin:14px 0 0}
.as .chk-out li{font-size:15.5px;padding:8px 12px;border-radius:10px;margin-bottom:6px;background:var(--card2)}
.as .chk-out li.bad{border-left:3px solid var(--red)}
.as .chk-out li.ok{border-left:3px solid #2BB673}
.as .chk-dl{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px;font-size:14px}
.as .vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* one ad, every size */
.as .every{display:flex;flex-wrap:wrap;gap:18px 16px;align-items:flex-end;padding:6px 0 4px;margin:6px 0 18px}
.as .every figure{margin:0;flex:0 0 auto;text-align:center}
.as .every img{display:block;height:240px;width:auto;max-width:100%;object-fit:contain;border-radius:10px;border:1px solid var(--line2);background:#111}
@media(max-width:600px){.as .every{gap:14px 10px}.as .every img{height:150px}.as .every figure:last-child img{height:auto;width:100%}.as .every figure:last-child{flex-basis:100%}}
.as .every figcaption{font-size:13px;color:var(--mu);margin-top:6px}
/* questions */
.as .qa details{border-top:1px solid var(--line);padding:4px 0}
.as .qa details:last-child{border-bottom:1px solid var(--line)}
.as .qa summary{cursor:pointer;font-weight:700;font-size:17px;color:var(--tx);padding:12px 0;list-style:none;display:flex;justify-content:space-between;gap:12px}
.as .qa summary::-webkit-details-marker{display:none}
.as .qa summary::after{content:"+";color:var(--red);font-size:22px;line-height:1}
.as .qa details[open] summary::after{content:"\2212"}
.as .cta{margin-top:44px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.as .cta p{margin:0;font-size:18px}
