/* Suken Coaching Community: one bold title, the Word Problem Lab and the simulations. Loaded after hub.css. */

/* one bold, strong title */
.top .brand { display: flex; align-items: center; }
.top .brand .title1 { font: 800 clamp(14px, 4.35vw, 19px)/1.15 var(--num); letter-spacing: -.2px; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.signin h1.title1 { font: 800 28px/1.15 var(--num); letter-spacing: -.3px; }
.boot .title1 { font: 800 20px var(--num); color: var(--ink); }

/* the three parts of Practice */
.ptabs button { font-size: 13.5px; }

/* Word Problem Lab */
.labhero { background: linear-gradient(135deg, #f1f8f3, #fff); border: 1.5px solid #b9dcc8; }
.method { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.method div { background: #fff; border-radius: 12px; padding: 8px 10px; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; box-shadow: var(--shadow); }
.method b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font: 800 13px var(--num); }
.bigico { font-size: 34px; width: 52px; text-align: center; flex: none; }
.skills { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; }
@media (min-width: 560px) { .skills { grid-template-columns: 1fr 1fr; } .method { grid-template-columns: repeat(4, 1fr); } }
.skillc { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow); }
.sico { font-size: 28px; width: 44px; height: 44px; border-radius: 14px; background: var(--gold-soft); display: grid; place-items: center; flex: none; }
.gl { color: var(--blue); border-bottom: 2px dotted #93b4f5; cursor: pointer; font-weight: 600; }
.gl:active { background: #e7edfd; }
.labbar { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; flex-wrap: wrap; }
.ttsb { border: 1px solid #c7d6fb; background: #eef3fd; color: var(--blue); border-radius: 99px; padding: 4px 12px; font: 700 13px var(--sans); }
.ttsb.sm { padding: 2px 8px; }
.plan { background: #fffaf0; border: 1px solid #f0d58a; border-radius: 12px; padding: 8px 12px; margin: 0 0 10px; font-size: 14px; }
.plan summary { font-weight: 700; cursor: pointer; }
.plan ol { margin: 6px 0 2px; padding-left: 20px; } .plan li { margin: 3px 0; }
.wsh { text-align: center; padding: 6px 0 14px; }
.wen { font: 800 26px var(--num); margin: 4px 0; } .wkm { font: 700 24px "Kantumruy Pro"; color: var(--green); }
.wcat { margin: 14px 0 4px; color: var(--green); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.wrow { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.wrow b { min-width: 40%; } .wrow .km { color: var(--muted); }
.game .bigword { font: 800 30px/1.25 var(--num); text-align: center; margin: 18px 0 20px; }
.game .bigword.km { font: 700 28px "Kantumruy Pro"; color: var(--green); }
.ctxs { background: #f7f8f7; border-radius: 12px; padding: 12px; margin: 10px 0 14px; }
.ctxs mark { background: #fde68a; padding: 0 3px; border-radius: 4px; font-weight: 700; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 8px; font: 700 15px var(--sans); min-height: 58px; color: var(--ink); }
.opt.km { font-family: "Kantumruy Pro", var(--sans); font-weight: 600; }
.opt.ok { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.opt.no { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.opt.dim { opacity: .45; }
.opt:not(:disabled):active { transform: scale(.97); }

/* simulations */
.simsvg { width: 100%; height: auto; display: block; background: #fcfdfc; border: 1px solid var(--line); border-radius: 12px; margin: 8px 0; touch-action: none; user-select: none; }
.sl { display: grid; gap: 2px; margin: 4px 0; font-size: 14px; }
.sl input { width: 100%; accent-color: var(--green); height: 28px; }
.readout { background: var(--green-soft); border-radius: 10px; padding: 8px 10px; font-size: 14.5px; line-height: 1.6; }
.stab { width: 100%; border-collapse: collapse; margin-top: 8px; font: 600 14px var(--num); text-align: center; }
.stab td, .stab th { border: 1px solid var(--line); padding: 4px; } .stab th { background: #f2f4f2; }
.dice { display: flex; justify-content: center; gap: 14px; font-size: 56px; line-height: 1; color: var(--green); }
.dice .roll { animation: roll .45s; }
@keyframes roll { 0% { transform: rotate(0) scale(.7); } 60% { transform: rotate(300deg) scale(1.15); } 100% { transform: rotate(360deg) scale(1); } }
.dgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-top: 8px; font: 600 13px var(--num); text-align: center; }
.dgrid div { background: #f4f6f4; border-radius: 6px; padding: 4px 0; }
.dgrid .dh { background: none; font-size: 18px; color: var(--green); }
.dgrid .hit { background: #fde68a; font-weight: 800; }
.chq { border-top: 1px solid var(--line); padding: 10px 0; } .chq:first-of-type { border-top: 0; }
.chq.ok .q { color: var(--muted); }
.sim .sico { background: #e7edfd; }

/* the Feynman Way (Engage · Analyse · Explain) and Chor5 (ចូល ចង ចាំ ចេញ ចេះ) */
.way { background: var(--green); color: #fff; border-radius: 14px; padding: 10px 14px; font: 700 16px var(--num); letter-spacing: .2px; }
.way b { color: #fde68a; font-weight: 900; }
.way small { display: block; font: 700 11px var(--sans); text-transform: uppercase; letter-spacing: .8px; opacity: .8; margin-bottom: 2px; }
.way span { display: block; font: 600 13px "Kantumruy Pro", var(--sans); opacity: .9; margin-top: 2px; }
.chor { display: grid; gap: 6px; }
.chor div { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 12px; padding: 7px 10px; box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.35; }
.chor b { flex: none; min-width: 44px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 700 15px "Kantumruy Pro", var(--sans); padding: 0 6px; }
.chor .c0 b { background: #2563eb; } .chor .c1 b { background: #7c3aed; } .chor .c2 b { background: #0b5d3b; } .chor .c3 b { background: #c2410c; } .chor .c4 b { background: #b8860b; }
.stage { display: inline-block; font: 800 10.5px var(--sans); text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }
.stage.e { background: #e7edfd; color: #2563eb; } .stage.a { background: #f1e9fe; color: #7c3aed; } .stage.p { background: #e3f3ea; color: #0b5d3b; }
.stage.r { background: #fdeee4; color: #c2410c; } .stage.x { background: #fdf3d7; color: #8a6508; }
h2.sec .stage { font-size: 10px; }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.letters span { background: #fdeee4; border-radius: 8px; padding: 2px 8px; font-size: 12.5px; color: #7a3410; }
.letters b { color: #c2410c; font-family: var(--num); }
.explain { background: linear-gradient(135deg, #fffaf0, #fff); border: 1.5px solid #f0d58a; }

/* inviting coaches */
.mentor { border: 1.5px solid #f0d58a; background: linear-gradient(135deg, #fffaf0, #fff); }
.perks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.perks b { flex: none; width: 26px; text-align: center; font-size: 17px; }
.mentor .stu .pill { margin-left: 4px; }
.topinv .lb { padding: 6px 0; }

/* community forum */
.tabs button { position: relative; }
.tabs .dot { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #dc2626; color: #fff; font: 700 11px/18px var(--num); text-align: center; }
.bellb { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font: 600 13.5px var(--sans); color: var(--ink); }
.bellb i { font-style: normal; background: #dc2626; color: #fff; border-radius: 9px; padding: 0 6px; margin-left: 4px; font: 700 12px/18px var(--num); display: inline-block; }
.fcompose .fopen { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid var(--line); background: #f7f8f6; border-radius: 99px; padding: 6px 12px 6px 6px; color: var(--muted); font: 15px var(--sans); text-align: left; }
.ftype { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 10px; font: 600 13px var(--sans); color: var(--ink); }
.ftype.sm { padding: 4px 9px; font-size: 12.5px; }
.ftype.on { background: var(--green); color: #fff; border-color: var(--green); }
.fcompose textarea, .cbox textarea { width: 100%; font: 15px/1.5 var(--sans); border: 1px solid #cbd4ce; border-radius: 12px; padding: 10px; min-height: 90px; resize: vertical; }
.cbox textarea { min-height: 40px; flex: 1; }
.quick { display: flex; gap: 2px; overflow-x: auto; margin: 6px 0 0; scrollbar-width: none; }
.quick button { border: 0; background: none; font-size: 22px; padding: 2px 5px; border-radius: 8px; }
.quick button:active { background: #eef1ee; }
.fimgp { position: relative; margin-top: 8px; } .fimgp img { max-width: 100%; max-height: 220px; border-radius: 12px; display: block; }
.fimgp button { position: absolute; top: 6px; left: 6px; border: 0; background: rgba(0,0,0,.6); color: #fff; border-radius: 50%; width: 28px; height: 28px; }
.fchips { display: flex; gap: 6px; overflow-x: auto; margin: 4px 0 12px; padding-bottom: 2px; scrollbar-width: none; }
.fchips button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font: 600 13px var(--sans); color: var(--ink); }
.fchips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fpost { padding: 12px 14px 6px; }
.fpost.pinned { border: 1.5px solid #f0d58a; }
.fpost.t-challenge { background: linear-gradient(135deg, #f3f0ff, #fff); border: 1.5px solid #c4b5fd; }
.fpost.t-prize, .fpost.t-news { background: linear-gradient(135deg, #fffaf0, #fff); }
.fhead { display: flex; gap: 10px; align-items: flex-start; }
.fhead .line { font-weight: 400; }
.sysic { background: var(--gold-soft); font-size: 18px; }
.tpill { font-weight: 600; color: var(--green); }
.fmenu { border: 0; background: none; font-size: 20px; color: var(--muted); padding: 0 4px; line-height: 1; }
.ftitle { margin: 10px 0 2px; font: 700 17px var(--serif); }
.fbody { margin: 8px 0 4px; font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.mention { color: var(--blue); font-weight: 700; }
.fimg { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin: 6px 0; display: block; }
.fsum { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 6px 0 4px; }
.rsum { font-size: 13px; color: var(--muted); white-space: nowrap; }
.csum { cursor: pointer; }
.fbar { display: flex; border-top: 1px solid var(--line); margin-top: 2px; }
.fbar button { flex: 1; border: 0; background: none; padding: 9px 4px; font: 600 13.5px var(--sans); color: var(--muted); border-radius: 8px; }
.fbar button.on { color: var(--green); }
.fbar button:active { background: #f1f3f1; }
.picker { display: flex; justify-content: space-around; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px 6px; margin: 4px 0 8px; box-shadow: var(--shadow); animation: up .15s ease-out; }
.picker[hidden] { display: none; }
.picker button { border: 0; background: none; font-size: 26px; padding: 2px 4px; display: flex; flex-direction: column; align-items: center; line-height: 1.1; border-radius: 12px; }
.picker button small { font: 600 9.5px var(--sans); color: var(--muted); }
.picker button:active { transform: scale(1.25); }
.chal { background: #fff; border: 1px solid #ddd6fe; border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
.chal input { border: 1px solid #cbd4ce; border-radius: 10px; padding: 8px 10px; font: 16px var(--num); min-width: 0; }
.chal .ok { color: var(--green); font-weight: 700; margin-top: 6px; } .chal .no { color: var(--red); font-weight: 700; margin-top: 6px; }
.ckey { font: 700 16px var(--num); color: #5b21b6; }
.prizes { border: 1.5px solid #f0d58a; background: linear-gradient(135deg, #fffaf0, #fff); }
.prow { border-top: 1px solid var(--line); padding: 6px 0 2px; } .prow:first-of-type { border-top: 0; }
.ph { font: 700 13.5px var(--sans); margin-bottom: 2px; }
.prow .lb { padding: 3px 0; }
.howxp summary { cursor: pointer; font: 600 13px var(--sans); color: var(--green); margin-top: 6px; }
.fpost.insheet { padding: 0 0 6px; box-shadow: none; background: none; border: 0; }
.cms { border-top: 1px solid var(--line); padding-top: 8px; }
.cm { display: flex; gap: 8px; margin: 8px 0; } .cm.child { margin-left: 40px; }
.cm .bub { background: #eef1ee; border-radius: 14px; padding: 7px 11px; font-size: 14.5px; line-height: 1.45; display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.cm.best .bub { background: var(--green-soft); border: 1px solid #9fd3b5; }
.cact { display: flex; gap: 10px; align-items: center; padding: 3px 4px 0; flex-wrap: wrap; }
.cact button { border: 0; background: none; font: 700 12.5px var(--sans); color: var(--muted); padding: 2px 0; }
.cact button.on { color: var(--green); }
.cbox { position: sticky; bottom: calc(-20px - env(safe-area-inset-bottom)); background: var(--bg); padding: 8px 0 4px; border-top: 1px solid var(--line); margin-top: 8px; }
.replying { margin-bottom: 4px; } .replying button { border: 0; background: none; color: var(--muted); }
.note { display: flex; gap: 10px; align-items: flex-start; width: 100%; border: 0; background: none; text-align: left; padding: 10px 6px; border-radius: 12px; font: 14.5px/1.4 var(--sans); color: var(--ink); }
.note.new { background: #eef6f1; }
.menu .btn { margin-bottom: 8px; }

.ftypes { display: flex; gap: 6px; overflow-x: auto; margin-top: 8px; scrollbar-width: none; }
.ftypes .ftype { flex: none; white-space: nowrap; }

/* leaderboards */
.boards { border: 1.5px solid #c7d6fb; background: linear-gradient(135deg, #f3f6ff, #fff); }
.boards h3 { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.boards .lb { padding: 6px 0; }
.boards .lb.me { background: #eef6f1; border-radius: 10px; }
.bscore { text-align: right; display: grid; line-height: 1.15; } .bscore b { font: 800 17px var(--num); } .bscore small { font: 600 11.5px var(--num); color: var(--muted); }
.bnote { margin: 12px 0 4px; padding: 10px 12px; border-radius: 12px; background: #eef3fd; color: #1e3a8a; font-weight: 700; }
.bnote.win { background: linear-gradient(135deg, #fde68a, #fbbf24); color: #422006; }
.bnote.miss { background: #f4f6f4; color: var(--muted); font-weight: 600; }
