*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#172033;background:linear-gradient(180deg,#dff5ff 0,#f7fbff 300px,#eef5fa 100%)}button{font:inherit;cursor:pointer}.topbar{position:sticky;top:0;z-index:50;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:13px 22px;background:#fff;box-shadow:0 6px 22px #18324d16}.brand{font-size:20px;font-weight:950;color:#1058b6}.subtitle{font-size:11px;color:#667085;font-weight:700}.topbar nav{display:flex;gap:6px;flex-wrap:wrap}.nav-btn{border:0;background:#f2f6fa;color:#344054;padding:9px 13px;border-radius:10px;font-weight:850}.nav-btn.active{background:#1669e8;color:#fff}.view{display:none;max-width:1500px;margin:auto;padding:24px 20px 45px}.view.active{display:block}.hero{display:grid;grid-template-columns:1fr 280px;gap:22px;align-items:center;background:linear-gradient(120deg,#0c57c7,#188cef 58%,#62d3ff);color:#fff;border-radius:26px;padding:40px;box-shadow:0 18px 35px #1a5c8b33}.eyebrow{font-size:11px;letter-spacing:1.3px;font-weight:950;opacity:.85}.hero h1{font-size:clamp(40px,6vw,72px);line-height:.95;margin:8px 0 15px;text-shadow:3px 4px 0 #073c8c}.hero p{max-width:650px;font-size:17px;font-weight:650}.hero-card{background:#ffffff20;border:1px solid #fff5;border-radius:20px;padding:22px;text-align:center;backdrop-filter:blur(5px)}.hero-icon{font-size:70px;font-weight:1000;line-height:1}.hero-card b,.hero-card small{display:block}.cards,.material-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.cards article,.material-grid article{background:#fff;border:1px solid #dbe4ed;border-radius:17px;padding:18px;box-shadow:0 8px 22px #17324d0e}.cards h3,.material-grid h3{margin:0 0 7px;color:#1559b5}.cards p,.material-grid p{margin:0;color:#596779;line-height:1.55}.primary{border:0;background:linear-gradient(#3099ff,#075fdc);color:#fff;padding:12px 17px;border-radius:12px;font-weight:950;box-shadow:0 5px 0 #064aa5}.primary:active{transform:translateY(2px);box-shadow:0 3px 0 #064aa5}.full{width:100%}.section-title h2,.game-heading h2{margin:5px 0 0;font-size:32px}.example{margin-top:12px;background:#edf6ff;border-left:4px solid #2680e8;padding:9px;border-radius:8px;font-weight:800;color:#24558c}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.game-main,.game-panel{background:#fff;border:1px solid #dce5ee;border-radius:22px;box-shadow:0 12px 28px #17324d12}.game-main{padding:14px}.game-heading{display:flex;justify-content:space-between;align-items:end;margin:2px 4px 12px;gap:10px}.badge{background:#eaf3ff;color:#1459ba;padding:8px 11px;border-radius:99px;font-size:11px;font-weight:950;white-space:nowrap}.board-frame{position:relative;overflow:auto;background:linear-gradient(135deg,#b7e8ff,#e5f9ff 50%,#b5e1c0);border-radius:18px;padding:6px}.board-frame object{display:block;width:100%;min-width:900px;height:auto;aspect-ratio:1400/900}.legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.legend span{background:#f2f6f9;padding:7px 10px;border-radius:99px;font-size:10px;font-weight:900;color:#596779}.game-panel{padding:16px;background:linear-gradient(180deg,#fff,#f3f8fc)}.game-panel h3{margin:0 0 10px;color:#1559b5}.players{display:grid;grid-template-columns:1fr 1fr;gap:8px}.player{padding:9px;border:1px solid #d8e1ea;border-radius:13px;text-align:center;background:linear-gradient(145deg,#fff,#edf3f7);box-shadow:3px 4px 0 #c9d3dd}.player.active{outline:3px solid #3d91f2}.avatar{font-size:27px}.player b{display:block;font-size:12px}.player small{color:#667085;font-size:10px}.turn{margin:13px 0;text-align:center;background:#eef6ff;padding:9px;border-radius:10px;font-size:12px}.dice{font-size:66px;text-align:center;min-height:78px;filter:drop-shadow(0 8px 4px #23405a44)}.question-box{margin-top:13px;padding:13px;border:1px solid #d7e1ea;background:#f8fafc;border-radius:15px}.question-box h4{margin:5px 0 10px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:7px}.answer{border:1px solid #d1dbe5;background:#fff;padding:9px;border-radius:10px;text-align:left;font-weight:750}.answer:disabled{opacity:.7}.timer{height:8px;background:#dfe7ee;border-radius:99px;overflow:hidden}.timer span{display:block;height:100%;width:100%;background:#2776e7}.message{min-height:42px;margin-top:11px;text-align:center;font-weight:800;font-size:12px;color:#4f6072}.hidden{display:none}.result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.result{background:#fff;border:1px solid #dce5ee;border-radius:16px;padding:16px;text-align:center}.result .score{font-size:32px;font-weight:1000;color:#1559b5}@media(max-width:1000px){.game-layout{grid-template-columns:1fr}.game-panel{order:-1}.cards,.material-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.topbar{align-items:flex-start;flex-direction:column}.hero{grid-template-columns:1fr;padding:25px}.cards,.material-grid{grid-template-columns:1fr}.result-grid{grid-template-columns:1fr 1fr}.view{padding:15px 10px}.game-heading{align-items:flex-start;flex-direction:column}.players{grid-template-columns:repeat(4,1fr)}.player{padding:6px}.avatar{font-size:22px}}/* v1.1 interaction polish */
.click-card{cursor:pointer;transition:transform .18s,box-shadow .18s}.click-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #17324d18}.card-link{display:inline-block;margin-top:12px;color:#1267d9;font-size:12px;font-weight:900}.practice-box{max-width:900px;margin:20px auto;background:#fff;border:1px solid #dce5ee;border-radius:22px;padding:24px;box-shadow:0 12px 30px #17324d12}.practice-top{display:flex;justify-content:space-between;gap:12px;color:#5a6878;font-size:13px}.practice-progress{height:9px;background:#e7edf3;border-radius:99px;overflow:hidden;margin:12px 0 20px}.practice-progress span{display:block;height:100%;background:linear-gradient(90deg,#1468e8,#45b8ff);transition:width .25s}.practice-box h3{font-size:22px;color:#164f96}.practice-feedback{margin-top:16px;padding:14px;background:#edf7ff;border:1px solid #cfe6fa;border-radius:13px;line-height:1.6}.practice-feedback b{color:#1559b5}.small-btn{margin-top:10px;padding:9px 13px;font-size:12px}.practice-result{text-align:center;padding:25px}.big-score{font-size:58px;font-weight:1000;color:#1559b5}.result-token{width:44px;height:44px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:1000;border:3px solid #fff;box-shadow:0 4px 10px #17324d2a}.challenge-title{display:inline-block;background:#eaf3ff;color:#1559b5;border-radius:99px;padding:6px 9px;font-size:10px;font-weight:1000;margin-bottom:8px}.question-box .answer{transition:transform .12s,background .12s}.question-box .answer:hover:not(:disabled){transform:translateY(-2px);background:#eef6ff}.game-panel{position:sticky;top:95px;align-self:start}@media(max-width:1000px){.game-panel{position:static}}


