@font-face { font-family: "LINE Seed Sans TH"; src: url(assets/fonts/LINESeedSansTH_Rg.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "LINE Seed Sans TH"; src: url(assets/fonts/LINESeedSansTH_Bd.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: "LINE Seed Sans TH"; src: url(assets/fonts/LINESeedSansTH_He.ttf); font-weight: 800; font-display: swap; }
:root { --ink: #10303a; --ink2: #1b4653; --paper: #f3e4bf; --paper2: #e6d19c; --wood: #6b4a1f; --white: #fffdf6; --mute: #b9d3da; --good: #63e07a; --bad: #ff5a4a; --sun: #ffc83d; --pink: #f7b9c6; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #1f86a3; font-family: "LINE Seed Sans TH", "Leelawadee UI", Tahoma, sans-serif; color: var(--white); user-select: none; -webkit-user-select: none; }
#app { position: fixed; inset: 0; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: default; }
.hide { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
.panel { background: rgba(16, 48, 58, .88); border-radius: 14px; box-shadow: 0 4px 0 rgba(8, 28, 35, .35); }
#hud { position: absolute; inset: 0; pointer-events: none; }
#hud .panel, #hud button, #mini, #queue { pointer-events: auto; }

#res { position: absolute; left: 18px; top: 16px; padding: 10px 18px 10px 12px; display: flex; align-items: center; gap: 10px; }
#res .shell { width: 34px; height: 34px; background: var(--pink); border: 3px solid #b9596f; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; }
#res b { font-size: 30px; font-weight: 800; min-width: 62px; display: inline-block; }
#res small { font-size: 14px; color: var(--mute); }

#clock { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); padding: 9px 22px; display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
#clock b { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
#clock span { font-size: 18px; color: var(--mute); display: inline-flex; align-items: center; gap: 7px; }
body.art #clock span::before { content: ""; width: 26px; height: 26px; background: var(--wave) center / contain no-repeat; }
.logo { float: left; width: 92px; height: 92px; object-fit: contain; margin: -6px 14px 0 -6px; }
#clock.warn span { color: var(--sun); font-weight: 700; }
#clock.tide { background: rgba(170, 48, 40, .92); }
#clock.tide span { color: #fff; font-weight: 700; }
#alert { position: absolute; left: 50%; top: 76px; transform: translateX(-50%); font-size: 20px; font-weight: 700; padding: 7px 18px; border-radius: 12px; background: rgba(255, 90, 74, .94); visibility: hidden; white-space: nowrap; }
#alert.on { visibility: visible; }
#alert.good { background: rgba(40, 140, 90, .94); }

#top-right { position: absolute; right: 18px; top: 16px; display: flex; gap: 8px; }
.mini { height: 40px; min-width: 40px; padding: 0 12px; border-radius: 10px; background: rgba(16, 48, 58, .88); font-weight: 700; font-size: 16px; }
.mini:hover { background: var(--ink2); }
#roster { position: absolute; right: 18px; top: 68px; padding: 10px 12px; min-width: 250px; }
#roster .row { display: flex; align-items: center; gap: 8px; font-size: 15px; padding: 3px 0; }
#roster .row i { width: 13px; height: 13px; border-radius: 4px; flex: none; border: 1.5px solid rgba(255, 255, 255, .7); }
#roster .row span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#roster .row.out { color: rgba(255, 253, 246, .42); text-decoration: line-through; }
#roster .row.me span { font-weight: 800; }
.pips { display: inline-flex; gap: 2px; }
.pips u { width: 9px; height: 13px; border-radius: 2px; background: rgba(255, 255, 255, .18); text-decoration: none; }
.pips u.on { background: var(--paper); }
.pips u.x { display: none; }
.pips u.x.on { display: block; background: var(--sun); }

#dock { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
#bar { display: flex; gap: 8px; padding: 10px; align-items: stretch; }
#bar .sep { width: 3px; background: rgba(243, 228, 191, .35); border-radius: 2px; margin: 4px 2px; }
.buy { position: relative; width: 146px; height: 82px; border-radius: 12px; background: var(--paper); color: #2b2114; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 4px; padding: 6px 8px 6px 6px; text-align: left; box-shadow: 0 4px 0 var(--wood); }
.buy svg { grid-row: 1 / 3; width: 46px; height: 46px; }
.buy img { grid-row: 1 / 3; width: 56px; height: 56px; object-fit: contain; margin-left: -4px; pointer-events: none; }
body.art #res .shell { background: var(--shell) center / contain no-repeat; border: 0; border-radius: 0; width: 40px; height: 40px; }
body.art .buy small::before { background: var(--shell) center / contain no-repeat; border: 0; border-radius: 0; width: 15px; height: 15px; }
.buy b { font-size: 14.5px; font-weight: 800; line-height: 1.1; align-self: end; }
.buy small { font-size: 14px; font-weight: 700; color: var(--wood); align-self: start; display: flex; align-items: center; gap: 4px; }
.buy small::before { content: ""; width: 11px; height: 11px; background: #f39aae; border: 1.5px solid #b9596f; border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; }
.buy kbd { position: absolute; right: 6px; top: 5px; font: inherit; font-size: 12px; font-weight: 800; background: rgba(43, 33, 20, .14); border-radius: 5px; padding: 0 5px; }
.buy:hover { background: #fbf0d2; }
.buy:active, .buy.hit { top: 3px; box-shadow: 0 1px 0 var(--wood); }
.buy.no { background: #a39d8d; box-shadow: 0 4px 0 #5d5644; }
.buy.no::after { content: ""; position: absolute; inset: 0; border-radius: 12px; background: rgba(52, 50, 44, .46); }
.buy.on { outline: 4px solid #fff; }
#queue { display: flex; gap: 8px; min-height: 56px; align-items: center; }
#queue .q { position: relative; width: 54px; height: 54px; border-radius: 50%; background: var(--paper); box-shadow: 0 3px 0 var(--wood); cursor: pointer; flex: none; }
#queue .q > img, #queue .q > svg:first-child { position: absolute; left: 6px; top: 5px; width: 42px; height: 42px; object-fit: contain; pointer-events: none; }
#queue .q .sw { position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%; background: rgba(8, 28, 35, .5); }
#queue .q .sec { position: absolute; left: 0; top: 0; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; color: #fff; text-shadow: 0 2px 0 #0b2028, 0 -1px 0 #0b2028, 1px 0 0 #0b2028, -1px 0 0 #0b2028; font-variant-numeric: tabular-nums; }
#queue .q .x { position: absolute; left: 0; top: 0; width: 54px; height: 54px; visibility: hidden; }
#queue .q:hover .x, #queue .q.hov .x { visibility: visible; }
#queue .q:hover .sec, #queue .q.hov .sec { visibility: hidden; }
#queue .q:hover .sw, #queue .q.hov .sw { background: rgba(8, 28, 35, .28) !important; }
#tip { min-height: 24px; font-size: 16px; font-weight: 700; text-shadow: 0 2px 0 rgba(8, 28, 35, .6); text-align: center; }

#sel { position: absolute; left: 18px; bottom: 14px; padding: 12px 14px; min-width: 220px; max-width: 300px; }
#selT { font-size: 16px; font-weight: 700; line-height: 1.5; }
#selB { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.cmd { height: 38px; padding: 0 12px; border-radius: 9px; background: var(--paper); color: #2b2114; font-weight: 800; font-size: 14px; box-shadow: 0 3px 0 var(--wood); }
.cmd:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--wood); }
.cmd kbd { font: inherit; font-size: 12px; background: rgba(43, 33, 20, .14); border-radius: 5px; padding: 0 5px; margin-left: 6px; }
#keys { position: absolute; left: 18px; top: 76px; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; max-width: 320px; }
#keys b { display: block; font-size: 15px; color: var(--sun); margin-top: 4px; }
#keys b:first-child { margin-top: 0; }
#mini { position: absolute; right: 18px; bottom: 14px; border-radius: 12px; border: 3px solid rgba(16, 48, 58, .9); background: #1f86a3; cursor: pointer; }
#chooser { position: absolute; padding: 8px; display: flex; gap: 8px; }

#labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.plate { position: absolute; transform: translate(-50%, -100%); padding: 3px 9px 4px; border-radius: 9px; background: rgba(16, 48, 58, .82); font-size: 14px; font-weight: 800; white-space: nowrap; display: flex; align-items: center; gap: 7px; border-bottom: 4px solid #fff; }
.plate.out { background: rgba(16, 48, 58, .4); color: rgba(255, 253, 246, .5); }
#box { position: absolute; border: 2px dashed var(--good); background: rgba(99, 224, 122, .12); display: none; pointer-events: none; }

#end { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8, 28, 35, .45); }
#menu { position: absolute; inset: 0; }
.card { background: rgba(16, 48, 58, .96); border-radius: 22px; padding: 30px 34px; width: min(880px, 94vw); max-height: 94vh; overflow: auto; box-shadow: 0 8px 0 rgba(8, 28, 35, .5); }
.card h1 { margin: 0; font-size: 44px; font-weight: 800; letter-spacing: .5px; }
.card h2 { margin: 2px 0 18px; font-size: 19px; font-weight: 400; color: var(--mute); }
.card h3 { margin: 18px 0 8px; font-size: 17px; color: var(--sun); }
.card p, .card li { font-size: 16px; line-height: 1.6; margin: 0; }
.card ul { margin: 0; padding-left: 20px; }
.lang { position: absolute; right: 0; top: 0; display: flex; gap: 6px; }
.lang button { height: 36px; padding: 0 14px; border-radius: 9px; background: var(--ink2); font-weight: 700; }
.lang button.on { background: var(--paper); color: #2b2114; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mode { border-radius: 14px; background: var(--paper); color: #2b2114; padding: 14px 14px 16px; text-align: left; box-shadow: 0 5px 0 var(--wood); }
.mode:hover { background: #fbf0d2; }
.mode:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--wood); }
.mode b { display: block; font-size: 20px; font-weight: 800; }
.mode span { display: block; font-size: 14.5px; line-height: 1.45; margin-top: 4px; color: #4a3a22; }
.head { position: relative; }
.note { margin-top: 16px; font-size: 14px; color: var(--mute); }
.stats { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 16px; }
.stats th, .stats td { padding: 7px 10px; text-align: right; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.stats th:first-child, .stats td:first-child { text-align: left; }
.stats td i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; }
.row2 { display: flex; gap: 12px; }
.big { height: 54px; padding: 0 26px; border-radius: 13px; background: var(--paper); color: #2b2114; font-size: 19px; font-weight: 800; box-shadow: 0 5px 0 var(--wood); }
.big.alt { background: var(--ink2); color: #fff; box-shadow: 0 5px 0 #0b2028; }
#loading { position: absolute; inset: 0; background: #1f86a3; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; }
/* --- round 2: help panel below the shell counter, mouse lock, end screen --- */
#keys { top: 96px; }
.mini.on { background: var(--paper); color: #2b2114; }
.buy.hov, .mode.hov, .cmd.hov, .cmd:hover, .big.main:hover, .big.main.hov { background: #fbf0d2; }
.big.alt:hover, .big.alt.hov { background: #245766; }
.mini.hov { background: var(--ink2); }
.mini.on.hov, .mini.on:hover { background: #fbf0d2; }
#cursor { position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none; margin: -2px 0 0 -3px; width: 28px; height: 28px; }
#cursor[data-c="crosshair"] path { fill: #ff5a4a; }
#cursor[data-c="pointer"] path { fill: #ffc83d; }
#cursor[data-c="not-allowed"] path { fill: #9aa7ab; }
.endc { width: min(860px, 94vw); padding: 24px 30px 28px; }
.endTop { display: flex; gap: 24px; align-items: center; }
.endArt { width: 236px; height: 236px; object-fit: contain; flex: none; margin: -10px 0 -4px -8px; }
.endHead { flex: 1; min-width: 0; }
.endTitle { display: inline-block; font-size: 76px; font-weight: 800; line-height: 1; padding: 8px 32px 16px; border-radius: 16px; transform: rotate(-2.5deg); background: var(--paper); color: #2b2114; box-shadow: 0 7px 0 var(--wood); letter-spacing: 1px; white-space: nowrap; }
.k-win .endTitle { background: var(--sun); box-shadow: 0 7px 0 #b97f0a; }
.k-lose .endTitle { background: #f08f76; box-shadow: 0 7px 0 #9c4634; color: #3a120a; }
.k-draw .endTitle { background: #cfe6ec; box-shadow: 0 7px 0 #5f8d9a; }
.endRank { font-size: 30px; font-weight: 800; margin-top: 20px; }
.endSub { font-size: 16px; color: var(--mute); margin-top: 2px; }
.chips { display: flex; gap: 10px; margin-top: 14px; }
.chips span { background: var(--ink2); border-radius: 12px; padding: 8px 14px 9px; font-size: 13.5px; color: var(--mute); display: flex; flex-direction: column; min-width: 128px; }
.chips b { font-size: 26px; font-weight: 800; color: var(--white); line-height: 1.15; font-variant-numeric: tabular-nums; }
.ranks { margin: 18px 0 20px; display: flex; flex-direction: column; gap: 3px; }
.rk { display: grid; grid-template-columns: 30px 16px 1fr 120px 120px 130px; align-items: center; column-gap: 8px; height: 34px; padding: 0 14px; border-radius: 9px; font-size: 15.5px; }
.rk em { font-style: normal; font-weight: 800; font-size: 17px; text-align: center; }
.rk i { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid rgba(255, 255, 255, .7); }
.rk span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk small, .rk b { text-align: right; font-size: 15.5px; font-variant-numeric: tabular-nums; font-weight: 700; }
.rk small { color: var(--mute); font-weight: 400; }
.rk:nth-child(odd) { background: rgba(255, 255, 255, .05); }
.rk.me { background: var(--paper); color: #2b2114; font-weight: 800; }
.rk.me small { color: #6b4a1f; }
.rk.me i { border-color: #2b2114; }
.rk.head { height: 24px; background: none; }
.rk.head span, .rk.head small, .rk.head b { font-size: 13px; font-weight: 400; color: var(--mute); }
.rk.head i { border: 0; }
.pop { position: fixed; inset: 0; background: rgba(8, 28, 35, .74); display: flex; align-items: center; justify-content: center; z-index: 50; }
.pop .card { width: min(700px, 92vw); }
.pop h3 { margin-top: 0; font-size: 22px; }
.shareImg { width: 100%; border-radius: 12px; margin: 14px 0 16px; display: block; }
a.big { display: inline-flex; align-items: center; text-decoration: none; }

/* --- channel links in the menu, Discord button on the end screen --- */
.links { display: flex; gap: 12px; margin-top: 18px; align-items: center; }
.links a { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 52px; border-radius: 14px; flex: none; }
.links a svg { width: 32px; height: 32px; }
.links a.yt { background: #ff0000; box-shadow: 0 5px 0 #a80000; }
.links a.yt:hover { background: #ff3b30; }
.links a.dc { background: #5865f2; color: #fff; box-shadow: 0 5px 0 #3c45a5; }
.links a.dc:hover { background: #6f7af5; }
.big.dc { width: 54px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: #5865f2; color: #fff; box-shadow: 0 5px 0 #3c45a5; text-decoration: none; }
.big.dc:hover, .big.dc.hov { background: #6f7af5; }
.big.dc svg { width: 30px; height: 30px; flex: none; }
.big.dc.wide { width: auto; padding: 0 22px 0 16px; gap: 10px; }

/* --- F9 diagnostics --- */
#diag { position: fixed; right: 12px; top: 64px; width: min(720px, 60vw); max-height: 80vh; overflow: auto; z-index: 60; background: #0c1d24; border: 2px solid #3d6a78; border-radius: 10px; padding: 10px 12px; user-select: text; -webkit-user-select: text; }
#diag pre { margin: 8px 0 0; font: 13px/1.45 Consolas, monospace; color: #dff3f8; white-space: pre-wrap; user-select: text; -webkit-user-select: text; }
#diagB { display: flex; gap: 8px; }
#diagB button { height: 30px; padding: 0 12px; border-radius: 7px; background: var(--paper); color: #2b2114; font-weight: 700; font-size: 14px; }

/* --- the menu: logo and a column of choices on the left, the island scene on the right --- */
.mside { position: absolute; left: 0; top: 0; bottom: 0; width: 470px; padding: 40px 38px 26px; background: rgba(16, 48, 58, .93); border-right: 8px solid var(--paper); box-shadow: 8px 0 0 rgba(8, 28, 35, .3); display: flex; flex-direction: column; overflow-y: auto; }
.mlogo { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.mlogo img { width: 118px; height: 118px; object-fit: contain; flex: none; margin-left: -10px; }
.mlogo h1 { margin: 0; font-size: 46px; line-height: 1.02; font-weight: 800; letter-spacing: .5px; }
.mlogo p { margin: 8px 0 0; font-size: 15.5px; color: var(--mute); }
.mnav { display: flex; flex-direction: column; gap: 14px; }
.mbtn { width: 100%; text-align: left; border-radius: 14px; background: var(--paper); color: #2b2114; padding: 13px 18px 15px; box-shadow: 0 5px 0 var(--wood); position: relative; }
.mbtn b { display: block; font-size: 22px; font-weight: 800; }
.mbtn span { display: block; font-size: 14.5px; line-height: 1.4; margin-top: 3px; color: #4a3a22; }
.mbtn:hover, .mbtn.hov { background: #fff6dc; padding-left: 26px; }
.mbtn:active { top: 3px; box-shadow: 0 2px 0 var(--wood); }
.mbtn.alt { background: var(--ink2); color: var(--white); box-shadow: 0 5px 0 #0b2028; padding: 11px 18px 13px; }
.mbtn.alt b { font-size: 19px; }
.mbtn.alt:hover { background: #245766; }
.mside .links { margin-top: 22px; }
.mfoot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; }
.mfoot .lang { position: static; }
.mfoot > button { height: 36px; padding: 0 14px; border-radius: 9px; background: var(--ink2); font-weight: 700; }
.mfoot > button:hover { background: #245766; }
.howp { position: absolute; left: 520px; top: 50%; transform: translateY(-50%); width: min(640px, calc(100vw - 560px)); background: rgba(16, 48, 58, .96); border-radius: 20px; padding: 24px 28px 26px; box-shadow: 0 8px 0 rgba(8, 28, 35, .5); }
.howp h3 { margin: 0 0 14px; font-size: 24px; color: var(--sun); }
.how { display: flex; flex-direction: column; gap: 10px; }
.how div { display: grid; grid-template-columns: 58px 1fr; align-items: center; column-gap: 14px; background: var(--ink2); border-radius: 12px; padding: 6px 14px 6px 8px; }
.how img, .how i { width: 54px; height: 54px; object-fit: contain; }
.how span { font-size: 17px; line-height: 1.4; font-weight: 700; }
.howp .note { margin: 14px 0 16px; }
.big.ico { width: 54px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.big.ico svg { width: 28px; height: 28px; flex: none; }
.mlogo2 { margin: -22px 0 18px; text-align: center; }
.mlogo2 img { display: block; width: 100%; max-width: min(290px, 26vh); height: auto; margin: 0 auto; }
.mlogo2 p { margin: 6px 0 0; font-size: 15.5px; color: var(--mute); }
@media (max-height: 820px) { .mside { padding-top: 26px; } .mbtn span { display: none; } .mnav { gap: 11px; } }
.mini svg, .mfoot > button svg { width: 22px; height: 22px; display: block; }
.mfoot > button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; }
.mini svg, .big svg, .links svg, .mfoot svg, #queue .q .x { pointer-events: none; }
#tt { position: fixed; left: 0; top: 0; z-index: 80; visibility: hidden; pointer-events: none; background: #0b2028; color: var(--white); border: 2px solid var(--paper); border-radius: 9px; padding: 4px 11px 5px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.card.leave { width: auto; max-width: 92vw; padding: 26px 36px 30px; text-align: center; }
.card.leave h2 { color: var(--white); font-size: 22px; margin: 0 0 20px; }
.card.leave .row2 { justify-content: center; }
.mfr { display: flex; gap: 8px; }
.mfr button { height: 36px; min-width: 44px; padding: 0 12px; border-radius: 9px; background: var(--ink2); display: inline-flex; align-items: center; justify-content: center; }
.mfr button:hover { background: #245766; }
.mfr button svg { width: 22px; height: 22px; display: block; pointer-events: none; }
.mprac { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.mprac span { font-size: 14px; color: var(--mute); margin-right: auto; }
.mprac button { height: 36px; padding: 0 13px; border-radius: 9px; background: var(--ink2); color: var(--white); font-size: 14.5px; font-weight: 700; }
.mprac button:hover { background: #245766; }
.mnote { margin: 12px 0 0; font-size: 13px; line-height: 1.4; color: var(--mute); }
#mHow { font-weight: 800; font-size: 17px; }
.mbtn.off, .mbtn.off:hover { background: #5f7c84; color: #a9c0c6; box-shadow: 0 5px 0 #3b545b; padding-left: 18px; cursor: default; }
.mbtn.off:active { top: 0; box-shadow: 0 5px 0 #3b545b; }

/* the games with the AI brains: watching without playing, thoughts under the names, the plans before a game */
#hud.watch #res, #hud.watch #dock, #hud.watch #sel, #hud.watch #keys, #hud.watch #btnHelp, #hud.watch #btnLock { display: none; }
#roster.wide { width: 390px; }
#roster .row { flex-wrap: wrap; }
#roster .th { display: none; flex-basis: 100%; margin: 0 0 5px 21px; height: 2.7em; overflow: hidden; font-size: 13.5px; line-height: 1.35; color: #8fb0b9; }
#roster.wide .th { display: block; }
#roster .row.fresh .th { color: var(--white); }
#roster .row.out .th { display: none; }
.mini.on { background: var(--paper); color: #2b2114; }
.mini svg { width: 22px; height: 22px; display: block; }
.card.plans { width: min(1180px, 96vw); padding: 24px 28px 26px; }
.card.plans h3 { margin: 0 0 14px; font-size: 24px; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.pcol h4 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--mute); }
.plan { background: var(--ink2); border-radius: 12px; padding: 10px 14px 12px; margin-bottom: 8px; display: grid; grid-template-columns: 16px 1fr auto; column-gap: 9px; align-items: center; }
.plan i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid rgba(255, 255, 255, .7); }
.plan b { font-size: 17px; font-weight: 800; }
.plan small { font-size: 13px; color: var(--sun); }
.card .plan p { grid-column: 1 / -1; margin-top: 4px; font-size: 15px; line-height: 1.5; }
.endc { width: min(960px, 94vw); }
.rk { grid-template-columns: 30px 16px 1fr 110px 110px 110px 150px; }
.big:disabled { opacity: .45; cursor: default; }