:root{--d-ink:#263840;--d-muted:#68777e;--d-blue:#243e80;--d-blue2:#315795;--d-teal:#147d75;--d-line:#d9e4e5;--d-soft:#f4f8f7;--d-warm:#fff6d9;--d-shadow:0 12px 34px rgba(31,55,75,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#edf3f2;color:var(--d-ink);font:16px/1.5 Arial,Helvetica,sans-serif}a{color:inherit}
.demo-banner{padding:9px 16px;text-align:center;background:#fff1b9;border-bottom:1px solid #e3d17f;color:#604d13;font-size:12px;font-weight:800}
.demo-shell{width:min(1120px,calc(100% - 24px));margin:16px auto 52px;background:#fff;border:1px solid #dbe4e6;border-radius:20px;overflow:hidden;box-shadow:var(--d-shadow)}
.demo-school-head{display:flex;align-items:center;gap:16px;padding:22px 28px;color:#fff;background:linear-gradient(120deg,var(--d-blue),var(--d-blue2) 64%,#3d746b)}
.demo-school-mark{display:grid;place-items:center;width:68px;height:68px;flex:0 0 68px;border-radius:50%;background:#fff;color:var(--d-blue);border:4px solid rgba(255,255,255,.35);font-weight:900;font-size:22px;line-height:1}.demo-school-mark small{display:block;font-size:7px;letter-spacing:.08em;margin-top:2px}.demo-school-head h1{margin:0;font-size:clamp(22px,3vw,34px);line-height:1.08}.demo-school-head p{margin:5px 0 0;opacity:.92;font-size:13px}
.demo-method-nav{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--d-line);background:#fbfcfc}.demo-method-nav button{appearance:none;border:0;border-right:1px solid var(--d-line);background:transparent;padding:13px 10px;text-align:center;color:#50636b;font:850 13px/1.2 Arial,Helvetica,sans-serif;cursor:pointer}.demo-method-nav button:last-child{border-right:0}.demo-method-nav button:hover,.demo-method-nav button:focus-visible{background:#f1f7f6;outline:2px solid #bfd8d4;outline-offset:-2px}.demo-method-nav button[aria-selected="true"]{background:#eaf6f3;color:#106b64;box-shadow:inset 0 -3px 0 var(--d-teal)}.demo-tab-panel[hidden]{display:none}
.demo-page{padding:28px}.demo-kicker{display:inline-block;margin-bottom:8px;color:var(--d-teal);font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.demo-title{margin:0;color:#20396e;font-size:clamp(28px,4vw,42px);line-height:1.08}.demo-lead{max-width:780px;margin:9px 0 0;color:var(--d-muted);font-size:16px}.demo-method-note{margin:18px 0 28px;padding:13px 15px;border-left:5px solid var(--d-teal);background:#f0f8f6;border-radius:5px;color:#486268;font-size:13px}.demo-method-note strong{color:#175f59}
.demo-section{margin:30px 0}.demo-section h2{margin:0;color:#20396e;font-size:23px}.demo-section>p{margin:5px 0 14px;color:var(--d-muted);font-size:13px}.demo-subhead{margin:18px 0 9px;color:#4c6068;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.demo-button-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.demo-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:9px 11px;border:1px solid #c8d9d8;border-radius:12px;background:#f8fbfa;color:#355159;text-decoration:none;text-align:center;font-weight:850;font-size:13px}.demo-button:hover,.demo-button:focus-visible{border-color:#7eaaa4;outline:2px solid #c9dfda}.demo-button img{width:34px;height:34px;object-fit:contain}.demo-button--accent{background:#eaf6f3;border-color:#b5d6d1;color:#126860}.demo-button--play:before{content:"▶";display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:8px;background:#e4f2f0;color:var(--d-teal);font-size:9px}
.demo-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.demo-card-grid>a{max-width:none!important;margin:0!important}.demo-generic-card{display:flex;align-items:center;gap:13px;padding:13px 15px;border:1px solid #d6e1e4;border-radius:14px;background:#fff;color:#24343b;text-decoration:none;box-shadow:0 2px 8px rgba(36,52,59,.08)}.demo-generic-card img{width:54px;height:54px;object-fit:contain;flex:0 0 54px}.demo-generic-card span{min-width:0;flex:1}.demo-generic-card strong,.demo-generic-card small{display:block}.demo-generic-card strong{font-size:16px;line-height:1.15}.demo-generic-card small{margin-top:4px;color:#65747b;font-size:12px}.demo-arrow{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:var(--d-teal);color:#fff;font-size:19px;font-weight:800}
.demo-widget-wrap{padding:12px;border:1px solid #d7e2e3;border-radius:16px;background:#f5f9f8}.demo-widget-wrap iframe{display:block;width:100%;height:650px;border:0;border-radius:13px;background:#fff}.demo-widget-wrap.games iframe{height:700px}.demo-editor-note{margin-top:10px;padding:10px 12px;border-left:4px solid #d5a43a;background:var(--d-warm);border-radius:4px;color:#68551f;font-size:12px}
.demo-footer-grid{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:start;margin-top:34px;padding:18px;border-top:1px solid var(--d-line);background:#f8fafa}.demo-footer-grid h3{margin:0 0 5px;font-size:15px}.demo-footer-grid p{margin:3px 0;color:#65757c;font-size:11px}.demo-footer-grid a{color:var(--d-teal);font-weight:800}.demo-qr{width:116px;height:116px;padding:5px;background:#fff;border:1px solid var(--d-line)}.demo-qr svg{display:block;width:100%;height:100%}
.demo-site-footer{padding:18px 28px;background:#1d2b4c;color:#dce5ee;font-size:11px}.demo-site-footer strong{color:#fff}.demo-site-footer a{color:#fff;font-weight:800}
@media(max-width:800px){.demo-button-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-card-grid{grid-template-columns:1fr}.demo-widget-wrap iframe,.demo-widget-wrap.games iframe{height:790px}}
@media(max-width:520px){.demo-shell{width:min(100% - 12px,1120px);margin-top:6px;border-radius:14px}.demo-school-head{padding:16px}.demo-school-mark{width:54px;height:54px;flex-basis:54px;font-size:17px}.demo-school-head p{font-size:10px}.demo-method-nav button{padding:11px 4px;font-size:11px}.demo-page{padding:20px 12px}.demo-button-grid{gap:8px}.demo-button{min-height:50px;padding:8px 7px;font-size:12px}.demo-button img{width:29px;height:29px}.demo-widget-wrap{padding:6px}.demo-widget-wrap iframe,.demo-widget-wrap.games iframe{height:850px}.demo-footer-grid{grid-template-columns:1fr}.demo-qr{width:104px;height:104px}}