/* Страницы с классом .t-glass на <body> (изолировано от остальных макетов) */
.t-glass .sgr{display:grid;gap:12px}
.t-glass .sgr .pr{display:grid;gap:4px}
.t-glass .sgr .pr>label{font-size:13px;font-weight:600}
.t-glass .sgr .pr2{display:grid;grid-template-columns:minmax(0,1fr) 84px;gap:12px;align-items:center}
.t-glass .sgr .pr2 input[type=number]{width:100%}
.t-glass .glc{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.t-glass .gl-l{font-size:13px;font-weight:600}
.t-glass .glc input[type=color]{width:46px;height:40px}
.t-glass .glc input[type=text]{width:112px}
.t-glass #gl-h{text-transform:lowercase}
.t-glass #gl-cn{width:170px}
.t-glass .glc input[type=text].bad{border-color:var(--err);box-shadow:0 0 0 3px color-mix(in srgb,var(--err) 18%,transparent)}
.t-glass .swr{display:flex;gap:8px;flex-wrap:wrap}
.t-glass .swr button{width:30px;height:30px;border-radius:9px;border:2px solid var(--line);cursor:pointer;padding:0;transition:.15s}
.t-glass .swr button:hover{transform:scale(1.12);border-color:var(--tx)}
.t-glass .swr button.on{border-color:var(--ac);box-shadow:0 0 0 3px color-mix(in srgb,var(--ac) 22%,transparent)}
.t-glass .bad-msg{display:none;font-size:12.5px;color:var(--err);margin-top:6px}
.t-glass .glc:has(.bad)+.bad-msg{display:block}
.t-glass .gl-opts{display:grid;gap:2px}
.t-glass .gls{position:relative;height:min(380px,92vw);border-radius:12px;border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;padding:26px;transition:background .2s}
.t-glass .gls[data-bg=aurora]{background:radial-gradient(circle at 18% 22%,#7c3aed,transparent 46%),radial-gradient(circle at 84% 18%,#06b6d4,transparent 46%),radial-gradient(circle at 70% 90%,#f472b6,transparent 52%),#1e1b4b}
.t-glass .gls[data-bg=sunset]{background:linear-gradient(135deg,#ff512f,#f09819 50%,#dd2476)}
.t-glass .gls[data-bg=ocean]{background:linear-gradient(160deg,#0f2027,#2c5364 45%,#1da1d6)}
.t-glass .gls[data-bg=balls]{background:#dbeafe}
.t-glass .gb{position:absolute;border-radius:50%;display:block}
.t-glass .gb1{width:150px;height:150px;left:9%;top:10%;background:linear-gradient(135deg,#f59e0b,#ef4444)}
.t-glass .gb2{width:120px;height:120px;right:8%;bottom:9%;background:linear-gradient(135deg,#8b5cf6,#ec4899)}
.t-glass .gb3{width:90px;height:90px;right:22%;top:8%;background:linear-gradient(135deg,#22c55e,#06b6d4)}
.t-glass .glass-demo{position:relative;z-index:1;width:min(270px,100%);padding:22px 22px 20px;display:grid;gap:8px;color:#0f172a;transition:border-radius .12s,box-shadow .12s}
.t-glass .glass-demo.lt{color:#fff}
.t-glass .glass-demo b{font-size:19px}
.t-glass .glass-demo span{font-size:13.5px;line-height:1.45;opacity:.92}
.t-glass .glass-demo em{font-style:normal;font-weight:600;font-size:13px;justify-self:start;margin-top:4px;padding:6px 14px;border-radius:99px;background:rgba(255,255,255,.28);border:1px solid rgba(255,255,255,.4)}
.t-glass .gl-tabs{display:flex;gap:4px;margin:0 0 12px;border-bottom:1.5px solid var(--line);overflow-x:auto}
.t-glass .gl-tabs button{background:none;border:0;border-bottom:2.5px solid transparent;padding:9px 14px;font:600 14px inherit;font-family:inherit;color:var(--mu);cursor:pointer;margin-bottom:-1.5px;white-space:nowrap}
.t-glass .gl-tabs button[aria-selected=true]{color:var(--ac);border-bottom-color:var(--ac)}
.t-glass .win pre{white-space:pre;overflow-x:auto}
.t-glass .cprow{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.t-glass .tbw{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.t-glass .gl-t{width:100%;border-collapse:collapse;font-size:14px}
.t-glass .gl-t th{background:var(--bg);text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--mu);padding:9px 12px}
.t-glass .gl-t td{padding:9px 12px;border-top:1px solid var(--line);vertical-align:top}
.t-glass .gl-t td:first-child code{overflow-wrap:break-word}
.t-glass .gl-t td:nth-child(2){min-width:100px}
.t-glass .gl-t td:nth-child(3){min-width:180px}
.t-glass .gl-t td:nth-child(3) code{white-space:normal;overflow-wrap:break-word}
.t-glass .gl-t td:last-child{min-width:210px}
.t-glass .gl-h3{font-size:15.5px;margin:18px 0 8px}
@media(max-width:900px){
.t-glass .prev{position:sticky;top:6px;z-index:6;padding:12px}
.t-glass .prev>h2,.t-glass .prev>p{display:none}
.t-glass .gls{height:190px;padding:14px}
.t-glass .gb1{width:100px;height:100px}.t-glass .gb2{width:80px;height:80px}.t-glass .gb3{width:60px;height:60px}
.t-glass .glass-demo{width:min(250px,100%);padding:14px 16px;gap:4px}
.t-glass .glass-demo span{display:none}
}
@media(max-width:480px){.t-glass .sgr .pr2{grid-template-columns:minmax(0,1fr) 78px}}
