/* 알까기 — 화면 스타일 */
.ak-page{margin:0;background:#1c120a;color:#f6ead6;font-family:"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;line-height:1.65;overflow-x:hidden}
html.ak-lock,html.ak-lock body{overflow:hidden;overscroll-behavior:none}
html.ak-lock #funsoft-fab,html.ak-lock #inq-float,html.ak-lock #fs-a2hs{opacity:0;pointer-events:none}
.ak-wrap,.ak-wrap *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.ak-wrap{position:relative;width:100%;margin:0 auto;height:100vh;height:100svh;min-height:420px;overflow:hidden;background:#1c120a;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.ak-wrap>canvas{display:block;position:absolute;left:0;top:0;width:100%;height:100%;touch-action:none;outline:none}
html.ak-lock .ak-wrap{touch-action:none}
.ak-top{position:absolute;top:6px;left:8px;right:8px;height:40px;display:flex;align-items:center;justify-content:space-between;gap:6px;z-index:6;pointer-events:none}
.ak-ib{pointer-events:auto;flex:none;width:38px;height:38px;border:0;border-radius:12px;background:rgba(255,236,200,.1);color:#fff;font:900 18px/1 sans-serif;cursor:pointer;box-shadow:inset 0 0 0 1.5px rgba(255,214,140,.3);display:inline-flex;align-items:center;justify-content:center;padding:0;touch-action:manipulation}
.ak-ib:active{transform:translateY(1px)}
.ak-hud{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:8px;visibility:hidden}
.ak-sc{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:rgba(0,0,0,.35);font-size:13px;font-weight:800;color:#e9dcc4;transition:box-shadow .2s,background .2s;white-space:nowrap}
.ak-sc b{font-size:19px;font-weight:900;color:#fff;min-width:1ch;text-align:center}
.ak-sc.on{background:rgba(255,200,90,.22);box-shadow:inset 0 0 0 2px #ffcf66,0 0 14px rgba(255,200,90,.35);color:#fff}
.ak-st{display:inline-block;width:16px;height:16px;border-radius:50%;flex:none;vertical-align:-3px}
.ak-st.b{background:radial-gradient(circle at 35% 30%,#6a6e76,#1e2024 45%,#050506)}
.ak-st.w{background:radial-gradient(circle at 35% 30%,#fff,#efe9dc 55%,#c4baa5)}
.ak-pips{font-size:12px;font-weight:900;color:#ffcf66;background:rgba(0,0,0,.35);border-radius:999px;padding:3px 8px}
/* 힘 막대 · 안내 */
.ak-bar{position:absolute;left:50%;transform:translateX(-50%);z-index:3;display:flex;flex-direction:column;align-items:center;gap:4px;pointer-events:none;visibility:hidden;transition:opacity .2s}
.ak-bar.dim .ak-gauge{opacity:.45}
.ak-gauge{position:relative;width:100%;max-width:300px;height:18px;border-radius:999px;background:rgba(0,0,0,.45);box-shadow:inset 0 0 0 1.5px rgba(255,214,140,.28);overflow:hidden}
.ak-fill{position:absolute;left:0;top:0;bottom:0;width:0;background:#79e07a;border-radius:999px;transition:background .15s}
.ak-gauge span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:11.5px;font-weight:900;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.8)}
.ak-msg{margin:0;font-size:13px;font-weight:700;color:#e9dcc4;text-align:center;min-height:1.4em;line-height:1.4;text-shadow:0 1px 2px rgba(0,0,0,.6);word-break:keep-all}
.ak-msg.warn{color:#ffcf66}
/* 겹쳐 뜨는 화면 */
.ak-ui{position:absolute;inset:0;z-index:4;display:none;align-items:flex-start;justify-content:center;padding:50px 12px 16px;background:radial-gradient(ellipse at 50% 35%,rgba(60,36,14,.78),rgba(18,10,4,.92));overflow-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.ak-ui.title{background:radial-gradient(ellipse at 50% 35%,rgba(50,30,10,.55),rgba(18,10,4,.82))}
.ak-ui.on{display:flex}
.ak-card{width:100%;max-width:440px;margin:auto 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;animation:akIn .18s ease-out}
@keyframes akIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.ak-card h2{margin:0;font-size:clamp(28px,8vw,38px);font-weight:900;line-height:1.15;color:#ffcf66;text-shadow:0 3px 0 rgba(0,0,0,.45)}
.ak-logo{display:flex;flex-direction:column;align-items:center;line-height:1}
.ak-logo span{font-size:clamp(12px,3.5vw,15px);font-weight:800;color:#f2d9a8;letter-spacing:.03em}
.ak-logo b{font-weight:900;font-size:clamp(52px,15vw,74px);margin-top:6px;letter-spacing:-.02em;background:linear-gradient(180deg,#fff7e6 0%,#ffd98a 45%,#d9963a 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 4px 0 rgba(40,20,4,.7))}
.ak-seg{display:inline-flex;border-radius:999px;background:rgba(0,0,0,.4);padding:3px;box-shadow:inset 0 0 0 1px rgba(255,214,140,.2);max-width:100%}
.ak-seg button{font:inherit;font-size:14px;font-weight:800;border:0;border-radius:999px;padding:7px 14px;cursor:pointer;background:transparent;color:#efe2c8;min-height:38px;white-space:nowrap}
.ak-seg button.on{background:linear-gradient(180deg,#ffe29a,#f0b545);color:#2a1600;box-shadow:0 2px 8px rgba(240,181,69,.4)}
.ak-seg[data-k="diff"] button.on{background:linear-gradient(180deg,#5a5e66,#17181b);color:#fff;box-shadow:inset 0 0 0 1.5px #ffcf66}
.ak-row2{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 6px}
.ak-row2 label{font-size:12px;font-weight:800;color:#d9c39b;margin-left:4px}
.ak-row2 .ak-seg button{font-size:13px;padding:6px 10px;min-height:34px}
.ak-tg{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.ak-tg button{font:inherit;font-size:12px;font-weight:800;border:0;border-radius:999px;padding:5px 12px;cursor:pointer;background:rgba(255,255,255,.07);color:#bfae90;min-height:32px;box-shadow:inset 0 0 0 1px rgba(255,214,140,.2)}
.ak-tg button::before{content:"○ "}
.ak-tg button.on{color:#fff6e4;box-shadow:inset 0 0 0 1.5px rgba(255,207,102,.6)}
.ak-tg button.on::before{content:"● ";color:#ffcf66}
.ak-sub{margin:0;font-size:13.5px;color:#eadcc2;line-height:1.6}
.ak-sub b{color:#ffcf66}
.ak-tiny{margin:0;font-size:12px;color:#d2bf9c;line-height:1.6;word-break:keep-all}
.ak-new{margin:0;font-weight:900;color:#ffb36b}
.ak-big{display:flex;align-items:center;gap:14px;font-weight:900;font-size:clamp(40px,12vw,56px);color:#fff;line-height:1.05}
.ak-big span{display:inline-flex;align-items:center;gap:10px}
.ak-big .ak-st{width:.62em;height:.62em}
.ak-big small{font-size:12px;font-weight:800;color:#d2bf9c}
.ak-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ak-btn{font:inherit;font-weight:900;font-size:16px;border:0;border-radius:14px;padding:10px 20px;cursor:pointer;color:#2a1600;background:linear-gradient(180deg,#ffe8a8,#f0b545);box-shadow:0 4px 0 #a8701c,0 0 18px rgba(240,181,69,.2);min-height:44px}
.ak-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #a8701c}
.ak-btn.go{font-size:19px;padding:12px 40px}
.ak-btn.g{background:rgba(255,255,255,.1);color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,214,140,.38);font-size:14px}
.ak-btn:disabled{opacity:.65;cursor:default}
.ak-stat{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;font-size:12px}
.ak-stat span{background:rgba(0,0,0,.35);padding:3px 10px;border-radius:999px}
.ak-stat b{color:#ffcf66}
.ak-reg{display:flex;gap:6px;width:100%;max-width:340px}
.ak-reg input{flex:1;min-width:0;font:inherit;font-size:16px;padding:9px 12px;border-radius:12px;border:0;text-align:center}
.ak-reg .ak-btn{font-size:15px;padding:9px 14px}
.ak-rkw{width:100%;max-width:400px;display:flex;flex-direction:column;align-items:center;gap:6px}
.ak-rkh{margin:4px 0 0;font-size:13px;font-weight:900;color:#ffcf66}
.ak-rk{width:100%;font-size:13px;background:rgba(0,0,0,.35);border-radius:14px;padding:8px 10px;min-height:40px}
.ak-rk div{display:flex;justify-content:space-between;gap:8px;padding:3px 4px;text-align:left}
.ak-rk div:nth-child(odd){background:rgba(255,255,255,.05);border-radius:6px}
.ak-rk small{color:#d2bf9c;font-size:11px}
.ak-muted{justify-content:center!important;color:#d2bf9c}
.ak-toast{position:absolute;left:50%;top:60px;transform:translateX(-50%);z-index:5;pointer-events:none;background:rgba(0,0,0,.7);color:#fff;font-weight:900;font-size:14px;padding:8px 16px;border-radius:999px;opacity:0;transition:opacity .25s;white-space:nowrap;max-width:94%;overflow:hidden;text-overflow:ellipsis}
.ak-toast.on{opacity:1}
/* 아래 글 */
.ak-below{max-width:760px;margin:0 auto;padding:16px 16px 40px}
.ak-box{background:#2a1b0f;border:1px solid #4a3220;border-radius:18px;padding:16px 18px;margin-bottom:14px}
.ak-box h1{font-size:1.25rem;margin:0 0 8px;color:#ffcf66;line-height:1.4}
.ak-box h2{font-size:1.08rem;margin:0 0 8px;color:#f2d9a8}
.ak-box ul{margin:8px 0 0;padding-left:1.2em}
.ak-box li{margin:5px 0}
.ak-box p{margin:0}
.ak-box details{border-top:1px solid #4a3220;padding:8px 0}
.ak-box details:first-of-type{border-top:0}
.ak-box summary{cursor:pointer;font-weight:800}
.ak-box details p{margin-top:6px;color:#e6d6ba}
.ak-crumb{font-size:.8rem;color:#d2bf9c;margin:0 0 6px!important}
.ak-mt{width:100%;border-collapse:collapse;font-size:.92rem}
.ak-mt th{text-align:left;padding:7px 10px 7px 0;color:#ffcf66;vertical-align:top;white-space:nowrap}
.ak-mt td{padding:7px 0;color:#f0e4cf}
.ak-mt tr+tr th,.ak-mt tr+tr td{border-top:1px solid #4a3220}
.ak-dt th{white-space:normal;width:22%}
@media (max-width:420px){.ak-mt th{white-space:normal;min-width:4.5em}.ak-sc{padding:4px 8px;gap:4px;font-size:12px}}
kbd{display:inline-block;min-width:1.6em;padding:0 .4em;border-radius:6px;background:#4a3220;border:1px solid #6b4a2e;border-bottom-width:2px;font:700 .82em/1.6 "Noto Sans KR",sans-serif;text-align:center;color:#fff}
.ak-more{font-size:.85rem;color:#d2bf9c}
.ak-page a{color:#ffcf66}