/* v1.2 — visible player pawns over the 3D board */
.board-stage{position:relative;width:100%;min-width:900px;aspect-ratio:1400/900;}
.board-stage object{position:absolute;inset:0;width:100%;height:100%;min-width:0;aspect-ratio:auto;z-index:1;}
.token-layer{position:absolute;inset:0;z-index:20;pointer-events:none;overflow:visible;}
.html-token{position:absolute;width:42px;height:54px;transform:translate(-50%,-58%);transition:left .22s cubic-bezier(.2,.75,.25,1),top .22s cubic-bezier(.2,.75,.25,1),filter .2s;filter:drop-shadow(0 4px 3px #182b3b55);z-index:20;}
.html-token.no-transition{transition:none!important;}
.html-token .token-piece{position:absolute;left:50%;top:4px;width:31px;height:31px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(circle at 32% 25%,#fff9 0 12%,transparent 13%),linear-gradient(145deg,var(--token-color),#10243a);border:3px solid #fff;box-shadow:inset -4px -5px 7px #0005,0 3px 0 #13253a55;display:grid;place-items:center;color:#fff;font-size:15px;font-weight:1000;text-shadow:0 1px 2px #0008;}
.html-token .token-piece:after{content:"";position:absolute;left:50%;top:24px;width:22px;height:17px;transform:translateX(-50%);background:linear-gradient(90deg,#17324d55,var(--token-color) 18% 82%,#17324d55);border-radius:4px 4px 8px 8px;z-index:-1;box-shadow:inset -3px -3px 5px #0004;}
.html-token .token-shadow{position:absolute;left:50%;bottom:1px;width:28px;height:7px;transform:translateX(-50%);border-radius:50%;background:#17324d55;filter:blur(2px);}
.html-token small{position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);font-size:8px;line-height:12px;font-weight:1000;color:#172033;background:#fffdf0e8;border:1px solid #d7dee7;border-radius:8px;padding:0 4px;white-space:nowrap;box-shadow:0 2px 4px #17324d25;}
.html-token.active-token{filter:drop-shadow(0 0 5px #fff) drop-shadow(0 5px 4px #182b3b66);}
.html-token.active-token .token-piece{animation:tokenBob .8s ease-in-out infinite alternate;}
@keyframes tokenBob{from{transform:translateX(-50%) translateY(0)}to{transform:translateX(-50%) translateY(-4px)}}
@media(max-width:650px){.html-token{width:34px;height:46px}.html-token .token-piece{width:26px;height:26px;font-size:12px}.html-token .token-piece:after{top:20px;width:18px;height:14px}.html-token small{font-size:7px;bottom:-7px}}

/* v1.3 — one-screen collaborative game layout */
body.game-mode{overflow:hidden}
#game.view.active{height:calc(100vh - 72px);max-width:none;padding:12px 18px 16px;overflow:hidden}
#game.view.active .game-layout{height:100%;min-height:0}
#game.view.active .game-main,#game.view.active .game-panel{min-height:0}
#game.view.active .game-main{display:flex;flex-direction:column;padding:10px}
#game.view.active .game-heading{margin:0 4px 8px;flex:0 0 auto}
#game.view.active .game-heading h2{font-size:24px}
#game.view.active .board-frame{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:4px}
#game.view.active .board-stage{width:auto;max-width:100%;height:100%;min-width:0;aspect-ratio:1400/900;position:relative}
#game.view.active .legend{margin-top:6px;flex:0 0 auto}
#game.view.active .game-panel{display:flex;flex-direction:column;overflow:auto;padding:13px;position:relative;top:auto}
#game.view.active .game-panel h3{margin-bottom:7px}
#game.view.active .players{grid-template-columns:1fr 1fr;gap:6px}
#game.view.active .player{padding:6px}
#game.view.active .avatar{font-size:22px}
#game.view.active .turn{margin:8px 0}
#game.view.active .dice{font-size:52px;min-height:58px;line-height:1}
#game.view.active .question-box{order:1;margin-top:9px;padding:10px}
#game.view.active .message{order:2;margin:7px 0 0;min-height:34px}
#game.view.active #rollBtn{order:0}
#game.view.active .game-panel .players{order:-3}
#game.view.active .game-panel .turn{order:-2}
#game.view.active .game-panel .dice{order:-1}
#game.view.active #rollBtn{margin-bottom:0}
@media(min-width:1001px){
  #game.view.active{grid-template-columns:minmax(0,1fr) 360px;gap:14px}
}
@media(max-width:1000px){
  body.game-mode{overflow:auto}
  #game.view.active{height:auto;overflow:visible}
  #game.view.active .game-layout{height:auto}
  #game.view.active .board-frame{overflow:auto}
  #game.view.active .board-stage{width:100%;height:auto;min-width:900px}
}
/* v1.3 correction: #game itself is the two-column grid */
#game.view.active{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:stretch}
#game.view.active > .game-main,#game.view.active > .game-panel{height:100%;min-height:0}
@media(max-width:1000px){#game.view.active{display:grid;grid-template-columns:1fr;height:auto}}

/* v1.5 — clean 30-cell board: no stacking, one-screen desktop layout */
#game.view.active{grid-template-columns:minmax(0,1fr) 380px;gap:14px;}
#game.view.active .game-main{min-width:0;}
#game.view.active .board-frame{padding:4px;overflow:hidden;}
#game.view.active .board-stage{width:100%;height:auto;max-width:100%;aspect-ratio:1400/900;min-width:0;}
#game.view.active .board-stage object{width:100%;height:100%;}
#game.view.active .game-panel{overflow:hidden;padding:12px;}
#game.view.active .player{padding:7px 6px;}
#game.view.active .avatar{font-size:20px;}
#game.view.active .dice{font-size:48px;min-height:50px;}
#game.view.active .question-box{font-size:12px;}
#game.view.active .answer{padding:8px;}
#game.view.active .message{min-height:28px;}
@media(max-width:1100px){#game.view.active{grid-template-columns:minmax(0,1fr) 330px;}}
@media(max-width:900px){body.game-mode{overflow:auto}#game.view.active{height:auto;display:grid;grid-template-columns:1fr;padding-bottom:30px}#game.view.active .game-panel{overflow:visible}.board-frame{overflow:auto!important}.board-stage{min-width:900px!important;}}

/* v1.7 — Manual board editor */
.editor-toggle{border:1px solid #c9d7e5;background:#fff;color:#1559b5;padding:7px 11px;border-radius:99px;font-size:10px;font-weight:950;cursor:pointer}
.editor-panel{margin-top:12px;background:#f7fbff;border:1px solid #cfe0ef;border-radius:15px;padding:12px;box-shadow:0 8px 18px #17324d10}
.editor-head{display:flex;justify-content:space-between;align-items:center;color:#1559b5;font-size:12px}
.editor-head button{border:0;background:#e9f0f6;border-radius:8px;width:30px;height:30px;font-size:20px;cursor:pointer}
.editor-help{font-size:10px;color:#5e6d7d;line-height:1.45;margin:7px 0}
.editor-selected{font-size:11px;background:#fff;border:1px solid #d8e3ec;border-radius:9px;padding:8px;margin-bottom:8px}
.editor-tools,.editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:7px}
.editor-tools button,.secondary-btn{border:1px solid #cbd8e4;background:#fff;padding:8px 7px;border-radius:9px;font-size:10px;font-weight:850;color:#344054;cursor:pointer}
.editor-actions .small-btn{padding:8px 7px;font-size:10px;box-shadow:none}
.editor-status{margin-top:8px;font-size:9px;color:#667085;min-height:14px}
body.board-editing .board-stage{outline:3px solid #f4b740;outline-offset:-3px}
body.board-editing .board-stage object{cursor:crosshair}
@media(max-width:1000px){.editor-panel{position:static}}

/* v1.7.1 — reliable parent-document drag handles for SVG elements */
.editor-handles{position:absolute;inset:0;z-index:30;pointer-events:none;overflow:visible;}
.editor-handle{position:absolute;pointer-events:auto;cursor:grab;touch-action:none;border:2px dashed transparent;border-radius:12px;background:transparent;transform:translate(-50%,-50%);}
.editor-handle:hover{border-color:#1669e8;background:#1669e81a;}
.editor-handle.selected{border-color:#ff8a00;background:#ff8a0014;box-shadow:0 0 0 2px #fff8,0 0 0 4px #ff8a0066;cursor:grabbing;}
.editor-handle .handle-label{position:absolute;left:50%;top:-22px;transform:translateX(-50%);background:#172033;color:#fff;padding:3px 7px;border-radius:7px;font-size:9px;font-weight:900;white-space:nowrap;pointer-events:none;}
.board-stage:not(.editing) .editor-handles{display:none;}
.board-stage.editing .token-layer{z-index:25;}
.board-stage.editing .editor-handles{display:block;}
/* v1.8 manual board editor */
.placed-elements{position:absolute;inset:0;z-index:20;pointer-events:none;overflow:visible;}
.placed-element{position:absolute;transform-origin:center center;pointer-events:none;touch-action:none;user-select:none;}
.placed-element.editable{pointer-events:auto;cursor:grab;}
.placed-element.selected{outline:3px dashed #ff8a00;outline-offset:3px;filter:drop-shadow(0 0 5px rgba(255,138,0,.55));cursor:grabbing;}
.placed-element img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none;-webkit-user-drag:none;}
.editor-section-title{font-size:10px;font-weight:950;color:#344054;margin:10px 0 6px;text-transform:uppercase;letter-spacing:.04em}
.pair-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;max-height:145px;overflow:auto;padding-right:2px}
.pair-btn{border:1px solid #d5e0ea;background:#fff;border-radius:9px;padding:7px 5px;font-size:9px;font-weight:900;color:#344054;cursor:pointer;text-align:left}
.pair-btn.active{border-color:#ff8a00;background:#fff5e8;color:#b45b00;box-shadow:0 0 0 2px #ff8a0030}
.pair-btn.filled::after{content:' ✓';color:#2e9b59}
.asset-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.asset-tab{border:1px solid #cbd8e4;background:#fff;padding:7px;border-radius:9px;font-size:10px;font-weight:900;cursor:pointer}
.asset-tab.active{background:#eaf3ff;border-color:#2474e8;color:#1559b5}
.asset-library{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;max-height:190px;overflow:auto;margin-top:6px}
.asset-card{border:1px solid #d8e3ec;background:#fff;border-radius:9px;padding:4px;cursor:pointer;text-align:center;min-height:68px}
.asset-card:hover{border-color:#2474e8;background:#f4f9ff}
.asset-card img{width:100%;height:52px;object-fit:contain;display:block}
.asset-card span{font-size:8px;font-weight:850;color:#596579}
.editor-tools{grid-template-columns:1fr 1fr}
@media(max-width:1000px){.pair-picker{max-height:none}.asset-library{max-height:none}}


/* v1.9 — Wordwall integration */
.wordwall-shell{background:#fff;border:1px solid #dbe4ed;border-radius:20px;box-shadow:0 12px 28px #17324d12;overflow:hidden;}
.wordwall-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;background:linear-gradient(90deg,#eef6ff,#f8fbff);border-bottom:1px solid #dbe4ed;}
.wordwall-head strong{display:block;color:#1559b5;font-size:17px;}
.wordwall-head span{display:block;margin-top:3px;color:#667085;font-size:11px;font-weight:700;}
.wordwall-open{display:inline-flex;align-items:center;justify-content:center;background:#1669e8;color:#fff;text-decoration:none;padding:9px 13px;border-radius:10px;font-weight:900;font-size:11px;white-space:nowrap;}
.wordwall-frame-wrap{padding:14px;background:#edf5fb;}
.wordwall-frame{display:block;width:100%;height:min(760px,78vh);min-height:600px;border:0;border-radius:14px;background:#fff;box-shadow:0 5px 18px #17324d18;}
.wordwall-fallback{padding:10px 14px 14px;color:#667085;font-size:10px;line-height:1.5;background:#fff;}
@media(max-width:700px){.wordwall-head{align-items:flex-start;flex-direction:column}.wordwall-frame{min-height:620px;height:78vh;}}


/* v2.1 — Materi dibuat seperti lembar rangkuman belajar siswa */
#materi.view{max-width:1200px;padding-top:18px}
.study-sheet{position:relative;overflow:hidden;background:#fffdf7;border:1px solid #eadfca;border-radius:28px;padding:28px 30px 24px;box-shadow:0 16px 35px #704b1814}
.study-sheet:before,.study-sheet:after{content:"";position:absolute;width:170px;height:170px;border:2px dashed #f2c7b9;border-radius:50%;opacity:.25;pointer-events:none}
.study-sheet:before{left:-100px;top:210px}.study-sheet:after{right:-90px;bottom:180px}
.study-ribbon{width:max-content;margin:0 auto 5px;padding:7px 32px 8px;background:#ffd9d5;color:#9c6258;font-size:16px;font-weight:950;letter-spacing:1.8px;border:2px solid #f2aaa1;border-radius:8px;transform:rotate(-1.5deg);box-shadow:0 3px 0 #efc2ba}
.study-title{text-align:center}.study-title-main{font-size:clamp(42px,7vw,74px);font-weight:1000;line-height:.9;letter-spacing:1px;color:#38538e;text-shadow:3px 3px 0 #dfe7f4}.study-class{display:inline-block;margin-top:7px;background:#7cb85b;color:white;font-size:19px;font-weight:1000;padding:5px 20px;border-radius:11px;box-shadow:0 3px 0 #5d9841}.study-chapter{text-align:center;margin-top:14px}.study-chapter span{display:inline-block;padding:7px 32px;border:2px dashed #70b7df;border-radius:9px;color:#42658d;background:#f4fbff;font-size:22px;font-weight:1000;transform:rotate(-.7deg)}
.study-topic{text-align:center;margin:4px 0 10px;font-size:43px;font-weight:1000;line-height:1.05}.study-topic b{color:#e96a7c}.study-topic span{font-size:27px;color:#5b4b40}.study-topic strong{color:#7a579c}.study-intro{max-width:760px;margin:0 auto 20px;text-align:center;background:#fff8dc;border:1.5px solid #efc879;border-radius:15px;padding:11px 18px;color:#655343;font-size:13px;line-height:1.55;box-shadow:0 3px 0 #f1e5c5}.study-intro b:first-child{color:#e96a7c}.study-intro b:last-child{color:#7a579c}
.material-board{display:grid;grid-template-columns:1fr 1fr;gap:12px}.note-card,.prime-card{position:relative;border-radius:19px;padding:15px 16px 16px;border:1.5px solid;box-shadow:0 6px 12px #3d321b0d;overflow:hidden}.note-card:after{content:"";position:absolute;width:80px;height:18px;right:-12px;top:9px;background:#fff5;transform:rotate(8deg);border-radius:3px}.note-green{background:#f5faed;border-color:#b7d49d}.note-blue{background:#f0f8fd;border-color:#a9cfe7}.note-red{background:#fff4f1;border-color:#efb4aa}.note-purple{background:#faf3fc;border-color:#d5b8df}.note-label{flex:0 0 auto;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-size:21px;font-weight:1000;background:#fff;border:3px solid currentColor;box-shadow:2px 2px 0 #00000010}.note-green .note-label,.note-green h3{color:#5f994a}.note-blue .note-label,.note-blue h3{color:#4e9bc5}.note-red .note-label,.note-red h3{color:#e26c77}.note-purple .note-label,.note-purple h3{color:#8c5ca1}.note-content{padding-left:4px}.note-content h3{margin:-32px 0 8px 49px;font-size:19px;letter-spacing:.3px}.note-content p{font-size:11px;line-height:1.5;margin:8px 0}.example-box{background:#fffdf8;border-radius:11px;padding:9px 10px;font-size:10px;line-height:1.55;border:1px solid #d8d1c6;color:#4e463e}.tip{float:right;margin:-8px 0 0 8px;max-width:110px;background:#fff1a9;padding:7px 9px;border-radius:3px;transform:rotate(2deg);font-size:9px;color:#64542e;box-shadow:2px 4px 6px #5d4a1820}.answer-box{margin-top:8px;background:#eaf7ff;border:1.5px solid #8ec5e7;border-radius:10px;padding:8px;text-align:center;font-size:10px;line-height:1.5;color:#45637a}.answer-box span{color:#21679b}.note-purple .answer-box{background:#f7ecfb;border-color:#cdaed9;color:#755481}.note-purple .answer-box span{color:#8c4d9d}.mini-formula{margin-top:8px;padding:7px 9px;border-radius:9px;background:#fff;border:1px dashed #dfaaa2;font-size:10px;color:#6e4d4b}
.prime-card{grid-column:1/-1;background:linear-gradient(135deg,#fffaf2,#fffdf7);border-color:#e7b27a;padding:16px}.prime-heading{display:flex;gap:12px;align-items:flex-start}.prime-heading .note-label{color:#dc8a3d}.prime-heading h3{margin:2px 0 2px;color:#c8792e;font-size:19px}.prime-heading p{margin:0;color:#5f574e;font-size:11px}.prime-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.prime-method{border-radius:15px;padding:13px;border:1px solid}.kpk-method{background:#fff2f4;border-color:#e9a7b1}.fpb-method{background:#eef8fc;border-color:#a9d2e5}.prime-method h4{margin:0 0 5px;font-size:13px;letter-spacing:.5px}.kpk-method h4{color:#c75c70}.fpb-method h4{color:#4c8eae}.prime-method p{font-size:10px;line-height:1.5;margin:0 0 8px;color:#554e49}.factor-work{background:#fff;border:1px dashed #cdbfae;border-radius:10px;padding:9px;font-family:"Trebuchet MS",Arial,sans-serif;font-size:10px;line-height:1.65}.factor-work hr{border:0;border-top:1px dashed #d8cec2;margin:5px 0}.factor-work strong{font-size:11px;color:#3f4c5e}.factor-work u{text-decoration-thickness:2px}
.study-footer{margin:18px auto 0;width:min(760px,100%);text-align:center;background:#fff8e6;border:1.5px dashed #edbb67;border-radius:18px;padding:10px 14px;color:#6d5a3e;font-size:11px;box-shadow:0 3px 0 #f2e4c6}.study-footer span{font-size:18px}.study-footer b{color:#8c6b3c}
@media(max-width:760px){.study-sheet{padding:20px 14px}.material-board,.prime-columns{grid-template-columns:1fr}.prime-card{grid-column:auto}.study-topic{font-size:34px}.study-intro{font-size:11px}.note-content h3{font-size:17px}.tip{float:none;display:inline-block;margin:8px 0 0}.study-ribbon{font-size:13px;padding:6px 18px}.study-chapter span{font-size:18px}}

/* BIMA v2.2 — cover buku digital */
.bima-cover-page{max-width:900px;margin:0 auto;padding:8px 0 25px;text-align:center}
.bima-cover-frame{background:#fff;border:1px solid #dce5ee;border-radius:28px;padding:9px;box-shadow:0 18px 45px #17324d18;overflow:hidden}
.bima-cover-image{display:block;width:100%;height:auto;border-radius:20px}
.bima-cover-actions{padding:18px 10px 0}
.bima-byline{display:block;color:#667085;font-size:11px;font-weight:800;letter-spacing:.2px;margin-bottom:10px}
.bima-start{display:inline-flex;align-items:center;justify-content:center;min-width:285px;font-size:19px;padding:16px 34px;border-radius:16px;box-shadow:0 7px 0 #064aa5,0 12px 22px #0b5ec633;letter-spacing:.2px}.bima-start:hover{transform:translateY(-1px);box-shadow:0 8px 0 #064aa5,0 14px 24px #0b5ec63d}
.bima-cover-actions p{margin:12px 0 0;color:#667085;font-size:12px;font-weight:800}
@media(max-width:650px){.bima-cover-page{padding:0}.bima-cover-frame{padding:6px;border-radius:18px}.bima-cover-image{border-radius:13px}.bima-cover-actions{padding-top:11px}.bima-byline{font-size:9px}.bima-start{width:100%;min-width:0;font-size:17px;padding:15px 20px}}
