/* 강철 진화 — 화면 스타일 (물고기 키우기·땅따먹기와 같은 틀, 국방색) */
.tk-page{margin:0;background:#141c15;color:#eef5ea;font-family:"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;line-height:1.65;overflow-x:hidden}
html.tk-lock,html.tk-lock body{overflow:hidden;overscroll-behavior:none}
html.tk-lock #funsoft-fab,html.tk-lock #inq-float,html.tk-lock #fs-a2hs{opacity:0;pointer-events:none}
.tk-wrap,.tk-wrap *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.tk-wrap{position:relative;width:100%;margin:0 auto;height:100vh;height:100svh;min-height:360px;overflow:hidden;background:#1d2a20;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.tk-wrap canvas{display:block;position:absolute;left:0;top:0;width:100%;height:100%;touch-action:none;outline:none}
.tk-wrap.tk-playing{touch-action:none}
.tk-btns{position:absolute;top:8px;left:8px;display:flex;gap:6px;z-index:3}
.tk-ib{width:38px;height:38px;border:0;border-radius:12px;background:rgba(0,0,0,.45);color:#fff;font:900 16px/1 sans-serif;cursor:pointer;box-shadow:inset 0 0 0 2px rgba(255,255,255,.22);display:inline-flex;align-items:center;justify-content:center;padding:0;touch-action:manipulation}
.tk-ib:active{transform:translateY(1px)}
.tk-ui{position:absolute;inset:0;z-index:4;display:none;align-items:flex-start;justify-content:center;padding:54px 12px 16px;background:radial-gradient(ellipse at 50% 35%,rgba(30,50,30,.5),rgba(8,14,9,.88));overflow-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.tk-ui.on{display:flex}
.tk-card{width:100%;max-width:470px;margin:auto 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;animation:tkIn .2s ease-out}
@keyframes tkIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.tk-card h2{margin:0;font-family:"Black Han Sans",sans-serif;font-weight:400;font-size:clamp(28px,8vw,40px);line-height:1.1;color:#ffe066;text-shadow:0 3px 0 rgba(0,0,0,.5)}
.tk-logo{display:flex;flex-direction:column;align-items:center;line-height:1;font-family:"Black Han Sans",sans-serif;text-shadow:0 4px 0 rgba(0,0,0,.45)}
.tk-logo span{font-size:clamp(17px,4.6vw,22px);color:#c0eb75;letter-spacing:.12em}
.tk-logo b{font-weight:400;font-size:clamp(46px,13vw,68px);background:linear-gradient(180deg,#f4fce3,#a9e34b 45%,#37b24d);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 4px 0 rgba(0,0,0,.45))}
.tk-sub{margin:0;font-size:14px;color:#e9f5e1}
.tk-tiny{margin:0;font-size:12px;color:#b5c7b0;line-height:1.6}
.tk-new{margin:0;font-weight:900;color:#69db7c}
.tk-big{font-weight:900;font-size:clamp(34px,10vw,48px);color:#fff;line-height:1.05}
.tk-big small{font-size:.42em;color:#d3e4cc;font-weight:700;margin-left:4px}
.tk-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.tk-btn{font:inherit;font-weight:900;font-size:16px;border:0;border-radius:14px;padding:11px 22px;cursor:pointer;color:#102a12;background:linear-gradient(180deg,#d8f5a2,#82c91e);box-shadow:0 4px 0 #3d7a0c;min-height:44px}
.tk-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #3d7a0c}
.tk-btn.go{font-size:20px;padding:13px 40px}
.tk-btn.g{background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.tk-btn:disabled{opacity:.6;cursor:default}
.tk-opt{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;font-size:13px}
.tk-opt>span{color:#b5c7b0}
.tk-seg{display:inline-flex;border-radius:999px;background:rgba(0,0,0,.35);padding:3px}
.tk-seg button{font:inherit;font-size:13px;font-weight:800;border:0;border-radius:999px;padding:6px 12px;cursor:pointer;background:transparent;color:#e9f5e1;min-height:32px}
.tk-seg button.on{background:#a9e34b;color:#102a12}
.tk-opt[hidden]{display:none}
.tk-modes{display:flex;width:100%;max-width:400px}
.tk-modes button{flex:1;padding:8px 6px;font-size:13px;min-height:40px;white-space:nowrap}
.tk-mdesc{max-width:400px;min-height:3.2em}
.tk-mdesc b{color:#ffe066}
.tk-mode{margin:0;font-size:13px;font-weight:800;color:#ffe066;background:rgba(0,0,0,.35);padding:3px 12px;border-radius:999px}
.tk-cardimg{display:block;width:100%;max-width:360px;height:auto;border-radius:16px;box-shadow:0 6px 24px rgba(0,0,0,.5)}
.tk-name{display:flex;gap:6px;width:100%;max-width:340px}
.tk-name input,.tk-reg input{flex:1;min-width:0;font:inherit;font-size:16px;padding:9px 12px;border-radius:12px;border:0;text-align:center}
.tk-skins{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%}
.tk-skin{font:inherit;border:0;border-radius:12px;padding:4px 2px 3px;cursor:pointer;background:rgba(255,255,255,.08);color:#fff;display:flex;flex-direction:column;align-items:center;gap:1px;min-height:44px;position:relative}
.tk-wrap .tk-skin canvas{position:static;width:100%;max-width:72px;height:auto;aspect-ratio:96/56;display:block}
.tk-skin small{font-size:10px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.tk-skin.on{box-shadow:inset 0 0 0 2px #a9e34b;background:rgba(169,227,75,.16)}
.tk-skin.lock{opacity:.55;cursor:default}
.tk-skin.lock small{color:#c0eb75}
.tk-stat{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;font-size:12px}
.tk-stat span{background:rgba(0,0,0,.35);padding:3px 10px;border-radius:999px}
.tk-stat b{color:#ffe066}
.tk-tabs{display:flex;gap:6px}
.tk-rk{width:100%;max-width:400px;font-size:13px;background:rgba(0,0,0,.3);border-radius:14px;padding:8px 10px;min-height:40px}
.tk-rk div{display:flex;justify-content:space-between;gap:8px;padding:3px 4px}
.tk-rk div:nth-child(odd){background:rgba(255,255,255,.05);border-radius:6px}
.tk-muted{justify-content:center!important;color:#b5c7b0}
.tk-reg{display:flex;gap:6px;width:100%;max-width:380px}
.tk-reg .tk-btn{font-size:15px;padding:9px 14px}
.tk-unl{background:rgba(169,227,75,.15);border-radius:14px;padding:8px 14px;font-weight:800;color:#d8f5a2;font-size:14px}
.tk-link{font:inherit;font-size:12px;border:0;background:none;color:#b5c7b0;text-decoration:underline;cursor:pointer;padding:4px}
.tk-toast{position:absolute;left:50%;top:28%;transform:translateX(-50%);z-index:5;pointer-events:none;background:rgba(0,0,0,.6);color:#fff;font-weight:900;font-size:15px;padding:8px 16px;border-radius:999px;opacity:0;transition:opacity .25s;white-space:nowrap;max-width:92%;overflow:hidden;text-overflow:ellipsis}
.tk-toast.on{opacity:1}
/* 아래 글 */
.tk-below{max-width:760px;margin:0 auto;padding:16px 16px 40px}
.tk-box{background:#1c2a1f;border:1px solid #34503a;border-radius:18px;padding:16px 18px;margin-bottom:14px}
.tk-box h1{font-size:1.25rem;margin:0 0 8px;color:#ffe066;line-height:1.4}
.tk-box h2{font-size:1.08rem;margin:0 0 8px;color:#c0eb75}
.tk-box ul{margin:0;padding-left:1.2em}
.tk-box li{margin:4px 0}
.tk-box p{margin:0}
.tk-box details{border-top:1px solid #34503a;padding:8px 0}
.tk-box details:first-of-type{border-top:0}
.tk-box summary{cursor:pointer;font-weight:800}
.tk-box details p{margin-top:6px;color:#dfeedb}
.tk-today{margin-top:10px!important;background:#24372a;border-radius:12px;padding:8px 12px}
.tk-today b{color:#ffe066}
.tk-badge{display:inline-block;font-size:.75rem;font-weight:800;background:#a9e34b;color:#102a12;border-radius:999px;padding:0 8px;margin-left:4px}
.tk-crumb{font-size:.8rem;color:#b5c7b0;margin:0 0 6px!important}
.tk-keys{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:.92rem}
.tk-keys b{color:#ffe066;white-space:nowrap}
.tk-keys span b{color:inherit;white-space:normal}
.tk-mt{width:100%;border-collapse:collapse;font-size:.92rem}
.tk-mt th{text-align:left;white-space:nowrap;padding:6px 10px 6px 0;color:#ffe066;vertical-align:top}
.tk-mt td{padding:6px 0;color:#e9f5e1}
.tk-mt tr+tr th,.tk-mt tr+tr td{border-top:1px solid #34503a}
.tk-more{font-size:.85rem;color:#b5c7b0}
.tk-page a{color:#ffe066}
.tk-logo b{background-image:linear-gradient(180deg,#fff9db,#ffe066 45%,#fab005)}
.tk-logo b,.tk-logo span{letter-spacing:.02em}
.tk-skins{grid-template-columns:repeat(4,minmax(0,1fr))}
.tk-wrap .tk-skin canvas{max-width:80px}
.tk-src{font-size:.82rem;color:#b5c7b0;margin-top:8px!important}
.tk-steps{margin:0;padding-left:1.3em}
.tk-steps li{margin:5px 0}
.tk-btn{background:linear-gradient(180deg,#fff3bf,#ffd43b);color:#3b2a00;box-shadow:0 4px 0 #b08900}
.tk-btn:active{box-shadow:0 1px 0 #b08900}
.tk-seg button.on{background:#ffe066;color:#3b2a00}
.tk-skin.on{box-shadow:inset 0 0 0 2px #ffe066;background:rgba(255,224,102,.16)}
.tk-badge{background:#ffe066;color:#3b2a00}
.tk-unl{background:rgba(255,224,102,.15);color:#fff3bf}
.tk-new{color:#ffe066}
.tk-skins{grid-template-columns:repeat(4,minmax(0,1fr))}
.tk-wrap .tk-skin canvas{border-radius:8px}
.tk-tier{width:100%;border-collapse:collapse;font-size:.9rem}
.tk-tier th,.tk-tier td{padding:6px 6px;text-align:left;border-top:1px solid #34503a;vertical-align:top}
.tk-tier thead th{border-top:0;color:#c0eb75;font-size:.82rem;white-space:nowrap}
.tk-tier tbody th{color:#ffe066;white-space:nowrap}
.tk-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.tk-logo b{background-image:linear-gradient(180deg,#f4fce3,#c0eb75 45%,#5c940d)}
.tk-logo span{color:#d8f5a2}
.tk-tier td small{display:block;font-size:.76rem;color:#b5c7b0;line-height:1.35;margin-top:2px}
.tk-tier .tk-nw{white-space:nowrap}
.tk-wrap .tk-skin canvas{aspect-ratio:80/64}
/* 자동 발사 버튼 */
#tk-auto{width:auto;padding:0 10px;font-size:13px;font-family:"Noto Sans KR",sans-serif;gap:3px}
#tk-auto.on{background:rgba(255,120,60,.75);box-shadow:inset 0 0 0 2px #ffd8a8}
/* 능력치 패널 */
.tk-st{position:absolute;left:50%;transform:translateX(-50%);bottom:90px;z-index:3;display:none;flex-direction:column;gap:3px;width:228px;padding:6px 7px 7px;background:rgba(10,16,11,.72);border-radius:14px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);touch-action:none}
.tk-st.on{display:flex}
.tk-st p{margin:0 0 2px;font-size:12px;font-weight:800;color:#e9f5e1;text-align:center}
.tk-st p b{color:#ffe066}
.tk-st p small{font-weight:400;color:#b5c7b0}
.tk-sr{display:flex;align-items:center;gap:6px;width:100%;min-height:30px;border:0;border-radius:9px;padding:2px 6px;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer;touch-action:none}
.tk-sr:not(:disabled):active{background:rgba(255,224,102,.3)}
.tk-sr:disabled{cursor:default;opacity:.8}
.tk-sr .n{width:52px;text-align:left;white-space:nowrap}
.tk-sr .n i{font-style:normal;color:#b5c7b0;margin-right:3px;font-size:10px}
.tk-sr .bar{flex:1;display:flex;gap:2px}
.tk-sr .bar u{flex:1;height:9px;border-radius:3px;background:rgba(255,255,255,.14);text-decoration:none}
.tk-sr.s0 .bar u.f{background:#ff8787}.tk-sr.s1 .bar u.f{background:#f783ac}.tk-sr.s2 .bar u.f{background:#adb5bd}.tk-sr.s3 .bar u.f{background:#74c0fc}
.tk-sr.s4 .bar u.f{background:#ffd43b}.tk-sr.s5 .bar u.f{background:#ff922b}.tk-sr.s6 .bar u.f{background:#69db7c}
.tk-sr b{width:26px;text-align:center;color:#ffe066;font-size:14px}
.tk-sr:disabled b{color:#b5c7b0;font-size:10px}
.tk-stb{position:absolute;left:50%;transform:translateX(-50%);bottom:50px;z-index:3;display:none;border:0;border-radius:999px;padding:5px 14px;min-height:34px;font:inherit;font-size:13px;font-weight:900;color:#3b2a00;background:linear-gradient(180deg,#fff3bf,#ffd43b);box-shadow:0 3px 0 #b08900;cursor:pointer;touch-action:none;white-space:nowrap}
.tk-stb.on{display:block}
.tk-stb b{color:#c92a2a}
/* 진화 고르기 */
.tk-evo{position:absolute;left:8px;top:104px;z-index:3;display:none;flex-direction:column;align-items:stretch;gap:5px;width:min(420px,calc(100% - 140px));padding:7px;background:rgba(10,16,11,.78);border-radius:14px;box-shadow:inset 0 0 0 2px rgba(255,224,102,.55);touch-action:none}
.tk-evo.on{display:flex}
.tk-evo.min{padding:0;background:none;box-shadow:none;width:auto}
.tk-evo p{margin:0;font-size:13px;font-weight:900;color:#ffe066;text-align:center}
.tk-evo p small{color:#d8f5a2;font-weight:700}
.tk-evos{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:5px}
.tk-evc{border:0;border-radius:10px;padding:3px 2px 4px;background:rgba(255,255,255,.1);color:#fff;font:inherit;font-size:12px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:1px;touch-action:none}
.tk-evc:active{background:rgba(255,224,102,.3)}
.tk-wrap .tk-evc canvas{position:static;width:72px;height:54px;display:block}
.tk-evc b{font-weight:900}
.tk-later,.tk-evomin{border:0;border-radius:999px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;touch-action:none}
.tk-later{background:none;color:#b5c7b0;text-decoration:underline;padding:2px}
.tk-evomin{padding:6px 12px;min-height:34px;color:#3b2a00;background:linear-gradient(180deg,#fff3bf,#ffd43b);box-shadow:0 3px 0 #b08900}
/* 아래 글 표 */
.tk-class td small{display:block;color:#b5c7b0;font-size:.78rem}
.tk-tree{display:flex;flex-direction:column;gap:6px;font-size:.9rem}
.tk-tree div{background:#24372a;border-radius:10px;padding:6px 10px}
.tk-tree b{color:#ffe066}
@media (min-width:700px){.tk-st{left:12px;transform:none;bottom:44px}}
.tk-toast{top:40%}
