/* Layout and materials follow the supplied 711 × 1536 reference. */
:root{--edge:clamp(11px,2.9vw,22px);--reef-top:calc(79px + env(safe-area-inset-top));--reef-side:calc(152px + env(safe-area-inset-top));--glass:linear-gradient(145deg,#008fdfed,#0055a5ed 55%,#003d80f5);color:#f2fcff;font-family:Arial,Helvetica,sans-serif}html,body{background:#0068a7}.water{background-image:url('/assets/aquarium-background-v3.jpg');background-position:50% 50%;background-color:#006ab0}.water:after{background:linear-gradient(180deg,#002e5230 0%,transparent 30%,transparent 80%,#001d4735)}.reef-brand{position:absolute;top:calc(5px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:clamp(220px,63vw,340px);height:69px;pointer-events:none;text-align:center}.reef-brand>img{display:block;width:100%;height:100%;object-fit:contain}.wallets{top:var(--reef-top);height:54px;gap:8px;grid-template-columns:minmax(0,1.48fr) minmax(0,1.12fr) 48px;max-width:580px}.glass{border:1px solid #6bddffb0;box-shadow:inset 0 1px 2px #d6fbffc0,inset 0 0 0 2px #69d5ff1f,inset 0 -4px 6px #00316d80,0 4px 8px #00314b66;border-radius:15px;background:var(--glass)}.coin-wallet{background:linear-gradient(145deg,#26758dea,#074e69ee 55%,#003853ed);border-color:#f3e4a1cf;box-shadow:inset 0 1px 2px #fff6c9b3,inset 0 0 12px #f5e9a826,0 0 9px #9ce7c847,0 4px 7px #00264155;gap:7px;padding:6px 8px}.coin-wallet>img{width:39px;height:39px;filter:drop-shadow(0 2px 2px #001d3b60)}.wallet-copy small{font-size:8px;letter-spacing:.3px;line-height:1.4}.wallet-copy strong{font-size:clamp(20px,5.3vw,29px);letter-spacing:-.6px;line-height:1.3;color:#d3faff;text-shadow:0 2px 1px #003c7370}.coin-wallet strong{color:#ffedb5}.feed-wallet{padding:7px 8px;gap:7px}.feed-wallet>.feed-art{width:27px;height:32px}.feed-wallet .plus{background:linear-gradient(150deg,#7dff7f,#27ed53 55%,#00af37);box-shadow:inset 0 1px #d3ffc4,inset 0 0 0 1px #7dffad80,0 3px #007c32,0 4px 5px #003c4780;border:1px solid #6fff86;color:white;text-shadow:0 2px #008c3f;width:24px;height:28px;min-width:24px;font-size:27px;border-radius:7px}.language{font-size:11px;gap:3px}.language svg{height:29px;width:29px;color:#aaf5ff;filter:drop-shadow(0 1px 2px #0ee8ffb0)}.side{top:var(--reef-side);gap:9px}.side.right{top:calc(var(--reef-side) + 11px)}.mini{width:58px;min-height:54px;padding:6px 3px 7px;border-radius:14px;gap:4px;background:linear-gradient(145deg,#00a3efef,#0063b4ee 40%,#003e86f5)}.mini:before{content:'';position:absolute;inset:2px;border-radius:inherit;pointer-events:none;background:linear-gradient(145deg,#9cf2ff40,transparent 38%);border-top:1px solid #c4f9ff55}.mini b{position:relative;font-size:8px;line-height:1.1;text-shadow:0 2px 1px #003c6e;font-weight:750}.mini .icon svg{height:29px;width:29px;filter:drop-shadow(0 2px 1px #00305e90)}.mini.gift{min-height:67px;padding-bottom:18px;overflow:hidden}.mini.hunt{min-height:63px;padding-bottom:17px;overflow:hidden}.mini.hunt b{font-size:7px}.timer{position:absolute;bottom:0;left:0;right:0;min-width:0;border-radius:0 0 13px 13px;box-shadow:inset 0 1px #ffffff70,0 -2px 4px #00294a44;letter-spacing:.25px;font-size:9px;padding:4px 3px 3px;border:0;line-height:1.15}.timer.pink{color:white;background:linear-gradient(#ff7d99,#e32959);text-shadow:0 1px #952346}.timer.blue{color:white;background:linear-gradient(#1283cf,#034a9a);text-shadow:0 1px #003467}.notification{width:8px;height:8px;top:6px;right:5px;background:radial-gradient(circle at 32% 20%,#ffd3cb,#ff4562 60%,#bd294f);border:1px solid #ffabb6;box-shadow:0 1px 3px #002d6760}.fish-count{position:absolute;right:var(--edge);top:calc(var(--reef-top) + 63px);padding:3px 6px;color:#e6fbff;font-size:9px;font-weight:700;border-radius:6px;background:#0259a271;text-shadow:0 1px 2px #003b6e}.collection{bottom:calc(117px + var(--safe));max-width:580px;isolation:isolate}.collection .rate{gap:5px;font-size:11px;padding:5px 10px;margin-bottom:9px;border-radius:17px;background:linear-gradient(#159ad7e8,#0568a9ed);border:1px solid #93e7f9b8;box-shadow:inset 0 1px #e8ffffa8,inset 0 0 0 2px #78e5ff25,0 3px 7px #003b6866;line-height:1.2;min-height:27px}.rate>img{width:18px;height:18px}.collection .collect{display:grid;grid-template-columns:minmax(0,1fr) 88px;align-items:center;min-height:106px;padding:14px 9px 14px clamp(86px,25vw,139px);gap:7px;border-radius:20px;background:linear-gradient(155deg,#1b9dcde8,#07578fef 45%,#003b75f0 75%,#087eb8ed);border:1px solid #99f2ffdb;box-shadow:inset 0 1px 2px #dbffffc7,inset 0 0 0 2px #61d4ed2b,inset 0 -4px 8px #07c5ed59,0 5px 12px #0036658c}.collection .collect:before{inset:4px;background:linear-gradient(160deg,#c8faff20,transparent 40%);border-top-color:#b2fbff70}.treasure-art{position:absolute;left:-13px;bottom:7px;width:clamp(106px,30vw,159px);height:auto;max-height:128%;object-fit:contain;z-index:2;pointer-events:none}.collect-copy{min-width:0}.collect-copy>small{font-size:7px;line-height:1.3;letter-spacing:.55px;color:#d7f7ff;white-space:nowrap}.collect-copy>strong{font-size:clamp(20px,5.8vw,29px);line-height:1.2;gap:3px;margin-top:6px;letter-spacing:-.5px;color:#f0fcff;text-shadow:0 2px 1px #01447577}.collect-copy .unit{font-size:8px;gap:2px}.unit img{height:13px;width:13px}.collect-copy p{font-size:8px;color:#94ddf5;line-height:1.2;margin-top:6px;white-space:nowrap;letter-spacing:-.1px}.vault-meter{height:9px;border-radius:8px;background:linear-gradient(#1b467e,#4778a064);box-shadow:inset 0 1px 3px #002e5c8f,0 1px #c1f5ff30;overflow:hidden;margin-top:8px}.vault-meter i{display:block;height:100%;width:0;border-radius:8px;background:linear-gradient(95deg,#17dd92,#28e6be 55%,#2ec6f2);box-shadow:inset 0 1px #8bfff4aa}.gold{color:white;background:linear-gradient(150deg,#68ff64,#25e958 45%,#00bc50 82%,#04a64d);border:1px solid #91ff8dd6;text-shadow:0 2px 1px #008b489c;box-shadow:inset 0 1px 2px #d6ffb5d1,inset 0 0 0 2px #64ff9638,inset 0 -3px 3px #00914377,0 4px #007e46,0 6px 9px #002e5b77}.gold:active{box-shadow:inset 0 0 0 2px #64ff9638,0 1px #007e46}.gold:disabled{opacity:.55}#collect{font-size:18px;min-width:0;width:100%;min-height:48px;padding:9px 5px;border-radius:13px;white-space:nowrap;align-self:center}#collect span[aria-hidden]{font-size:15px}.nav{bottom:calc(25px + var(--safe));gap:clamp(9px,3.2vw,18px);left:var(--edge);right:var(--edge)}.nav-card{position:relative;width:74px;height:67px;flex:0 1 80px;padding:8px 4px;gap:7px;border-radius:17px;background:linear-gradient(150deg,#0588dbea,#0054a5f0 50%,#00377ded);border-color:#68dcffc4;box-shadow:inset 0 1px 2px #ccfaff9c,inset 0 0 0 2px #62d4ff24,0 4px 7px #00335f7d}.nav-card:before{background:linear-gradient(145deg,#a0f0ff2e,transparent 40%);border-top-color:#b8faff66}.nav-card .icon svg{height:32px;width:32px;filter:drop-shadow(0 2px 1px #002e6c80)}.nav-card b{font-size:10px;color:#f1fdff;text-shadow:0 2px #00346e;white-space:nowrap}.feed-art{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 50'%3E%3Cdefs%3E%3CradialGradient id='a' cx='.3' cy='.2'%3E%3Cstop stop-color='%23efd098'/%3E%3Cstop offset='.5' stop-color='%23bf843b'/%3E%3Cstop offset='1' stop-color='%23894c1e'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg fill='url(%23a)' stroke='%2376471f' stroke-width='1'%3E%3Cpath d='M8 7q6-8 13 1l-1 9q-8 6-14-2Z'/%3E%3Cpath d='M31 13q8-2 11 8l-4 9q-10 2-14-6Z'/%3E%3Cpath d='M15 26q9-5 15 6l-3 12q-10 8-19-3Z'/%3E%3C/g%3E%3Cg fill='%23895a29'%3E%3Ccircle cx='12' cy='11' r='1.3'/%3E%3Ccircle cx='18' cy='14' r='1'/%3E%3Ccircle cx='33' cy='21' r='1.5'/%3E%3Ccircle cx='19' cy='33' r='1.8'/%3E%3Ccircle cx='14' cy='39' r='1.3'/%3E%3C/g%3E%3C/svg%3E")}.hunt-hud{top:calc(var(--reef-side) + 5px);background:linear-gradient(#087dcddd,#034b9de8)}#sheet{background:linear-gradient(135deg,#075c94,#043f72);border-color:#6bdfff99}.sheet-head{background:linear-gradient(135deg,#087fc1,#065082);border-bottom-color:#6ee5ff40}.sheet-head>button{background:#0871a0;border-color:#7fd9ed80}.panel{background:linear-gradient(145deg,#0b6b9b,#064a7c);border-color:#60bad477}.available{background:#0a6291}.secondary{background:linear-gradient(#0c72a5,#07517f);border-color:#83d4e470}.tabs{background:#00345e}.tabs button.active{background:linear-gradient(#17acf0,#0c73bf)}.task-no{background:#0b74a3}.hunt-playing .fish-count{visibility:hidden}#toast{background:#023e6bf5}
@media(min-width:700px){:root{--edge:max(20px,calc(50vw - 290px))}.wallets{height:62px;grid-template-columns:minmax(0,1.48fr) minmax(0,1.12fr) 54px}.wallet-copy small{font-size:10px}.wallet-copy strong{font-size:32px}.coin-wallet>img{width:46px;height:46px}.feed-wallet>.feed-art{width:32px;height:39px}.side{top:calc(var(--reef-side) + 8px)}.side.right{top:calc(var(--reef-side) + 19px)}.mini{width:65px;min-height:60px}.mini b{font-size:9px}.mini.gift{min-height:75px}.mini.hunt{min-height:72px}.nav-card{height:76px;flex-basis:90px;width:90px}.nav-card b{font-size:11px}.nav-card .icon svg{width:37px;height:37px}.collection{bottom:calc(124px + var(--safe))}.collection .collect{grid-template-columns:minmax(0,1fr) 119px;min-height:119px;padding-left:139px;padding-right:13px}.collect-copy>strong{font-size:32px}.collect-copy>small{font-size:9px}.collect-copy p{font-size:10px}.treasure-art{width:166px;left:-15px}.collect-copy .unit{font-size:10px}.unit img{width:18px;height:18px}#collect{font-size:23px;min-height:58px}.fish-count{top:calc(var(--reef-top) + 72px);font-size:10px}}
@media(max-width:360px){:root{--edge:10px}.wallets{gap:6px;grid-template-columns:minmax(0,1.45fr) minmax(0,1.1fr) 43px}.coin-wallet{padding-inline:6px;gap:5px}.coin-wallet>img{width:34px;height:34px}.wallet-copy strong{font-size:20px}.wallet-copy small{font-size:7px}.feed-wallet{gap:5px;padding-inline:6px}.feed-wallet>.feed-art{width:23px}.mini{width:53px}.mini b{font-size:7px}.mini.hunt b{font-size:6px}.collection .collect{padding-left:78px;grid-template-columns:minmax(0,1fr) 77px;gap:5px}.treasure-art{width:99px;left:-14px}.collect-copy>strong{font-size:20px}.collect-copy>small{font-size:6px}.collect-copy p{font-size:7px}.collect-copy .unit{font-size:7px}.unit img{width:11px;height:11px}#collect{font-size:16px}.nav{gap:9px}.nav-card{height:63px;flex-basis:68px}.nav-card b{font-size:9px}}
@media(max-height:690px){:root{--reef-top:calc(61px + env(safe-area-inset-top));--reef-side:calc(125px + env(safe-area-inset-top))}.reef-brand{height:52px;top:calc(2px + env(safe-area-inset-top));width:200px}.wallets{height:46px}.coin-wallet>img{width:32px;height:32px}.wallet-copy strong{font-size:20px}.language svg{height:23px;width:23px}.mini{min-height:46px;padding-block:4px}.mini .icon svg{height:25px;width:25px}.mini.gift{min-height:59px;padding-bottom:17px}.mini.hunt{min-height:57px;padding-bottom:17px}.side{gap:7px}.fish-count{top:calc(var(--reef-top) + 53px);font-size:8px}.collection{bottom:calc(95px + var(--safe))}.collection .collect{min-height:87px;padding-top:11px;padding-bottom:11px}.treasure-art{max-height:125%}.collect-copy>strong{font-size:21px;margin-top:4px}.collect-copy>small{font-size:6px}.collect-copy p{font-size:7px;margin-top:4px}.vault-meter{height:7px;margin-top:6px}.nav{bottom:calc(17px + var(--safe))}.nav-card{height:61px}.collection .rate{font-size:10px;min-height:24px;padding:4px 8px;margin-bottom:8px}.hunt-hud{top:calc(var(--reef-side) + 4px)}}
@media(max-height:600px){:root{--reef-top:calc(55px + env(safe-area-inset-top));--reef-side:calc(115px + env(safe-area-inset-top))}.reef-brand{height:46px}.wallets{height:43px}.fish-count{top:calc(var(--reef-top) + 48px)}.side{gap:6px}.mini{min-height:40px;gap:2px}.mini .icon svg{height:22px;width:22px}.mini.gift{min-height:53px}.mini.hunt{min-height:51px}.mini b{font-size:7px}.timer{font-size:8px;padding:3px 2px}.collection .collect{min-height:83px}.treasure-art{max-height:124%}.collect-copy>strong{font-size:20px}.collect-copy>small{font-size:6px}}

/* All menu pages open as centered modal windows. */
#sheet{position:fixed;inset:0;margin:auto;width:min(calc(100% - 28px),580px);height:fit-content;max-height:min(84dvh,820px);min-height:0;border:1px solid #78dfffb0;border-radius:23px;box-shadow:inset 0 1px 2px #ccfaff88,0 18px 65px #001b49a6;animation:none;transform:none;}
#sheet[open]{display:flex;flex-direction:column;}
#sheet::backdrop,.purchase-dialog::backdrop{background:#001f4c9c;animation:none;}
#sheet .grip{display:none;}
#sheet .sheet-head{border-radius:22px 22px 0 0;padding:21px 54px 20px 21px;flex:0 0 auto;}
#sheet .sheet-head>button{top:18px;right:16px;}
#sheetBody{flex:1 1 auto;min-height:0;overflow-y:auto;max-height:calc(min(84dvh,820px) - 76px);padding-bottom:22px;}
.purchase-dialog{position:fixed;inset:0;margin:auto;width:min(calc(100% - 38px),420px);height:fit-content;max-height:84dvh;overflow-y:auto;animation:none;transform:none;}
@media(max-height:600px){#sheet,.purchase-dialog{max-height:90dvh;}#sheetBody{max-height:calc(90dvh - 70px);}#sheet .sheet-head{padding-block:17px;}#sheet .sheet-head>button{top:14px;}}

/* Production Feed emblem, centered page branding and natural menu artwork. */
.feed-art{background:none!important;position:relative;display:inline-block;width:28px;height:27px;flex-shrink:0;}
.feed-art>i{position:absolute;border-radius:4px;background:linear-gradient(135deg,#e4b364,#c99040);border:1px solid #bf8b43;width:35.714%;height:37.037%;transform:rotate(25deg);box-shadow:inset 1px 1px 0 #ffe3b5;}
.feed-art>i:first-child{left:7.143%;top:11.111%;}.feed-art>i:nth-child(2){left:57.143%;top:22.222%;}.feed-art>i:last-child{left:28.571%;top:62.963%;}
:root{--reef-top:calc(14px + env(safe-area-inset-top));--reef-side:calc(87px + env(safe-area-inset-top));}
.popup-logo{display:block;width:min(200px,75%);height:65px;object-fit:contain;margin:0 auto 12px;pointer-events:none;}
#sheet .sheet-head{padding:13px 20px 17px;}
#sheet .sheet-head h2{text-align:center;font-size:21px;line-height:1.2;margin:0;}
#sheet .sheet-head>button{top:14px;right:13px;}
#sheetBody{max-height:calc(min(84dvh,820px) - 126px);}
.purchase-dialog .popup-logo{height:60px;margin-bottom:10px;}
.purchase-dialog h2{text-align:center;}
.nav-card .natural-fish-icon{width:43px;height:34px;}.natural-fish-icon>img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px #00305e70);}
.nav-card[data-panel="friends"] .icon svg{width:34px;height:34px;}
.nav-card[data-panel="tasks"] .icon svg{width:32px;height:34px;}
@media(min-width:700px){:root{--reef-side:calc(92px + env(safe-area-inset-top));}.nav-card .natural-fish-icon{width:49px;height:39px;}}
@media(max-height:690px){:root{--reef-top:calc(12px + env(safe-area-inset-top));--reef-side:calc(78px + env(safe-area-inset-top));}}
@media(max-height:600px){:root{--reef-top:calc(10px + env(safe-area-inset-top));--reef-side:calc(68px + env(safe-area-inset-top));}#sheet .sheet-head{padding:9px 15px 12px;}.popup-logo{height:47px;margin-bottom:7px;}#sheetBody{max-height:calc(90dvh - 100px);}.purchase-dialog .popup-logo{height:47px;}}

/* Match ordinary cards: no neon treatment on the marked items. */
.language svg{filter:none;color:#caedf4;}
/* Compact onboarding: the start action is part of the visible card. */
#confirmSheet.welcome-dialog{width:min(calc(100% - 28px),440px);max-height:calc(100dvh - 28px);padding:20px;overflow:hidden;}
.welcome-layout{display:flex;flex-direction:column;gap:12px;}
.welcome-layout .popup-logo{height:52px;width:190px;max-width:70%;margin:0 auto;flex-shrink:0;}
.welcome-layout h2{font-size:21px;line-height:1.2;text-align:center;margin:0;}
.welcome-layout .welcome-intro{font-size:12px;line-height:1.45;text-align:center;margin:0;}
.welcome-award{text-align:center;padding:12px;border:1px solid #7cd9ea66;border-radius:15px;background:linear-gradient(130deg,#0f7999aa,#093e6599);}
.welcome-award>small{display:block;color:#c7edf4;letter-spacing:1px;font-size:9px;}
.welcome-award>strong{display:flex;align-items:center;justify-content:center;gap:7px;color:#ffedaf;font-size:32px;line-height:1.25;margin-top:4px;}
.welcome-award>strong>span:not(.feed-art){font-size:16px;}
.welcome-award .feed-art{height:34px;width:32px;}
.welcome-tips{display:grid;gap:10px;}
.welcome-tips>section{display:flex;align-items:flex-start;gap:9px;}
.welcome-step{flex:0 0 24px;height:24px;display:grid;place-items:center;background:#279bb94d;border:1px solid #72cde566;border-radius:8px;font-size:11px;color:#b7f4ff;}
.welcome-tips h3{font-size:12px;margin:0 0 3px;line-height:1.2;}
.welcome-tips p{font-size:11px;line-height:1.35;margin:0;color:#bddfea;}
.welcome-layout .welcome-note{font-size:9px;line-height:1.3;text-align:center;margin:0;color:#a6d3e0;}
.welcome-start{flex-shrink:0;min-height:46px;padding:11px;font-size:16px;}
.welcome-feed-flight{position:fixed;left:50%;top:50%;z-index:100;pointer-events:none;animation:welcome-feed-rise .85s ease-in forwards;}
@keyframes welcome-feed-rise{to{left:72%;top:35px;opacity:0;transform:scale(.5);}}
.boost-explainer{padding:11px 12px;border:1px solid #70bad34d;border-radius:12px;background:#023b6266;font-size:11px;line-height:1.5;}
.boost-plan{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;}
.boost-plan .boost-percent{font-size:20px;color:#a9efff;font-weight:800;}
.boost-plan .boost-percent small{font-size:12px;}
.boost-plan-copy{min-width:0;}
.boost-plan-copy h3{font-size:12px!important;line-height:1.35;margin:0 0 4px!important;}
.boost-plan-copy p{font-size:10px;margin:0 0 4px;line-height:1.35;color:#b5dbe9;}
.boost-plan-copy small{display:block;font-size:9px;color:#8ed6e9;line-height:1.35;}
.boost-plan>button{display:flex;align-items:center;justify-content:center;gap:3px;min-width:76px;padding:9px 7px;font-size:12px;}
.boost-plan>button .feed-art{width:25px;height:28px;}
@media(max-height:700px){#confirmSheet.welcome-dialog{padding:16px;}.welcome-layout{gap:9px;}.welcome-layout .popup-logo{height:42px;}.welcome-layout h2{font-size:19px;}.welcome-award{padding:9px;}.welcome-tips{gap:8px;}.welcome-tips p{font-size:10px;}}
@media(max-height:560px){#confirmSheet.welcome-dialog{padding:12px;}.welcome-layout{gap:6px;}.welcome-layout .popup-logo{height:32px;}.welcome-layout h2{font-size:16px;}.welcome-layout .welcome-intro{font-size:10px;}.welcome-award{padding:7px;}.welcome-award>strong{font-size:26px;}.welcome-tips{gap:6px;}.welcome-tips p{font-size:9px;}.welcome-start{min-height:40px;padding:8px;}}
@media(max-width:350px){.boost-plan{grid-template-columns:36px minmax(0,1fr) auto;gap:6px;}.boost-plan>button{min-width:66px;}.boost-plan-copy h3{font-size:11px!important;}}
/* Explicit rows prevent the counter strip from covering a card label. */
.side .mini.gift,.side .mini.hunt{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:28px 22px 18px;gap:4px;align-items:center;justify-items:center;justify-content:stretch;min-height:84px;height:auto;padding:6px 0 0;}
.side .mini.gift>b,.side .mini.hunt>b{display:flex;align-items:center;justify-content:center;align-self:stretch;width:100%;max-width:100%;min-width:0;margin:0;padding:0 4px;color:#fff;opacity:1;font-size:8px;font-weight:750;line-height:10px;white-space:normal;text-wrap:balance;overflow:visible;text-shadow:0 1px 1px #003459;}
.side .mini.gift>.timer,.side .mini.hunt>.timer{position:static;inset:auto;display:flex;align-items:center;justify-content:center;align-self:stretch;justify-self:stretch;width:100%;height:18px;min-height:18px;max-height:18px;margin:0;padding:2px 1px;font-size:8.5px;line-height:12px;border-radius:0 0 13px 13px;box-sizing:border-box;}
@media(min-width:700px){.side .mini.gift>b,.side .mini.hunt>b{font-size:9px;line-height:11px;}}
@media(max-height:690px){.side .mini.gift,.side .mini.hunt{grid-template-rows:25px 20px 18px;gap:3px;min-height:76px;padding-top:5px;}}
@media(max-height:600px){.side .mini.gift,.side .mini.hunt{grid-template-rows:22px 20px 17px;min-height:71px;padding-top:4px;}.side .mini.gift>.timer,.side .mini.hunt>.timer{height:17px;min-height:17px;max-height:17px;font-size:8px;}.side .mini.gift>b,.side .mini.hunt>b{font-size:7.5px;line-height:10px;}}

.welcome-layout{max-height:calc(100dvh - 70px);}.welcome-tips{min-height:0;overflow:hidden;}.welcome-layout h2,.welcome-layout .welcome-intro,.welcome-tips p,.welcome-layout .welcome-note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}

.invite-share{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;font-weight:750;}
button.copy-success{color:#fff7bc!important;}

/* Keep the estimated total inside the existing compact wallet card. */
.coin-wallet{padding-top:5px;padding-bottom:5px;}
.coin-wallet .wallet-copy>small{font-size:7px;line-height:1.1;}
.coin-wallet .wallet-copy>strong{font-size:clamp(16px,4.1vw,22px);line-height:1.1;}
.coin-usd{display:block;font-size:10px;font-weight:600;line-height:1.15;color:#d6e7cd;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;}


/* Five home menu cards only - v26 */
/* Original reference art, shown through five isolated CSS viewports. */
.side{gap:10px;z-index:3}
.side .mini,.side .mini.gift{--card-width:clamp(64px,17vw,82px);width:var(--card-width);height:auto;min-height:0;padding:0;display:block;position:relative;overflow:hidden;isolation:isolate;border:0;border-radius:21%;background-color:transparent;background-image:url('/assets/side-menu-reference-v26.jpg');background-repeat:no-repeat;box-shadow:none;flex:none}
.side .mini:before,.side .mini:after,.side .mini>.icon{display:none}
.side .mini>b{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.side .mini:focus-visible{outline:2px solid #fff;outline-offset:3px}
.side .mini .notification{right:6%;top:6%;width:7px;height:7px}
.side .mini[data-panel="boost"]{aspect-ratio:472/376;background-size:277.96610169% 318.88297872%;background-position:14.28571429% 4.13122722%;}
.side .mini[data-panel="daily"]{aspect-ratio:472/360;background-size:277.96610169% 333.05555556%;background-position:14.28571429% 50.05959476%;}
.side .mini[data-panel="gift"]{aspect-ratio:472/376;background-size:277.96610169% 318.88297872%;background-position:14.28571429% 95.99027947%;}
.side .mini[data-panel="settings"]{aspect-ratio:468/447;background-size:280.34188034% 268.23266219%;background-position:85.78199052% 19.41489362%;}
.side .mini[data-panel="leaders"]{aspect-ratio:468/423;background-size:280.34188034% 283.45153664%;background-position:85.78199052% 81.70103093%;}

.side .mini.gift>#giftClock{position:absolute;inset:auto 10% 1.8%;display:flex;align-items:center;justify-content:center;width:80%;height:21%;min-height:0;max-height:none;min-width:0;margin:0;padding:0 1px;border:1px solid #ffbae3;border-radius:999px;background:linear-gradient(#ff91cf,#ff458f 65%,#ef337e);box-shadow:inset 0 1px 2px #fff8;color:white;text-shadow:0 1px 2px #a01450;font-size:clamp(9px,2.35vw,12px);line-height:1;font-weight:800;letter-spacing:0;font-variant-numeric:tabular-nums;z-index:2}
html[lang="en"] .side .mini>b{clip-path:none;overflow:hidden;inset:auto 10% 4%;margin:0;width:80%;height:21%;display:flex;align-items:center;justify-content:center;border-radius:999px;background:linear-gradient(#086cb5,#003878);font-size:clamp(8px,2vw,11px);line-height:1;white-space:nowrap;text-shadow:0 1px #00204b}
html[lang="en"] .side .mini[data-panel="daily"]>b{bottom:5%;font-size:clamp(7px,1.9vw,10px)}
html[lang="en"] .side .mini.gift>b{bottom:23%;height:17%}
@media(max-height:600px){.side .mini,.side .mini.gift{--card-width:clamp(56px,15vw,70px)}.side{gap:7px}}
