/* =========================================================
   GYOBITE V1 — DESIGN TOKENS & GLOBAL
========================================================= */
:root{--bg:#080b16;--surface:#11182b;--surface2:#18213a;--text:#f6f7ff;--muted:#9ba6c4;--line:rgba(255,255,255,.1);--accent:#9b8cff;--accent2:#5be7d1;--danger:#ff6d91;--success:#69e6b1;--glass:rgba(18,25,45,.82);font-family:Inter,system-ui,sans-serif;color:var(--text);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 15% 10%,#25214f 0,transparent 35%),radial-gradient(ellipse at 90% 90%,#073b46 0,transparent 30%),#070914;color:var(--text)}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;border:0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent2);outline-offset:2px}.hidden{display:none!important}
.stage{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:clamp(24px,6vw,100px);padding:28px}.phone{width:390px;height:min(820px,calc(100vh - 40px));min-height:650px;padding:9px;border:1px solid rgba(255,255,255,.24);border-radius:48px;background:linear-gradient(135deg,#34394b,#090b12 30%,#41475a 60%,#10121b);box-shadow:0 35px 100px #0009,0 0 0 4px #06070c;position:relative;flex-shrink:0}.phone:before{content:"";position:absolute;z-index:10;top:13px;left:50%;transform:translateX(-50%);width:100px;height:24px;background:#03040a;border-radius:20px}.screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:39px;background:#0d1223;isolation:isolate}.brightness-layer{position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;z-index:8;transition:opacity .15s}.status-bar{height:38px;position:absolute;z-index:12;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:9px 19px 0;font-size:11px;font-weight:700;cursor:pointer;text-shadow:0 1px 6px #0008}.status-icons{display:flex;align-items:center;gap:6px}.status-icons i{font-size:11px}.status-icons #networkLabel{font-size:10px}
.home-screen{height:100%;padding:58px 19px 88px;overflow:auto;scrollbar-width:none;background-size:cover;background-position:center;position:relative}.home-screen::-webkit-scrollbar,.app-content::-webkit-scrollbar{display:none}.wallpaper-cyber{background-image:radial-gradient(ellipse at 10% 8%,#6550d7 0,transparent 40%),radial-gradient(ellipse at 95% 42%,#0b9a9b 0,transparent 37%),linear-gradient(155deg,#11142d,#080b17 70%)}.wallpaper-nebula{background-image:radial-gradient(ellipse at 20% 25%,#7140a9 0,transparent 38%),radial-gradient(ellipse at 90% 60%,#174f91 0,transparent 36%),linear-gradient(145deg,#090d22,#141027)}.wallpaper-nature{background-image:linear-gradient(160deg,#163d3b,#477d62 45%,#10252c)}.wallpaper-minimal{background-image:linear-gradient(145deg,#d9d9e8,#9a9ebc 60%,#5e678d);color:#161b2e}.wallpaper-minimal .muted,.wallpaper-minimal small{color:#333b55}.home-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.home-heading small{font-size:9px;letter-spacing:2px;color:#c3c5ff}.home-heading h1{font-size:26px;margin:7px 0 5px;letter-spacing:-1px}.home-heading p{font-size:11px;color:#c0c7e2;margin:0}.round-btn,.header-more,.header-back{width:36px;height:36px;border-radius:50%;background:#ffffff18;border:1px solid #ffffff1c}.search-pill{width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:13px 14px;border-radius:17px;background:#ffffff18;border:1px solid #ffffff1c;color:#e4e7f8;font-size:11px;backdrop-filter:blur(18px)}.search-pill .fa-microphone{margin-left:auto}.widget-row{display:grid;grid-template-columns:1.35fr 1fr;gap:9px;margin:13px 0 22px}.mini-widget{display:flex;align-items:center;gap:9px;padding:12px 10px;border:1px solid #ffffff18;background:#ffffff13;border-radius:17px;backdrop-filter:blur(15px);min-width:0}.mini-widget>i{font-size:19px;color:#d3c9ff}.mini-widget div{display:flex;flex-direction:column;gap:3px}.mini-widget strong{font-size:16px}.mini-widget small,.mini-widget span{font-size:9px;color:#d0d5ea}.mini-widget>span{margin-left:auto}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px;font-size:12px}.section-heading button{background:none;color:#d2ceff;font-size:10px}.app-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px 6px}.app-icon{background:transparent;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;padding:0}.app-icon small{font-size:9px;white-space:nowrap;max-width:75px;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 5px #0008}.app-glyph{height:48px;width:48px;display:grid;place-items:center;border-radius:16px;font-size:20px;box-shadow:0 8px 18px #0002;border:1px solid #ffffff26}.glyph-store{background:linear-gradient(145deg,#71efd1,#4185df)}.glyph-ai{background:linear-gradient(145deg,#b4a0ff,#6444d6)}.glyph-photos{background:linear-gradient(145deg,#ff9ab6,#ffcf7e)}.glyph-camera{background:linear-gradient(145deg,#8c9bb8,#323b55)}.glyph-settings{background:linear-gradient(145deg,#a8b9d8,#596985)}.glyph-chat{background:linear-gradient(145deg,#65e5aa,#0d9d87)}.glyph-music{background:linear-gradient(145deg,#ff8ac4,#8954e9)}.glyph-builder{background:linear-gradient(145deg,#ffbe76,#ec6d6d)}.glyph-games{background:linear-gradient(145deg,#8c8bff,#2e58bd)}.glyph-notes{background:linear-gradient(145deg,#f5dc83,#d28b36)}.dock{position:absolute;bottom:17px;left:15px;right:15px;display:flex;justify-content:space-around;padding:12px 5px 8px;border:1px solid #ffffff22;border-radius:23px;background:#1015299c;backdrop-filter:blur(20px)}.dock .app-glyph{width:42px;height:42px;border-radius:15px}.dock .app-icon small{font-size:8px}
.app-window{position:absolute;z-index:5;inset:38px 0 28px;background:var(--bg);display:flex;flex-direction:column;animation:appEnter .22s ease-out;--app-bg:var(--bg);color:var(--text)}@keyframes appEnter{from{opacity:.4;transform:translateY(12px) scale(.99)}to{opacity:1;transform:none}}.app-header{display:flex;align-items:center;gap:10px;padding:10px 15px 13px;background:var(--glass);backdrop-filter:blur(22px);border-bottom:1px solid var(--line);flex-shrink:0}.app-header>div{display:flex;flex-direction:column;gap:3px;flex:1}.app-header strong{font-size:14px}.app-header small{font-size:9px;color:var(--muted)}.app-header button{width:32px;height:32px;background:transparent;border-radius:50%}.app-content{padding:16px 15px 26px;overflow:auto;flex:1;scrollbar-width:none;background:var(--bg)}.nav-bar{position:absolute;z-index:14;bottom:0;left:0;right:0;height:29px;background:#090b14d9;display:flex;align-items:center;justify-content:space-evenly;backdrop-filter:blur(15px)}.nav-bar button{height:26px;width:65px;background:transparent;color:#f5f5ff;font-size:14px;display:grid;place-items:center}.nav-bar #navHome span{width:13px;height:13px;border:1.5px solid currentColor;border-radius:50%}.quick-handle{position:absolute;z-index:15;bottom:3px;left:50%;transform:translateX(-50%);width:80px;height:3px;border-radius:4px;background:#ffffff75;cursor:pointer}.toast{position:absolute;z-index:30;bottom:42px;left:18px;right:18px;background:#242d43;color:#fff;border:1px solid #ffffff24;border-radius:14px;padding:12px 14px;display:flex;gap:9px;align-items:center;font-size:11px;box-shadow:0 10px 30px #0005;animation:toastIn .2s ease}.toast i{color:var(--success)}@keyframes toastIn{from{transform:translateY(8px);opacity:0}to{transform:none;opacity:1}}
.quick-panel,.recent-panel{position:absolute;z-index:22;inset:0 0 28px;background:rgba(11,15,30,.96);backdrop-filter:blur(30px);padding:53px 20px 20px;overflow:auto;animation:appEnter .18s ease}.quick-head,.recent-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.quick-head span{font-size:18px;font-weight:700}.quick-head button,.recent-heading button{background:#ffffff14;border-radius:10px;padding:9px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-tile{height:66px;border-radius:17px;background:#252d43;display:flex;align-items:center;gap:12px;padding:0 15px;text-align:left;font-size:12px}.quick-tile i{font-size:18px}.quick-tile.active{background:linear-gradient(120deg,#8d7dff,#6459c7)}.range-label{display:block;margin-top:22px;font-size:11px}.range-label span{display:flex;justify-content:space-between;margin-bottom:10px}.range-label input{width:100%;accent-color:#9b8cff}.quick-foot{display:flex;justify-content:space-between;margin-top:28px;color:var(--muted);font-size:10px}.recent-heading h3{font-size:17px}.recent-card{padding:14px;border-radius:16px;background:#1a2238;margin-bottom:10px;display:flex;align-items:center;gap:12px}.recent-card .app-glyph{width:40px;height:40px}.recent-card div{flex:1}.recent-card strong{font-size:12px}.recent-card small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.recent-card button{background:#ffffff13;padding:8px 10px;border-radius:9px;font-size:10px}
.lock-screen{position:absolute;z-index:11;inset:0;background-size:cover;background-position:center;padding:75px 25px 35px;text-align:center;display:flex;flex-direction:column;align-items:center}.lock-top{width:100%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px}.lock-clock{font-size:65px;letter-spacing:-4px;font-weight:500;margin-top:105px}.lock-date{font-size:12px;color:#e1e4f6}.lock-notice{margin-top:40px;padding:13px 15px;background:#ffffff18;border:1px solid #ffffff20;border-radius:14px;font-size:10px;width:100%;text-align:left}.unlock-button{margin-top:auto;background:#ffffff18;border:1px solid #ffffff35;border-radius:18px;padding:12px 25px;font-size:10px;line-height:1.9;backdrop-filter:blur(10px)}
.side-info{width:min(380px,35vw)}.brand-mark{display:flex;align-items:center;gap:12px;margin-bottom:55px}.brand-orb{width:43px;height:43px;border-radius:15px;background:linear-gradient(145deg,#9f8bff,#45e1cb);display:grid;place-items:center;color:#101426;font-size:24px;font-weight:800}.brand-mark div{display:flex;flex-direction:column;gap:4px}.brand-mark strong{font-size:16px}.brand-mark small{font-size:10px;color:#a4adc8}.side-info h2{font-size:clamp(28px,3.4vw,46px);letter-spacing:-1.8px;line-height:1.13;margin:0 0 18px}.side-info h2 span{color:#a99bff}.side-info>p{font-size:13px;color:#aeb7d1;line-height:1.8;max-width:340px}.spec-cards{display:flex;gap:10px;margin-top:28px}.spec-cards>div{flex:1;display:flex;flex-direction:column;gap:8px;padding:16px 12px;border-radius:17px;background:#ffffff0b;border:1px solid #ffffff17}.spec-cards i{color:#a99bff}.spec-cards strong{font-size:16px}.spec-cards small,.side-hint{font-size:9px;color:#a3acc8}.side-hint{display:block;margin-top:25px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:14px;margin-bottom:12px}.card h3,.card h4{margin:0 0 8px}.muted{color:var(--muted)}.tiny{font-size:10px}.small{font-size:11px}.primary-btn,.secondary-btn,.danger-btn{border-radius:12px;padding:11px 14px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary-btn{background:linear-gradient(120deg,#a396ff,#7165e8);color:#fff}.secondary-btn{background:#ffffff12;border:1px solid var(--line)}.danger-btn{background:#ff6d9120;color:#ff8eaa}.full{width:100%}.field{display:block;margin:12px 0;font-size:11px;color:var(--muted)}.field input,.field textarea,.field select,.text-input{display:block;width:100%;margin-top:7px;padding:11px 12px;background:var(--surface2);border:1px solid var(--line);border-radius:11px;color:var(--text);font-size:11px}.field textarea{min-height:75px;resize:vertical}.row{display:flex;align-items:center;gap:9px}.row>*{flex:1;min-width:0}.app-hero{display:flex;gap:13px;align-items:center;margin-bottom:15px}.app-hero .app-glyph{width:61px;height:61px;flex-shrink:0;border-radius:19px;font-size:25px}.app-hero h2{font-size:16px;margin:0 0 5px}.rating{color:#ffd36c;font-size:10px}.pill{display:inline-flex;padding:5px 8px;border-radius:30px;background:#ffffff12;color:var(--muted);font-size:9px}.store-tabs{display:flex;gap:7px;overflow:auto;margin:0 0 15px;padding-bottom:3px}.store-tabs button{white-space:nowrap;background:#ffffff0c;border:1px solid var(--line);border-radius:20px;padding:8px 12px;font-size:10px}.store-tabs button.active{background:#8879ff;color:#fff}.store-item{display:flex;gap:11px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.store-item .app-glyph{width:46px;height:46px;flex-shrink:0;border-radius:14px}.store-item .store-meta{flex:1;min-width:0}.store-item strong{display:block;font-size:11px;margin-bottom:4px}.store-item small{display:block;color:var(--muted);font-size:9px;line-height:1.6}.store-item button{font-size:9px;padding:8px 10px}.storage-bar,.progress{height:8px;background:#ffffff13;border-radius:20px;overflow:hidden}.storage-bar span,.progress span{height:100%;display:block;border-radius:20px;background:linear-gradient(90deg,#a396ff,#5be7d1);transition:width .25s}.stat-row{display:flex;justify-content:space-between;gap:12px;font-size:10px;margin:13px 0 7px}.setting-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.setting-row>i{width:20px;text-align:center;color:#a99bff}.setting-row div{flex:1}.setting-row strong{display:block;font-size:11px}.setting-row small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.setting-row input[type=checkbox]{accent-color:#9383ff;width:17px;height:17px}.setting-row input[type=range]{width:110px;accent-color:#9b8cff}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.photo-thumb{aspect-ratio:1;border-radius:12px;overflow:hidden;position:relative;background:#252d43}.photo-thumb img{width:100%;height:100%;object-fit:cover}.photo-thumb button{position:absolute;bottom:5px;right:5px;background:#0009;border-radius:7px;padding:5px;font-size:10px}.empty-state{text-align:center;padding:38px 15px;color:var(--muted)}.empty-state i{font-size:32px;display:block;margin-bottom:12px;color:#9a8cff}.empty-state strong{display:block;color:var(--text);font-size:12px;margin-bottom:6px}.chat-list-item{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);cursor:pointer}.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#6ce6c2,#5b74df);font-size:15px;flex-shrink:0}.chat-list-item div:nth-child(2){flex:1}.chat-list-item strong{font-size:11px}.chat-list-item p{font-size:9px;color:var(--muted);margin:5px 0 0}.chat-messages{display:flex;flex-direction:column;gap:9px;padding-bottom:15px}.bubble{max-width:85%;padding:10px 12px;border-radius:14px;font-size:11px;line-height:1.55;background:#1b2540;align-self:flex-start;overflow-wrap:anywhere}.bubble.mine{background:#655bd0;align-self:flex-end;border-bottom-right-radius:4px}.bubble.theirs{border-bottom-left-radius:4px}.chat-compose{display:flex;gap:7px;position:sticky;bottom:-26px;background:var(--bg);padding:10px 0 0}.chat-compose input{flex:1;min-width:0;background:var(--surface2);border:1px solid var(--line);border-radius:20px;padding:11px;color:var(--text);font-size:11px}.chat-compose button{width:39px;border-radius:50%;background:#8577f6}.ai-message{padding:13px;border-radius:16px;background:var(--surface);font-size:11px;line-height:1.7;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.ai-compose textarea{flex:1;min-width:0;min-height:43px;max-height:90px}.camera-view{height:310px;border-radius:18px;background:radial-gradient(ellipse,#354a6c,#080c16 75%);overflow:hidden;position:relative;display:grid;place-items:center}.camera-view video,.camera-view canvas{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.camera-view .camera-placeholder{z-index:1;text-align:center;color:#c2c8dd}.camera-view .camera-placeholder i{font-size:38px;display:block;margin-bottom:12px}.camera-controls{display:flex;justify-content:center;align-items:center;gap:17px;margin:16px 0}.shutter{width:62px;height:62px;border-radius:50%;background:#fff;border:5px solid #aaa;box-shadow:0 0 0 3px #ffffff66}.filter-chip{background:#ffffff12;border:1px solid var(--line);border-radius:20px;padding:8px 10px;font-size:9px}.filter-chip.active{background:#8274f2}.song-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line)}.song-art{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#ff87c4,#8d69ff);font-size:17px}.song-row div:nth-child(2){flex:1}.song-row strong{font-size:11px}.song-row small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.visualizer{height:70px;display:flex;align-items:center;justify-content:center;gap:4px}.visualizer span{width:4px;height:15px;border-radius:5px;background:linear-gradient(#9d8bff,#59e7ce);animation:wave .7s ease-in-out infinite alternate}.visualizer span:nth-child(3n){animation-delay:.2s}.visualizer span:nth-child(2n){animation-delay:.4s}@keyframes wave{to{height:55px}}.visualizer.paused span{animation-play-state:paused}.game-canvas{width:100%;border-radius:15px;background:#111a2b;display:block;touch-action:manipulation}.game-controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:12px 0}.game-controls button{padding:10px 14px;border-radius:11px;background:#242d47;font-size:11px}.game-controls button.active{background:#8173f6}.tic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;max-width:260px;margin:15px auto}.tic-cell{aspect-ratio:1;border-radius:13px;background:#1e2942;font-size:30px;font-weight:800;color:#a89bff}.tic-cell:disabled{opacity:.8}.wallpaper-option{height:92px;border-radius:14px;border:2px solid transparent;display:flex;align-items:flex-end;padding:10px;font-size:10px;font-weight:700;text-shadow:0 1px 4px #000}.wallpaper-option.selected{border-color:#fff}.wallpaper-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.notification-item{padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.notification-item small{display:block;color:var(--muted);font-size:9px;margin-top:5px}
body.light-mode{--bg:#f2f4fa;--surface:#fff;--surface2:#e8ebf5;--text:#1b2035;--muted:#6e7690;--line:rgba(30,40,70,.12);--glass:rgba(245,247,255,.9)}body.light-mode .app-content{background:var(--bg)}body.light-mode .bubble.theirs{background:#e4e8f5}body.light-mode .quick-panel,body.light-mode .recent-panel{background:#edf0f9f5}body.light-mode .quick-tile{background:#dfe4f5;color:#1b2035}body.light-mode .quick-tile.active{background:#8173f6;color:#fff}body.light-mode .recent-card{background:#fff}
@media(max-width:800px){.stage{padding:0;display:block;min-height:100vh}.phone{width:100%;height:100dvh;min-height:600px;padding:0;border:0;border-radius:0;box-shadow:none}.phone:before{top:8px}.screen{border-radius:0}.side-info{display:none}.status-bar{padding-top:10px}.home-screen{padding-top:57px}.lock-screen{padding-top:65px}.lock-clock{margin-top:90px}.nav-bar{height:28px}.app-window{inset:38px 0 28px}}
@media(min-width:801px) and (max-height:720px){.phone{height:calc(100vh - 20px);min-height:0}.side-info .brand-mark{margin-bottom:25px}.side-info h2{font-size:34px}}


/* =========================================================
   GYOBITE PATCH — CUSTOM APP RUNTIME, DRAMA & TOUCH UX
========================================================= */
html,body{overscroll-behavior:none;touch-action:pan-y; -webkit-text-size-adjust:100%}button,.app-icon,.nav-bar{touch-action:manipulation}.screen{touch-action:pan-y;overscroll-behavior:contain}.app-grid{padding-bottom:10px}.app-icon[draggable="true"]{cursor:grab;user-select:none;-webkit-user-select:none}.app-icon[draggable="true"]:active{cursor:grabbing}.drawer-grid{margin-top:15px}.custom-app-runtime{height:100%;min-height:300px;margin:-16px -15px -26px;display:flex;flex-direction:column;background:var(--bg)}#customFrame{display:block;width:100%;height:100%;min-height:430px;flex:1;border:0;background:#f5f7fc;border-radius:0}.drama-card{display:flex;gap:12px;padding:12px;margin:12px 0;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden}.drama-poster{width:105px;min-width:105px;min-height:155px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;box-shadow:inset 0 0 35px #0002}.drama-poster i{font-size:32px}.drama-poster span{font-size:9px;letter-spacing:2px;font-weight:800}.drama-info{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:5px}.drama-info strong{font-size:13px}.drama-info small{font-size:10px;color:var(--muted)}.drama-info p{font-size:11px;line-height:1.55;color:var(--muted);margin:3px 0 7px}.drama-info .primary-btn{margin-top:auto;font-size:10px;padding:9px 10px}.drama-playing{text-align:center;padding:22px 14px}.drama-playing>i{font-size:42px;color:#a99bff}.drama-playing .progress{margin:18px 0}.hidden{display:none!important}@media(max-width:420px){.drama-card{gap:9px;padding:9px}.drama-poster{width:82px;min-width:82px;min-height:135px}.drama-info p{font-size:10px}.app-content{overscroll-behavior:contain}}

/* Gyobite V1 feature fixes */
.ai-message.ai-user{background:#5f55c7;color:#fff;margin-left:12%;border-bottom-right-radius:5px}
#customFrame{pointer-events:auto;position:relative;z-index:1;min-height:480px}
.custom-app-runtime{position:relative;isolation:isolate;overflow:auto}
#musicAudio{display:block;max-width:100%;color-scheme:dark}
#dramaPlayer iframe,#dramaPlayer video{display:block}
#wallpaperUpload{max-width:100%}

.custom-app-runtime{position:relative;width:100%;height:100%;min-height:430px;flex:1;overflow:hidden;background:#080812}.custom-app-runtime #customFrame{width:100%;height:100%;min-height:430px;flex:1;display:block;border:0;background:#080812}.custom-app-error{position:absolute;z-index:20;top:8px;left:8px;right:8px;padding:10px;border-radius:10px;background:#7f1d1d;color:#fff;font-size:11px;white-space:pre-wrap}


/* GYO RENTAL ACCESS + DEVICE BOOT */
.rental-gate{position:fixed;z-index:1000;inset:0;overflow:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 18px;background:radial-gradient(ellipse at 15% 10%,#25214f 0,transparent 38%),radial-gradient(ellipse at 90% 90%,#073b46 0,transparent 32%),#070914;color:#f6f7ff;text-align:center}
.rental-brand{display:flex;align-items:center;gap:11px;margin-bottom:18px;text-align:left}
.rental-logo,.boot-orb{display:grid;place-items:center;background:linear-gradient(145deg,#a99bff,#5be7d1);color:#11152a;font-weight:900}
.rental-logo{width:42px;height:42px;border-radius:14px;font-size:24px}
.rental-brand strong{display:block;font-size:17px;letter-spacing:3px}.rental-brand small{display:block;margin-top:4px;color:#9ba6c4;font-size:9px;letter-spacing:1.5px}
.rental-lock-icon{width:62px;height:62px;border:1px solid #ffffff25;background:#ffffff0c;border-radius:22px;display:grid;place-items:center;color:#a99bff;font-size:25px;margin:8px 0 14px}
.rental-kicker{font-size:10px;letter-spacing:3px;color:#a99bff;font-weight:800;margin:0 0 8px}
.rental-gate h1{font-size:clamp(25px,5vw,38px);letter-spacing:-1.2px;margin:0}.rental-gate h1 span{color:#ff8eaa}
.rental-description{max-width:430px;color:#aeb7d1;font-size:12px;line-height:1.7;margin:10px auto 18px}
.coin-balance{display:flex;align-items:center;gap:12px;padding:12px 20px;border:1px solid #ffffff1c;border-radius:16px;background:#ffffff0b;min-width:190px;text-align:left}
.coin-balance>i{font-size:24px;color:#ffd36c}.coin-balance small{display:block;color:#aeb7d1;font-size:10px}.coin-balance strong{display:block;font-size:21px;margin-top:2px;font-variant-numeric:tabular-nums}
.tap-card{width:min(420px,100%);margin:14px 0 20px;padding:13px;border:1px solid #ffffff18;border-radius:20px;background:#ffffff09}
.tap-coin-button{width:100%;min-height:105px;border-radius:15px;background:linear-gradient(125deg,#7768e8,#3a9f9b);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#fff;transition:transform .1s,filter .1s}
.tap-coin-button:active{transform:scale(.97);filter:brightness(1.2)}.tap-coin-button>i{font-size:23px}.tap-coin-button strong{font-size:13px;letter-spacing:1.5px}.tap-coin-button small{font-size:10px;color:#e5e8ff}
.tap-progress{height:5px;border-radius:10px;background:#ffffff18;overflow:hidden;margin-top:12px}.tap-progress span{display:block;width:0;height:100%;background:#5be7d1;transition:width .2s}.tap-help{display:block;margin-top:8px;color:#9ba6c4;font-size:9px}
.rental-options{width:min(520px,100%)}.rental-options h2{font-size:15px;margin:0 0 10px;text-align:left}
.rental-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.rental-plan{display:flex;flex-direction:column;gap:7px;align-items:flex-start;text-align:left;padding:12px 10px;border:1px solid #ffffff1c;border-radius:14px;background:#ffffff0b;color:#fff}
.rental-plan.selected{border-color:#9b8cff;background:#9b8cff20;box-shadow:0 0 0 1px #9b8cff55}
.rental-plan strong{font-size:12px}.rental-plan b{font-size:15px;color:#ffd36c}.rental-plan b i{font-size:11px}.rental-plan small{font-size:9px;color:#aeb7d1}
.rent-now-button{width:100%;margin-top:12px;padding:14px;border-radius:13px;background:linear-gradient(110deg,#9b8cff,#5b74df);font-size:12px;font-weight:800;color:#fff}
.rent-now-button:disabled{opacity:.4;cursor:not-allowed}.rental-footnote{display:block;color:#8e99b8;font-size:9px;margin-top:9px}
.gyo-boot{position:fixed;z-index:1100;inset:0;background:#03050b;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff}
.gyo-boot.hidden{display:none!important}.boot-orb{width:82px;height:82px;border-radius:27px;font-size:48px;box-shadow:0 0 55px #8d7dff66;animation:bootPulse 1.5s ease-in-out infinite}
.boot-brand{font-size:31px;font-weight:800;letter-spacing:12px;margin:22px 0 4px;padding-left:12px}.boot-model{font-size:10px;letter-spacing:4px;color:#9ba6c4}
.boot-loader{width:145px;height:3px;background:#ffffff20;border-radius:9px;overflow:hidden;margin-top:42px}.boot-loader span{display:block;width:35%;height:100%;background:#9b8cff;border-radius:9px;animation:bootLoad 2.5s ease-in-out infinite}
.gyo-boot p{font-size:10px;color:#9ba6c4;margin-top:15px}
@keyframes bootPulse{50%{transform:scale(1.07);box-shadow:0 0 75px #5be7d166}}
@keyframes bootLoad{from{transform:translateX(-110%)}to{transform:translateX(420%)}}
.rental-timer-chip{position:fixed;z-index:50;right:14px;top:12px;padding:7px 10px;border:1px solid #ffffff25;border-radius:20px;background:#11182bdc;color:#fff;font-size:10px;backdrop-filter:blur(12px)}
@media(max-width:520px){.rental-gate{justify-content:flex-start;padding-top:25px}.rental-brand{margin-bottom:8px}.rental-lock-icon{width:50px;height:50px}.rental-gate h1{font-size:26px}.rental-description{font-size:11px;margin:8px auto 13px}.tap-card{margin:10px 0 15px}.tap-coin-button{min-height:88px}.rental-plan{padding:10px 7px}.rental-plan strong{font-size:11px}.rental-plan b{font-size:13px}.rental-plan small{font-size:8px}}

/* GYO RENTAL UI — contained entirely inside the phone display */
.lock-screen{overflow:hidden;padding:68px 20px 24px}
.lock-screen .lock-clock{margin-top:48px;font-size:56px}
.locked-label{margin-top:12px;padding:7px 13px;border:1px solid #ff8eaa55;background:#ff6d9120;border-radius:30px;color:#ff9bb2;font-size:10px;font-weight:800;letter-spacing:1.8px}
.unlock-button{display:none!important}
.rental-float-button{position:absolute;z-index:15;left:50%;bottom:22px;transform:translateX(-50%);display:flex;align-items:center;gap:9px;padding:13px 20px;border-radius:30px;background:linear-gradient(120deg,#a396ff,#388f9d);box-shadow:0 12px 35px #0008;color:white;font-size:12px;font-weight:800;white-space:nowrap}
.rental-float-button i{font-size:17px;color:#ffe08a}
.rental-panel{position:absolute;z-index:25;left:0;right:0;bottom:0;max-height:88%;overflow:auto;padding:12px 16px 24px;background:rgba(12,17,34,.98);border:1px solid #ffffff20;border-bottom:0;border-radius:26px 26px 0 0;box-shadow:0 -18px 45px #0008;backdrop-filter:blur(24px);transform:translateY(110%);transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.rental-panel.open{transform:translateY(0)}
.rental-panel-handle{width:42px;height:4px;border-radius:8px;background:#ffffff55;margin:0 auto 15px}
.rental-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.rental-panel-head small{font-size:8px;letter-spacing:2px;color:#a99bff;font-weight:800}
.rental-panel-head h2{font-size:19px;margin:4px 0 0}
.rental-panel-head>button{width:32px;height:32px;border-radius:50%;background:#ffffff15}
.rental-panel .coin-balance{width:100%;min-width:0;padding:10px 14px}
.rental-panel .tap-card{width:100%;margin:10px 0 13px;padding:10px}
.rental-panel .tap-coin-button{min-height:78px}
.rental-panel .rental-options h2{font-size:13px;margin:0 0 9px}
.rental-panel .rental-plans{gap:6px}
.rental-panel .rental-plan{padding:9px 5px}
.rental-panel .rental-plan strong{font-size:10px}
.rental-panel .rental-plan b{font-size:12px}
.rental-panel .rental-plan small{font-size:8px}
.rental-panel .rent-now-button{margin-top:9px}
.phone-rental-timer{margin:15px auto 0;width:100%;padding:13px 10px;border-radius:17px;border:1px solid #ffffff28;background:#090e20d9;display:flex;flex-direction:column;gap:4px}
.phone-rental-timer small,.active-rental-timer small{font-size:8px;letter-spacing:2px;color:#c2baff;font-weight:800}
.phone-rental-timer strong{font-size:27px;letter-spacing:2px;font-variant-numeric:tabular-nums}
.active-rental-timer{position:absolute;z-index:13;top:40px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;padding:5px 16px 7px;border:1px solid #ffffff30;border-radius:0 0 14px 14px;background:#090e20e8;min-width:180px}
.active-rental-timer strong{font-size:20px;letter-spacing:2px;color:#7ff0d1;font-variant-numeric:tabular-nums}
.gyo-boot{position:absolute;z-index:40;inset:0;border-radius:39px;background:#02040a;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white}
.gyo-boot.hidden{display:none!important}
.gyoweb-shortcuts{display:flex;gap:7px;margin:8px 0 12px}
.gyoweb-shortcuts button{padding:8px 12px;border-radius:20px;background:#ffffff12;border:1px solid var(--line);font-size:10px}
.gyoweb-frame-wrap{height:310px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}
.gyoweb-frame-wrap iframe{width:100%;height:100%;border:0;background:white}
.glyph-web{background:linear-gradient(145deg,#65d7f2,#3c69d7)}
@media(max-width:520px){
 .stage{padding:8px;min-height:100vh;align-items:center}
 .phone{width:min(100%,390px);height:min(820px,calc(100dvh - 16px));min-height:600px}
 .side-info{display:none}
 .lock-screen .lock-clock{margin-top:35px;font-size:50px}
 .rental-panel{max-height:90%}
 .phone-rental-timer strong{font-size:25px}
}

.external-tools{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.external-tools a{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:12px;text-decoration:none;font-size:12px;font-weight:700;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);color:inherit}.external-tools a:hover{background:rgba(255,255,255,.16)}

/* Rental and wallet controls live outside the virtual phone frame. */
.external-rental-card{margin-top:18px;position:relative}.external-rental-card .rental-float-button{position:relative;left:auto;bottom:auto;transform:none}.external-rental-card .rental-panel{position:fixed;z-index:1000;left:auto;right:24px;bottom:24px;width:min(420px,calc(100vw - 32px));max-height:82vh;border-radius:24px;border:1px solid #ffffff25;transform:translateY(115%)}.external-rental-card .rental-panel.open{transform:translateY(0)}@media(max-width:800px){.side-info{display:block;width:auto;padding:24px 18px 40px}.external-rental-card .rental-panel{right:12px;bottom:12px;width:calc(100vw - 24px);max-height:78vh}.side-info .brand-mark{margin-bottom:20px}.side-info h2{font-size:28px}}


/* BUILD 102: account navigation and responsive phone frame */
.site-topbar{position:relative;z-index:100;min-height:58px;padding:10px clamp(14px,4vw,42px);display:flex;align-items:center;justify-content:space-between;gap:14px;background:#101426;border-bottom:1px solid rgba(255,255,255,.12);color:#fff}
.site-brand{font-weight:900;letter-spacing:1px;font-size:18px;color:#fff;text-decoration:none}.site-brand span{color:#a99bff}
.site-account-nav{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.site-account-nav a,.site-account-nav button{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border:1px solid #ffffff25;border-radius:10px;background:#202a43;color:#f4f5ff;text-decoration:none;font:700 12px Inter,Arial,sans-serif;cursor:pointer}.site-account-nav .site-register{background:#9b8cff;color:#11152a;border-color:transparent}
.stage{min-height:calc(100dvh - 58px);padding:18px 14px;display:flex;align-items:center;justify-content:center;gap:clamp(18px,4vw,60px)}
.phone{width:min(390px,calc(100vw - 28px));height:min(820px,calc(100dvh - 92px));min-height:560px;border-radius:42px}
@media(max-width:800px){.stage{display:flex;flex-direction:column;min-height:calc(100dvh - 58px);padding:12px 8px;align-items:center}.phone{width:min(390px,calc(100vw - 16px));height:min(820px,calc(100dvh - 82px));min-height:540px;padding:8px;border:1px solid rgba(255,255,255,.24);border-radius:42px;box-shadow:0 20px 55px #0009}.screen{border-radius:34px}.phone:before{top:12px}.side-info{display:block;width:min(390px,calc(100vw - 16px));padding:8px 0 22px}.side-info .brand-mark,.side-info h2,.side-info>p,.side-info .spec-cards,.side-info .external-tools,.side-info .side-hint{display:none}.external-rental-card{display:block;width:100%;margin:0}.external-rental-card .rental-float-button{width:100%;justify-content:center}.external-rental-card .rental-panel{right:12px;bottom:12px;width:calc(100vw - 24px);max-height:78vh}}
@media(max-width:480px){.site-topbar{padding:8px 10px;min-height:54px}.site-brand{font-size:16px}.site-account-nav{gap:5px}.site-account-nav a,.site-account-nav button{padding:8px 9px;font-size:11px}.stage{min-height:calc(100dvh - 54px);padding:8px 5px}.phone{width:calc(100vw - 10px);height:calc(100dvh - 70px);min-height:500px;border-radius:34px}.screen{border-radius:27px}}


/* BUILD 103 — stable site navigation, rental badge, responsive frame and launcher paging */
html,body{width:100%;max-width:100%;overflow-x:hidden;overscroll-behavior:none}
.site-topbar{position:sticky!important;top:0!important;z-index:2000!important;display:flex!important;visibility:visible!important;opacity:1!important;min-height:58px;padding:9px clamp(12px,3vw,38px);background:rgba(10,14,29,.98);border-bottom:1px solid rgba(255,255,255,.16);box-shadow:0 8px 24px rgba(0,0,0,.22);backdrop-filter:blur(18px)}
.site-topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;flex-wrap:wrap}
.site-account-nav{display:flex!important;visibility:visible!important;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.site-account-nav a,.site-account-nav button{white-space:nowrap;min-height:34px}
.site-rental-badge{display:flex;align-items:center;gap:8px;padding:7px 11px;border-radius:12px;border:1px solid rgba(91,231,209,.32);background:rgba(17,91,85,.28);white-space:nowrap}
.site-rental-badge span{font-size:8px;letter-spacing:1.4px;font-weight:800;color:#80e9d3}
.site-rental-badge strong{font-size:13px;font-variant-numeric:tabular-nums;color:#fff;letter-spacing:1px}
.stage{min-height:calc(100dvh - 58px);padding:18px clamp(8px,2vw,24px);gap:clamp(16px,4vw,60px);align-items:center}
.phone{height:min(820px,calc(100dvh - 98px));min-height:min(540px,calc(100dvh - 98px));max-height:820px}
.screen{touch-action:pan-x pan-y;overscroll-behavior:contain}
.launcher-pages{display:flex;width:100%;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y;min-height:224px}
.launcher-pages::-webkit-scrollbar{display:none}
.launcher-page{flex:0 0 100%;width:100%;min-width:100%;scroll-snap-align:start;scroll-snap-stop:always}
.launcher-page .app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(68px,auto));align-content:start;gap:14px 5px;padding:2px 1px 8px;min-height:218px}
.launcher-page .app-icon{width:100%;min-width:0;min-height:67px;gap:6px}
.launcher-page .app-icon small{max-width:100%;font-size:9px;text-align:center}
.launcher-page-dots{height:14px;display:flex;justify-content:center;align-items:center;gap:7px;margin:2px 0 5px}
.launcher-dot{width:6px;height:6px;min-width:6px;border-radius:50%;padding:0;background:#ffffff45;transition:width .2s,background .2s}
.launcher-dot.active{width:18px;border-radius:6px;background:#a99bff}
.active-rental-timer{display:none!important}
@media(max-width:800px){
 .site-topbar{min-height:56px;padding:7px 10px;gap:8px}
 .site-topbar-right{gap:6px}
 .site-account-nav{gap:5px}
 .site-account-nav a,.site-account-nav button{padding:7px 8px;font-size:10px;min-height:32px}
 .site-rental-badge{padding:6px 8px;gap:5px}
 .site-rental-badge span{font-size:7px}
 .site-rental-badge strong{font-size:11px}
 .stage{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-height:0;padding:10px 7px 18px}
 .phone{width:min(410px,calc(100vw - 14px));height:min(780px,calc(100dvh - 100px));min-height:min(470px,calc(100dvh - 100px));padding:7px;border-radius:38px}
 .screen{border-radius:30px}
 .side-info{display:block;width:min(410px,calc(100vw - 18px));padding:2px 0 20px}
 .side-info .brand-mark,.side-info h2,.side-info>p,.side-info .spec-cards,.side-info .external-tools,.side-info .side-hint{display:none}
 .external-rental-card{display:block;width:100%;margin:0}
 .external-rental-card .rental-float-button{width:100%;justify-content:center}
 .external-rental-card .rental-panel{right:10px;bottom:10px;width:calc(100vw - 20px);max-height:min(80dvh,680px)}
}
@media(max-width:480px){
 .site-topbar{align-items:flex-start;min-height:54px;padding:7px 9px}
 .site-brand{font-size:15px;line-height:34px}
 .site-topbar-right{flex:1;justify-content:flex-end;gap:5px}
 .site-account-nav{gap:4px}
 .site-account-nav a,.site-account-nav button{padding:6px 7px;font-size:9px}
 .site-rental-badge{padding:5px 6px;gap:4px}
 .site-rental-badge span{font-size:6px;letter-spacing:.8px}
 .site-rental-badge strong{font-size:10px}
 .phone{width:calc(100vw - 14px);height:calc(100dvh - 90px);min-height:0;max-height:780px;border-radius:34px}
 .screen{border-radius:27px}
 .home-screen{padding:56px 13px 82px}
 .home-heading h1{font-size:23px}
 .app-glyph{width:44px;height:44px;border-radius:14px}
 .launcher-pages{min-height:205px}
 .launcher-page .app-grid{grid-template-rows:repeat(3,minmax(63px,auto));min-height:195px;gap:10px 3px}
 .launcher-page .app-icon{min-height:62px}
 .launcher-page .app-icon small{font-size:8px}
}
@media(max-height:640px) and (max-width:800px){
 .phone{height:calc(100dvh - 78px);min-height:0}
 .home-screen{padding-top:48px}
 .widget-row{margin:9px 0 12px}
 .launcher-pages,.launcher-page .app-grid{min-height:170px}
 .launcher-page .app-grid{grid-template-rows:repeat(3,minmax(55px,auto));gap:7px 3px}
 .launcher-page .app-icon{min-height:54px}
 .app-glyph{width:39px;height:39px}
}


/* BUILD 103 — touch scrolling and narrow-screen stability */
html,body{touch-action:auto!important}
.screen{touch-action:pan-x pan-y!important}
.home-screen{overscroll-behavior:contain;touch-action:pan-y}
.launcher-pages{touch-action:pan-x!important;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.launcher-page{min-width:100%;flex-basis:100%}
.launcher-page .app-icon{touch-action:pan-y}
.site-topbar{width:100%;flex-wrap:nowrap}
.site-rental-badge[hidden],.site-account-nav[hidden]{display:none!important}
@media(max-width:520px){
 .site-topbar{min-height:54px;align-items:center;padding-inline:8px}
 .site-brand{flex:0 0 auto}
 .site-topbar-right{flex:1;min-width:0;justify-content:flex-end;flex-wrap:wrap}
 .site-account-nav{flex-wrap:wrap;justify-content:flex-end}
 .site-account-nav a,.site-account-nav button{min-height:30px;padding:6px 7px;font-size:9px}
 .site-rental-badge{padding:5px 6px}
 .site-rental-badge span{display:none}
 .site-rental-badge strong{font-size:10px}
 .phone{width:min(calc(100vw - 14px),410px);height:min(calc(100dvh - 80px),780px);min-height:0}
 .home-screen{overflow-y:auto;overflow-x:hidden;padding-bottom:84px}
 .launcher-pages{min-height:205px}
}


/* GyoWeb browser/search layout */
.gyoweb-search{display:flex;gap:7px;margin:4px 0 10px}
.gyoweb-search input{flex:1;min-width:0;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);font-size:11px}
.gyoweb-search button{flex:0 0 42px}
.gyoweb-results{display:flex;flex-direction:column;gap:8px;margin:10px 0 14px}
.gyoweb-result{padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}
.gyoweb-result strong{font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.gyoweb-result p{font-size:10px;line-height:1.55;color:var(--muted);margin:6px 0 9px;overflow-wrap:anywhere}
.gyoweb-result>div{display:flex;align-items:center;gap:9px}
.gyoweb-result a{font-size:10px;color:#a99bff;text-decoration:none}
.gyoweb-frame-wrap{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#f5f7fc}
.gyoweb-frame-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;background:var(--surface);color:var(--text)}
.gyoweb-frame-head strong{font-size:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gyoweb-frame-head button{padding:7px 9px;font-size:9px}
.gyoweb-frame-head button:disabled{opacity:.45;cursor:not-allowed}
.gyoweb-frame-wrap iframe{display:block;width:100%;height:300px;border:0;background:#f5f7fc}
@media(max-width:420px){.gyoweb-frame-wrap iframe{height:245px}}


/* BUILD 104 — remove side login/admin and coin tapping controls; GyoChat uses live Gyo AI */
.external-tools{display:none!important}
.external-rental-card .rental-float-button{background:linear-gradient(120deg,#8275ec,#418f9d)}
.rental-panel-head h2{font-size:19px}
.rental-footnote{display:block;line-height:1.55;color:#aeb7d1;font-size:9px;margin-top:12px}
.chat-ai-header{display:flex;align-items:center;gap:10px;padding:4px 0 12px;border-bottom:1px solid var(--line)}
.chat-ai-header .avatar{background:linear-gradient(145deg,#a99bff,#5be7d1);color:#151a32;font-weight:900}
.chat-ai-title{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}
.chat-ai-title strong{font-size:13px}
.chat-ai-title small{font-size:9px;color:var(--muted)}
.chat-online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#55dca5;margin-right:4px}
.chat-ai-note{margin:10px 0 12px;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--muted);font-size:9px;line-height:1.55}
.chat-ai-footnote{margin:9px 0 0;text-align:center;line-height:1.45}
.chat-messages{min-height:190px;max-height:calc(100dvh - 310px);overflow:auto;overscroll-behavior:contain;padding:5px 1px 12px;scroll-behavior:smooth}
.chat-compose{position:sticky;bottom:-18px;z-index:2;align-items:center;padding:9px 0 5px;background:var(--bg)}
.chat-compose input{font-size:12px;min-height:42px}
.chat-compose button{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;color:#fff}
.chat-error{background:#6a2638!important;border:1px solid #ff8fa5!important;color:#ffe8ee!important}
.chat-pending{opacity:.72;font-style:italic}
@media(max-width:480px){.chat-messages{max-height:calc(100dvh - 290px);min-height:150px}.chat-compose{bottom:-18px}}


/* BUILD 104 navigation placement: rental controls are in the top bar, never under the hero */
.rental-overlay-host{position:relative;z-index:1000}
.rental-overlay-host .rental-panel{position:fixed;z-index:1000;left:auto;right:24px;bottom:24px;width:min(420px,calc(100vw - 32px));max-height:82vh;border-radius:24px;border:1px solid #ffffff25;transform:translateY(115%)}
.rental-overlay-host .rental-panel.open{transform:translateY(0)}
.site-wallet-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:8px 12px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:linear-gradient(120deg,#8275ec,#418f9d);color:#fff;font:700 11px Inter,Arial,sans-serif;white-space:nowrap;cursor:pointer}
.site-wallet-btn i{color:#ffe08a}
@media(max-width:800px){.rental-overlay-host .rental-panel{right:12px;bottom:12px;width:calc(100vw - 24px);max-height:78vh}}
@media(max-width:480px){.site-wallet-btn{min-height:32px;padding:7px 8px;font-size:10px}.rental-overlay-host .rental-panel{right:8px;bottom:8px;width:calc(100vw - 16px)}}

/* Build 107 — GyoWeb full view, Gyo Files cloud storage, native themed dialogs */
.gyoweb-shell{height:100%;min-height:100%;display:flex;flex-direction:column;gap:15px;padding:clamp(12px,3vw,22px);overflow:auto;background:var(--surface,#f6f7fb);color:var(--text,#202432);border-radius:16px}.gyoweb-brand{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px}.gyoweb-brand h2{margin:0;font-size:24px}.gyoweb-brand small{color:var(--muted,#858da0)}.gyoweb-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#687de8,#3a9fba);color:white;font-size:22px}.gyoweb-search-full{width:min(100%,760px);margin:0 auto;display:flex;gap:8px;padding:7px;border:1px solid var(--border,#dfe3ed);border-radius:17px;background:var(--card,#fff);box-shadow:0 7px 24px #17213b12}.gyoweb-search-full input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:var(--text,#202432)!important;padding:12px!important}.gyoweb-search-full button{min-width:48px;border-radius:12px}.gyoweb-categories{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.gyoweb-category{padding:8px 13px;border-radius:99px;background:var(--card,#fff);font-size:12px;color:var(--muted,#747d91)}.gyoweb-category.active{background:var(--primary-soft,#e9edff);color:var(--primary,#6378dc);font-weight:700}.gyoweb-category.disabled{opacity:.55}.gyoweb-category small{font-size:9px}.gyoweb-status{width:min(100%,820px);margin:0 auto;font-size:11px;color:var(--muted,#8991a1)}.gyoweb-results-full{width:min(100%,820px);margin:0 auto;display:flex;flex-direction:column;gap:10px}.gyoweb-welcome{margin:20px auto;text-align:center;max-width:430px;padding:24px 14px;color:var(--muted,#8790a0)}.gyoweb-welcome>i{font-size:34px;color:var(--primary,#7384e6)}.gyoweb-welcome h3{color:var(--text,#242a3a);margin:12px 0 6px}.gyoweb-welcome p{line-height:1.6;margin:0}.gyoweb-result{padding:14px 16px;border:1px solid var(--border,#e3e6ef);border-radius:13px;background:var(--card,#fff)}.gyoweb-result-host{font-size:10px;color:var(--muted,#858da0);margin-bottom:5px}.gyoweb-result-title{font-size:15px;font-weight:700;color:var(--primary,#6378dc);text-decoration:none}.gyoweb-result p{font-size:12px;line-height:1.6;color:var(--muted,#737d90);margin:7px 0}.gyoweb-result-actions{display:flex;align-items:center;gap:12px;font-size:11px}.gyoweb-result-actions a{color:var(--primary,#6378dc)}.gyoweb-preview{width:min(100%,1000px);margin:0 auto;border:1px solid var(--border,#e3e6ef);border-radius:13px;overflow:hidden;background:var(--card,#fff)}.gyoweb-preview[hidden]{display:none}.gyoweb-preview-head{display:flex;justify-content:space-between;align-items:center;padding:10px 13px}.gyoweb-preview iframe{width:100%;height:45vh;border:0}.gyoweb-preview p{padding:0 13px}
.gyofiles-shell{min-height:100%;display:flex;flex-direction:column;gap:16px;padding:clamp(13px,2.8vw,24px);overflow:auto;background:radial-gradient(ellipse at 8% 0%,rgba(117,133,255,.13),transparent 42%)}.gyofiles-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 1px}.gyofiles-head h2{margin:0;font-size:clamp(21px,4vw,27px);letter-spacing:-.5px}.gyofiles-head p{margin:5px 0 0;color:var(--muted,#8990a0);font-size:12px}.gyofiles-upload{display:inline-flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap;border-radius:13px!important;box-shadow:0 7px 22px rgba(102,120,230,.2)}.gyofiles-storage{position:relative;overflow:hidden;padding:18px;border-radius:19px;background:linear-gradient(135deg,rgba(103,120,229,.18),var(--card,#202431) 68%);border:1px solid color-mix(in srgb,var(--primary,#7789ed) 25%,var(--border,#343b4b));box-shadow:0 12px 28px rgba(0,0,0,.09)}.gyofiles-storage:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-34px;top:-54px;background:rgba(130,147,255,.10);pointer-events:none}.gyofiles-storage-top{display:flex;justify-content:space-between;gap:10px;margin-bottom:13px;position:relative;z-index:1}.gyofiles-storage-top strong{font-size:13px}.gyofiles-storage-top span{font-size:12px;font-weight:700;color:var(--text,#fff);font-variant-numeric:tabular-nums}.gyofiles-storage-top span{max-width:62%;text-align:right;line-height:1.45;overflow-wrap:anywhere}.gyofiles-storage small{display:block;margin-top:2px}.gyofiles-storage{background:linear-gradient(125deg,rgba(103,120,229,.2),var(--card,#202431) 72%)}.gyofiles-storage small{font-size:10px;line-height:1.5;color:var(--muted,#9ba3b2)}.gyofiles-meter{height:9px;border-radius:99px;background:#9299aa25;overflow:hidden;margin-bottom:10px;position:relative;z-index:1}.gyofiles-meter span{display:block;height:100%;width:0;background:linear-gradient(90deg,#7185ef,#a78bfa);border-radius:99px;transition:width .25s ease}.gyofiles-toolbar{display:flex;align-items:center;justify-content:space-between;padding:0 2px}.gyofiles-toolbar strong{font-size:14px}.gyofiles-list{display:flex;flex-direction:column;gap:9px}.gyofiles-item{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--border,#343b4b);border-radius:15px;background:var(--card,#202431);min-width:0;transition:transform .16s,border-color .16s,background .16s}.gyofiles-item:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--primary,#7789ed) 48%,var(--border,#343b4b))}.gyofiles-fileicon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:13px;background:var(--primary-soft,#7789ed20);color:var(--primary,#8293ff);font-size:17px}.gyofiles-fileinfo{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.gyofiles-fileinfo strong{font-size:12px;overflow-wrap:anywhere;line-height:1.35}.gyofiles-fileinfo small{font-size:10px;color:var(--muted,#9ba3b2)}.gyofiles-item .secondary-btn{padding:8px 10px;min-width:36px;border-radius:10px}.gyofiles-item .gyofiles-delete{color:#f0808d}.gyofiles-empty{padding:38px 14px;display:flex;align-items:center;flex-direction:column;gap:9px;text-align:center;color:var(--muted,#9ba3b2);border:1px dashed var(--border,#343b4b);border-radius:17px;background:rgba(120,130,160,.035)}.gyofiles-empty i{font-size:34px;color:var(--primary,#8293ff)}.gyofiles-empty strong{color:var(--text,#fff);font-size:13px}.gyofiles-empty span{font-size:11px;max-width:340px;line-height:1.5}
.gyo-popup-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:#080b16a8;backdrop-filter:blur(5px);animation:gyopopfade .16s ease}.gyo-popup-overlay.hidden{display:none}.gyo-popup{width:min(100%,390px);padding:25px 22px 20px;border-radius:21px;background:var(--card,#202431);color:var(--text,#f5f6fb);border:1px solid var(--border,#343b4b);box-shadow:0 22px 80px #0006;text-align:center;animation:gyopopshow .2s ease}.gyo-popup-icon{width:48px;height:48px;margin:0 auto 13px;border-radius:15px;display:grid;place-items:center;font-size:20px;background:var(--primary-soft,#7789ed24);color:var(--primary,#8494f2)}.gyo-popup-icon.success{color:#42c79a;background:#42c79a20}.gyo-popup-icon.warning{color:#d7b45d;background:#d7b45d20}.gyo-popup-icon.error{color:#e16f83;background:#e16f8320}.gyo-popup h3{margin:0 0 8px;font-size:18px}.gyo-popup p{margin:0;color:var(--muted,#a5adbd);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.gyo-popup-actions{display:flex;justify-content:center;gap:9px;margin-top:21px}.gyo-popup-actions button{min-width:105px}.gyo-popup-actions .danger-btn{background:#b84f67;color:white;border-color:transparent}@keyframes gyopopfade{from{opacity:0}to{opacity:1}}@keyframes gyopopshow{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:560px){.gyoweb-shell{padding:10px;gap:11px}.gyoweb-brand h2{font-size:21px}.gyoweb-result{padding:12px}.gyoweb-preview iframe{height:40vh}.gyofiles-head{align-items:flex-start}.gyofiles-item{gap:6px}.gyofiles-item .secondary-btn{padding:6px 7px}}

/* Website inbox notifications */
.inbox-count{display:inline-grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:var(--primary,#7d8df0);color:#fff;font-size:10px}.website-inbox{position:fixed;z-index:5000;right:18px;top:74px;width:min(390px,calc(100vw - 24px));max-height:min(70vh,620px);overflow:auto;padding:14px;border:1px solid var(--border,#343b4b);border-radius:16px;background:var(--card,#202431);color:var(--text,#f5f6fb);box-shadow:0 18px 55px #0007}.website-inbox.hidden{display:none}.website-inbox-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.website-inbox-head button{border:0;background:transparent;color:inherit;font-size:23px}.website-inbox-items{display:flex;flex-direction:column;gap:8px}.website-inbox-item{padding:11px;border:1px solid var(--border,#343b4b);border-radius:11px}.website-inbox-item.unread{border-color:var(--primary,#7d8df0);background:var(--primary-soft,#7d8df015)}.website-inbox-item strong{font-size:13px}.website-inbox-item p{margin:5px 0;font-size:12px;line-height:1.5;color:var(--muted,#a5adbd)}.website-inbox-item small{font-size:10px;color:var(--muted,#a5adbd)}.website-inbox-item button{display:block;margin-top:7px;border:0;background:transparent;color:var(--primary,#8494f2);font-size:11px;cursor:pointer}

/* GyoChat direct messaging */
.dm-layout{display:grid;grid-template-columns:minmax(125px,34%) 1fr;gap:10px;height:min(590px,calc(100dvh - 245px));min-height:300px}.dm-contacts,.dm-thread{min-width:0;min-height:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden}.dm-contacts{overflow-y:auto;padding:6px}.dm-contact{position:relative;display:flex;flex-direction:column;gap:4px;width:100%;padding:11px 10px;border:0;border-radius:10px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.dm-contact.active,.dm-contact:hover{background:var(--surface-2)}.dm-contact small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding-right:22px}.dm-unread{position:absolute;right:8px;top:12px;min-width:19px;height:19px;border-radius:20px;background:var(--primary);color:#171717;display:grid;place-items:center;font-size:10px;font-weight:800}.dm-thread{display:flex;flex-direction:column}.dm-thread-head{padding:12px 14px;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:3px}.dm-thread-head small{font-size:10px;color:var(--muted)}.dm-messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px}.dm-thread .chat-compose{position:static;margin:8px;padding:5px}.dm-thread .empty-state{margin:auto;padding:20px;text-align:center;color:var(--muted)}@media(max-width:520px){.dm-layout{grid-template-columns:112px minmax(0,1fr);height:calc(100dvh - 260px);gap:6px}.dm-contact{padding:9px 6px}.dm-contact strong{font-size:11px}.dm-contact small{font-size:9px}.dm-messages{padding:7px}.dm-thread .bubble{max-width:94%}}

/* App Builder Studio */
.builder-studio{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(230px,.9fr);gap:12px;align-items:start}.builder-studio .card{min-width:0}.builder-studio textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.5;min-height:80px}.builder-preview-card{position:sticky;top:10px}.builder-studio .row{align-items:end}@media(max-width:650px){.builder-studio{grid-template-columns:1fr}.builder-preview-card{position:static}.builder-studio .row{align-items:stretch}.builder-studio .row button{flex:1}}
.store-name{padding:0;border:0;background:transparent;color:var(--text);font:inherit;font-weight:700;text-align:left;cursor:pointer}.store-name:hover{text-decoration:underline}.store-remote-detail{margin:12px 0}


/* UPDATE 1A — readable messaging, fixed composers, store grid and topbar */
.gyobite-topbar{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;position:sticky;top:0}
.gyobite-topbar .site-brand{justify-self:start}
.gyobite-topbar-timer{justify-self:center;min-width:132px;justify-content:center}
.gyobite-menu-trigger{justify-self:end;width:40px;height:40px;border:1px solid #ffffff28;border-radius:13px;background:#1b2237;color:#fff;font-size:17px;cursor:pointer}
.gyobite-menu{position:absolute;right:clamp(10px,3vw,32px);top:calc(100% + 8px);z-index:5001;display:flex;flex-direction:column;gap:4px;width:min(250px,calc(100vw - 24px));padding:8px;border:1px solid #ffffff24;border-radius:16px;background:#151b2d;color:#f7f8ff;box-shadow:0 18px 50px #0008}
.gyobite-menu.hidden{display:none!important}
.gyobite-menu button,.gyobite-menu a{display:flex;align-items:center;gap:10px;width:100%;padding:12px;border:0;border-radius:10px;background:transparent;color:#f7f8ff;text-align:left;text-decoration:none;font:600 12px Inter,Arial,sans-serif;cursor:pointer}
.gyobite-menu button:hover,.gyobite-menu a:hover{background:#ffffff12}
.gyobite-menu i{width:18px;color:#b2a5ff}
.dm-layout{display:flex!important;flex-direction:column;height:100%!important;min-height:0!important;gap:9px}
.dm-contacts-panel{display:flex;flex-direction:column;flex:0 0 auto;min-height:0;max-height:34%;border:1px solid var(--line);border-radius:13px;background:#121a2d;overflow:hidden}
.dm-search{display:flex;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid #ffffff16;color:#aeb8d1}
.dm-search input{width:100%;min-width:0;border:0;outline:0;background:transparent!important;color:#f7f8ff!important;font:12px Inter,Arial,sans-serif}
.dm-search input::placeholder{color:#aab4cc!important;opacity:1}
.dm-contacts{display:flex;flex-direction:row;gap:6px;overflow:auto;padding:7px;scrollbar-width:thin}
.dm-contact{flex:0 0 auto;width:auto;min-width:112px;max-width:160px;background:#1b2540!important;color:#f7f8ff!important;border:1px solid #ffffff12!important}
.dm-contact strong{color:#fff!important;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-contact small{color:#bac5df!important}
.dm-contact.active{background:#453d86!important;border-color:#9588ff!important}
.dm-thread{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;background:#080d1b!important}
.dm-thread-head{flex:0 0 auto}
.dm-messages{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:12px 10px 18px}
.dm-thread .chat-compose{position:sticky!important;bottom:0!important;flex:0 0 auto;margin:0!important;padding:9px!important;background:#0b1020!important;border-top:1px solid #ffffff17}
.dm-thread .chat-compose input{flex:1;min-width:0;height:44px;border:1px solid #39445f;border-radius:24px;background:#1a2440;color:#fff;padding:0 15px;font-size:13px}
.dm-thread .chat-compose input::placeholder{color:#9ca8c2}
.dm-thread .chat-compose button{border-radius:50%;background:#8172f3}
.bubble{max-width:86%;width:fit-content;padding:10px 13px;border-radius:15px;background:#17213a;color:#f7f8ff;line-height:1.55;font-size:12px;overflow-wrap:anywhere}
.bubble.mine{align-self:flex-end;background:#6657c9;color:#fff}
.bubble.theirs{align-self:flex-start;background:#17213a;color:#f7f8ff}
.ai-thread-scroll{height:calc(100% - 170px);min-height:180px;max-height:none;overflow:auto;overscroll-behavior:contain;padding:8px 2px 14px;scrollbar-width:thin}
.ai-message{max-width:94%;width:fit-content;padding:13px 15px;border-radius:17px;background:#141d32;color:#f7f8ff;font-size:12px;line-height:1.75;margin:10px 0;white-space:normal;overflow-wrap:anywhere}
.ai-message.ai-user{margin-left:auto;background:#6556c8;color:#fff}
.ai-message p{margin:0 0 9px}.ai-message p:last-child{margin-bottom:0}
.ai-message h2,.ai-message h3,.ai-message h4{margin:9px 0 6px;line-height:1.35;color:#fff}
.ai-message ul,.ai-message ol{padding-left:22px;margin:7px 0}
.ai-message li{margin:4px 0}
.ai-message code{padding:2px 5px;border-radius:5px;background:#080d1a;color:#bdb2ff}
.ai-compose{position:sticky;bottom:0;z-index:5;display:flex;flex:0 0 auto;gap:7px;padding:9px 0 7px;background:var(--bg);border-top:1px solid var(--line)}
.ai-compose textarea{color:var(--text)!important;background:var(--surface)!important}
.gyoweb-search-full input{color:#202638!important;caret-color:#202638!important}
.gyoweb-search-full input::placeholder{color:#7d879b!important;opacity:1}
.gyoweb-result{background:#fff!important;color:#202638!important}
.gyoweb-result-title,.gyoweb-result a{color:#4e55b8!important}
.gyoweb-result p,.gyoweb-result-host{color:#566176!important}
.gyoweb-status{color:#c0c9dc!important}
.store-app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:10px 0 16px}
.store-app-card{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:10px 6px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-align:center}
.store-app-open{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;width:100%;padding:0;border:0;background:transparent;color:var(--text);cursor:pointer}
.store-app-open .app-glyph{width:48px;height:48px;border-radius:15px}
.store-app-open strong{width:100%;font-size:10px;line-height:1.3;color:var(--text);overflow-wrap:anywhere}
.store-app-open small{font-size:9px;color:var(--muted);line-height:1.4}
.store-app-actions{display:flex;justify-content:center}
.store-app-actions button,.store-app-detail{width:100%;min-width:0;padding:7px 4px;font-size:9px}
.builder-studio input[type=file]{display:block;width:100%;margin:5px 0 8px;padding:8px;border:1px dashed var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-size:10px}
@media(max-width:520px){
 .gyobite-topbar{grid-template-columns:1fr auto 1fr;padding:7px 10px;min-height:54px}
 .gyobite-topbar-timer{min-width:104px;padding:5px 7px}
 .gyobite-topbar-timer span{display:none}
 .gyobite-topbar-timer strong{font-size:11px}
 .dm-contacts-panel{max-height:28%}
 .dm-contacts{overflow-x:auto;overflow-y:hidden}
 .dm-contact{min-width:104px;max-width:130px}
 .dm-thread-head{padding:8px 10px}
 .dm-messages{padding:8px}
 .ai-thread-scroll{height:calc(100% - 155px);min-height:140px}
 .ai-compose{padding-bottom:max(7px,env(safe-area-inset-bottom))}
 .store-app-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .store-app-card{padding:8px 3px}
 .store-app-open .app-glyph{width:40px;height:40px}
 .store-app-open strong{font-size:9px}
}

.app-content:has(.dm-layout),.app-content:has(.ai-thread-scroll){display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:10px 12px 8px}
.app-content:has(.ai-thread-scroll)>.app-hero,.app-content:has(.ai-thread-scroll)>.card{flex:0 0 auto}
.app-content:has(.ai-thread-scroll)>.ai-thread-scroll{flex:1 1 auto;height:auto;min-height:0}
.app-content:has(.ai-thread-scroll)>.ai-compose{flex:0 0 auto}
.dm-thread .chat-compose{padding-bottom:max(9px,env(safe-area-inset-bottom))!important}
@media(max-width:520px){
 .app-content:has(.dm-layout),.app-content:has(.ai-thread-scroll){padding:8px 9px 5px}
 .dm-layout{min-height:0}
}


/* BUILD 111 — deterministic cache refresh and compact application layouts */
.gyobite-topbar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:center!important;
  position:sticky!important;
  top:0!important;
  z-index:5000!important;
  isolation:isolate;
}
.gyobite-topbar .site-brand{justify-self:start!important;min-width:0}
.gyobite-topbar-timer{justify-self:center!important;grid-column:2}
.gyobite-menu-trigger{justify-self:end!important;grid-column:3;position:relative;z-index:5002;pointer-events:auto!important}
.gyobite-menu{position:absolute!important;right:10px!important;top:calc(100% + 8px)!important;z-index:5005!important;max-height:min(70vh,520px);overflow:auto}
.gyobite-menu.hidden{display:none!important;visibility:hidden!important;pointer-events:none!important}
.gyobite-menu:not(.hidden){display:flex!important;visibility:visible!important;pointer-events:auto!important}
.builder-studio{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;align-items:start!important}
.builder-studio>section{width:100%;min-width:0}
.builder-studio .field,.builder-studio input:not([type=file]),.builder-studio textarea,.builder-studio select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.builder-studio textarea{min-height:100px;resize:vertical;white-space:pre;overflow:auto;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.builder-preview-card{position:static!important;width:100%;min-width:0}
#builderPreview{display:block;width:100%;height:300px!important;background:#fff!important}
.builder-source-import,.builder-icon-guide{margin:10px 0 16px;padding:13px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}
.builder-source-import input[type=file]{width:100%;max-width:100%;margin:8px 0}
.builder-file-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%}
.builder-file-actions input[type=file]{flex:1 1 180px;min-width:0}
.builder-file-actions button{flex:0 0 auto}
.builder-icon-examples{display:flex;flex-wrap:wrap;gap:7px}
.builder-icon-examples code{padding:7px 9px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font-size:11px}
.builder-cloud-picker{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;padding:16px;background:#050814cc}
.builder-cloud-picker.hidden{display:none!important}
.builder-cloud-picker-card{width:min(520px,100%);max-height:80vh;overflow:auto;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:0 20px 70px #0009}
.builder-cloud-file-list{display:flex;flex-direction:column;gap:7px;margin-top:12px}
.builder-cloud-file{display:flex;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);text-align:left}
.builder-cloud-file span{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.builder-cloud-file small{color:var(--muted)}
.store-app-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;width:100%;margin:12px 0 18px}
.store-app-grid>.store-app-card{display:flex!important;min-width:0!important;max-width:none!important;flex-direction:column!important;align-items:stretch!important;padding:10px 6px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface)!important}
.store-app-open{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;gap:7px!important}
.store-app-open .app-glyph{width:46px!important;height:46px!important}
.store-app-open strong{font-size:11px!important;line-height:1.3!important;text-align:center!important;overflow-wrap:anywhere}
.store-app-open small{font-size:9px!important;text-align:center!important}
.store-app-actions,.store-app-card>.store-app-detail{width:100%!important}
.store-app-actions button,.store-app-detail{width:100%!important;min-width:0!important;padding:7px 3px!important;font-size:10px!important}
.ai-message p{margin:0 0 9px!important}
.ai-message p:last-child{margin-bottom:0!important}
.ai-message h2,.ai-message h3,.ai-message h4{margin:12px 0 7px!important;line-height:1.35}
.ai-message ul,.ai-message ol{padding-left:21px;margin:8px 0}
.ai-code-block{display:block;max-width:100%;overflow:auto;padding:11px;border-radius:10px;background:#080d1a;color:#e5e9f5;white-space:pre;line-height:1.5}
@media(max-width:520px){
  .builder-studio{grid-template-columns:minmax(0,1fr)!important}
  .builder-preview-card{order:2}
  #builderPreview{height:260px!important}
  .builder-file-actions{align-items:stretch;flex-direction:column}
  .builder-file-actions input[type=file],.builder-file-actions button{width:100%}
  .store-app-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  .store-app-grid>.store-app-card{padding:8px 3px!important}
  .store-app-open .app-glyph{width:38px!important;height:38px!important}
  .store-app-open strong{font-size:9px!important}
  .store-app-open small{font-size:8px!important}
}

.builder-studio form>.row:has(select[name="category"]){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-items:stretch!important}
.builder-studio form>.row:has(select[name="category"])>.field{width:100%;min-width:0}
.builder-studio form>label.field{display:block;width:100%;min-width:0}

/* BUILD 108.2 UPDATE 1B — fixed 3x4 launcher and proportional mobile device */
.gyobite-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;position:sticky;isolation:isolate}
.gyobite-topbar .site-brand{grid-column:1;justify-self:start}
.gyobite-topbar .gyobite-topbar-timer{grid-column:2;justify-self:center;margin:0;white-space:nowrap}
.gyobite-topbar .gyobite-menu-trigger{grid-column:3;justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;border-radius:12px;border:1px solid #ffffff25;background:#ffffff0d;color:#fff;cursor:pointer;touch-action:manipulation}
.gyobite-topbar .gyobite-menu{position:absolute;top:calc(100% + 8px);right:clamp(8px,2vw,24px);z-index:2100;min-width:210px}
.launcher-page .app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(4,minmax(58px,auto))!important;align-content:start;gap:12px 7px;min-height:276px;padding:3px 2px 10px}
.launcher-page .app-icon{min-height:62px;gap:6px}
.launcher-page .app-icon small{max-width:100%;font-size:9px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.launcher-empty{grid-column:1/-1;grid-row:1/-1;min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;color:#dce1f7;padding:18px}
.launcher-empty>span{width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:#ffffff12;color:#b9adff;font-size:20px}
.launcher-empty strong{font-size:12px}
.launcher-empty small{max-width:230px;color:#aeb8d5;font-size:10px;line-height:1.6}
.launcher-pages{min-height:282px}
@media(max-width:800px){
 .gyobite-topbar{min-height:56px;padding:6px 10px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px}
 .gyobite-topbar .gyobite-menu-trigger{min-width:40px;min-height:40px}
 .gyobite-topbar .gyobite-topbar-timer span{display:none}
 .stage{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:0!important;width:100%;height:calc(100dvh - 56px);min-height:0!important;max-height:calc(100dvh - 56px);padding:8px!important;overflow:hidden}
 .phone{flex:0 1 auto;width:min(410px,calc(50dvh - 34px),calc(100vw - 16px))!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1/2;border-radius:clamp(28px,8vw,38px);padding:7px!important;box-sizing:border-box}
 .screen{width:100%;height:100%;border-radius:clamp(21px,6vw,30px)}
 .phone:before{top:11px}
 .side-info{display:none!important}
 .launcher-pages{min-height:clamp(210px,36vh,282px)}
 .launcher-page .app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(4,minmax(47px,auto))!important;min-height:clamp(204px,35vh,276px);gap:clamp(7px,1.7vh,12px) 5px}
 .launcher-page .app-icon{min-height:48px}
 .launcher-page .app-icon small{font-size:clamp(7px,2vw,9px)}
 .app-glyph{width:clamp(36px,10vw,44px);height:clamp(36px,10vw,44px);border-radius:13px;font-size:18px}
 .launcher-empty{min-height:205px}
}
@media(max-width:380px){
 .gyobite-topbar{padding-inline:7px}
 .gyobite-topbar .site-brand{font-size:14px}
 .gyobite-topbar .gyobite-topbar-timer strong{font-size:10px}
 .gyobite-topbar .gyobite-menu-trigger{min-width:36px;min-height:36px}
 .home-screen{padding-left:11px;padding-right:11px}
 .launcher-page .app-grid{gap:7px 3px}
}
/* Short mobile viewport sizing is handled by BUILD 115 below. */

/* UPDATE 1B — readable chat timestamps and consistent store cards */
.dm-messages .bubble{display:flex;flex-direction:column;gap:5px;white-space:pre-wrap}
.dm-messages .bubble-time{align-self:flex-end;font-size:9px;line-height:1.2;color:#d4d8e8;opacity:.78;font-variant-numeric:tabular-nums}
.dm-messages .bubble.mine .bubble-time{color:#f0edff}
.store-app-open strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-app-card{min-height:142px}
.store-app-actions{margin-top:auto}

/* UPDATE 1B — readable chat timestamps and consistent store cards */
.dm-messages .bubble{display:flex;flex-direction:column;gap:5px;white-space:pre-wrap}
.dm-messages .bubble-time{align-self:flex-end;font-size:9px;line-height:1.2;color:#d4d8e8;opacity:.78;font-variant-numeric:tabular-nums}
.dm-messages .bubble.mine .bubble-time{color:#f0edff}
.store-app-open strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-app-card{min-height:142px}
.store-app-actions{margin-top:auto}


/* BUILD 112 UPDATE 2 — MOBILE SAFE AREA, LAUNCHER AND BUILDER DENSITY */
@media(max-width:800px){
 .status-bar{height:42px;padding:calc(10px + env(safe-area-inset-top)) 18px 0!important;align-items:center}
 .status-bar>span:first-child{position:relative;z-index:2}
 .status-icons{position:relative;z-index:3;margin-left:auto;gap:7px;padding-right:4px;white-space:nowrap}
 .status-icons #networkLabel{display:none}
 .screen:before{top:7px}
 .home-screen{padding:64px 17px 118px!important;overflow-y:auto!important;overscroll-behavior:contain}
 .launcher-pages{min-height:0!important;overflow-x:auto!important;overflow-y:hidden!important}
 .launcher-page .app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(4,minmax(76px,auto))!important;gap:12px 5px!important;min-height:350px!important;padding:4px 2px 14px!important;align-content:start}
 .launcher-page .app-icon{min-height:76px!important;gap:5px!important;padding:2px 0 5px!important}
 .launcher-page .app-icon small{display:block!important;max-width:100%!important;width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important;text-align:center!important;line-height:1.25!important;font-size:9px!important;min-height:22px}
 .launcher-page .app-glyph{flex:0 0 auto}
 .launcher-page-dots{margin:6px 0 10px!important}
 .dock{bottom:28px!important;left:12px!important;right:12px!important;padding:9px 4px 7px!important}
 .dock .app-icon{min-width:0!important}
 .app-window{inset:42px 0 28px!important}
 .app-content{padding:12px 12px 18px!important;min-height:0!important}
 .builder-studio{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 .builder-studio>.card{padding:11px!important;min-width:0!important}
 .builder-studio .field{margin:9px 0!important;gap:5px!important}
 .builder-source-import{padding:10px!important;margin-bottom:10px!important}
 .builder-source-import p{margin:5px 0 8px!important;line-height:1.4!important}
 .builder-studio input[type=file]{margin:4px 0 6px!important;padding:6px!important;font-size:10px!important;max-width:100%!important}
 .builder-file-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px!important;margin:5px 0!important;align-items:stretch!important}
 .builder-file-actions input[type=file]{width:100%!important;min-width:0!important}
 .builder-file-actions button{width:100%!important;min-height:36px!important}
 .builder-studio textarea{min-height:92px!important;max-height:180px!important;padding:10px!important;font-size:11px!important;line-height:1.45!important}
 .builder-studio .row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
 .builder-studio .row button{width:100%!important;min-height:40px!important}
 .builder-preview-card{order:2!important}
 #builderPreview{height:220px!important;margin-top:7px!important}
 .builder-icon-guide{padding:10px!important;margin-top:10px!important}
 .builder-cloud-picker-card{padding:12px!important;max-height:76dvh!important}
 .economy-balance{display:flex;flex-direction:column;gap:5px;background:linear-gradient(135deg,#172d48,#263a62)!important}
 .economy-balance>small{color:#cbd5ee}
 .economy-balance>strong{font-size:25px;line-height:1.25}
 .economy-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .economy-stats>.card{min-width:0;padding:11px}
 .economy-stats strong{display:block;margin-top:6px;font-size:16px;overflow-wrap:anywhere}
 .economy-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:11px}
 .economy-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}
 .economy-row small{color:var(--muted);font-size:9px;overflow-wrap:anywhere}
 .economy-row>b{white-space:nowrap;font-size:10px}
}
@media(max-width:380px){
 .home-screen{padding-left:13px!important;padding-right:13px!important}
 .launcher-page .app-grid{gap:9px 3px!important}
 .launcher-page .app-icon small{font-size:8px!important}
 .status-bar{padding-left:14px!important;padding-right:14px!important}
 .builder-studio>.card{padding:9px!important}
}


/* BUILD 114 — DESKTOP STAGE PROPORTIONS + ECONOMY APP VISIBILITY */
@media (min-width: 801px){
  html,body{min-height:100%;}
  .stage{width:100%;min-height:calc(100dvh - 58px);display:grid!important;grid-template-columns:minmax(300px, min(38vw, 430px)) minmax(330px, 470px);justify-content:center;align-items:center;column-gap:clamp(34px,6vw,92px);padding:clamp(14px,2.5vh,28px) clamp(18px,3vw,48px)!important;overflow:visible;}
  .phone{width:min(410px, calc((100dvh - 112px) * .49))!important;height:auto!important;aspect-ratio:390 / 820;min-height:0!important;max-height:none!important;flex:none;border-radius:clamp(34px,3vw,48px);}
  .screen{width:100%;height:100%;}
  .side-info{width:100%;max-width:470px;min-width:0;align-self:center;}
  .side-info .brand-mark{margin-bottom:clamp(24px,5vh,52px);}
  .side-info h2{font-size:clamp(30px,3.2vw,48px);}
  .side-info>p{max-width:420px;font-size:clamp(12px,1vw,14px);}
  .spec-cards{gap:10px;margin-top:clamp(18px,3vh,30px);}
  .spec-cards>div{min-width:0;padding:clamp(11px,1.3vw,16px) clamp(9px,1vw,13px);}
}
@media (min-width:801px) and (max-height:620px){
  .stage{min-height:calc(100dvh - 58px);grid-template-columns:minmax(260px, min(34vw, 350px)) minmax(300px, 410px);column-gap:clamp(24px,4vw,56px);padding-block:8px!important;}
  .phone{width:min(310px, calc((100dvh - 78px) * .49))!important;}
  .side-info .brand-mark{margin-bottom:16px;}
  .side-info h2{font-size:clamp(26px,2.8vw,36px);margin-bottom:10px;}
  .side-info>p{font-size:11px;line-height:1.55;margin:8px 0;}
  .spec-cards{margin-top:14px;}
  .spec-cards>div{padding:9px;}
}
@media (max-width:800px){
  .launcher-pages{width:100%;min-width:0;}
  .launcher-page{width:100%;min-width:0;}
  .launcher-page .app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .status-bar{padding-left:clamp(15px,4vw,20px)!important;padding-right:clamp(15px,4vw,20px)!important;}
  .status-icons{gap:clamp(4px,1.5vw,8px)!important;}
}
.app-content,.app-content>*{min-width:0;}
.store-app-card[data-economy-app="true"]{border-color:#8d7cf0;}


/* BUILD 115 — real mobile viewport lock, internal scrolling, desktop economy layouts */
html,body{width:100%;max-width:100%;}
@media(max-width:800px){
 html,body{height:100%;min-height:100%;overflow:hidden!important;overscroll-behavior:none;}
 body{position:fixed;inset:0;width:100%;}
 .gyobite-topbar{position:relative;z-index:2200;padding-top:env(safe-area-inset-top,0px);}
 .stage{position:fixed!important;top:var(--gyobite-topbar-height,56px);left:0;right:0;bottom:0;width:100vw!important;height:auto!important;min-height:0!important;max-height:none!important;padding:clamp(4px,1.2vh,10px) 0 calc(env(safe-area-inset-bottom,0px) + 4px)!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;}
 .phone{width:min(calc(100vw - 12px),calc((100dvh - var(--gyobite-topbar-height,56px) - env(safe-area-inset-bottom,0px) - 12px)*.475))!important;height:auto!important;aspect-ratio:390/820!important;max-height:calc(100dvh - var(--gyobite-topbar-height,56px) - env(safe-area-inset-bottom,0px) - 12px)!important;min-height:0!important;flex:0 1 auto!important;}
 .screen{height:100%!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none!important;touch-action:pan-x pan-y;}
 #homeScreen.home-screen{position:absolute!important;inset:42px 0 28px!important;height:auto!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none!important;padding:clamp(46px,7vh,64px) 14px 82px!important;}
 #homeScreen .home-heading{margin-bottom:clamp(8px,1.8vh,16px)!important;}
 #homeScreen .widget-row{margin:clamp(7px,1.5vh,13px) 0!important;}
 #homeScreen .launcher-pages{min-height:0!important;height:auto!important;max-height:45%;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-y:none!important;}
 #homeScreen .launcher-page .app-grid{grid-template-rows:repeat(4,minmax(0,1fr))!important;min-height:0!important;height:auto!important;gap:clamp(4px,1.1vh,10px) 4px!important;padding:2px 2px 6px!important;}
 #homeScreen .launcher-page .app-icon{min-height:0!important;height:auto!important;}
 #homeScreen .launcher-page .app-icon small{font-size:clamp(7px,2.1vw,9px)!important;min-height:0!important;line-height:1.15!important;}
 #homeScreen .launcher-page .app-glyph{width:clamp(31px,9vw,43px)!important;height:clamp(31px,9vw,43px)!important;}
 #homeScreen .launcher-page-dots{margin:4px 0!important;}
 .dock{bottom:calc(28px + env(safe-area-inset-bottom,0px))!important;}
 .nav-bar{bottom:env(safe-area-inset-bottom,0px)!important;}
 .app-window{position:absolute!important;inset:42px 0 calc(28px + env(safe-area-inset-bottom,0px))!important;overflow:hidden!important;}
 .app-content{height:100%!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;padding-bottom:max(18px,env(safe-area-inset-bottom,0px))!important;}
}
@media(max-width:380px){
 #homeScreen.home-screen{padding-left:10px!important;padding-right:10px!important;}
 #homeScreen .launcher-page .app-icon small{font-size:7.5px!important;}
}
@media(min-width:801px){
 .app-content{overflow-x:hidden;}
 .app-content .economy-balance{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 18px;padding:22px 24px;min-width:0;}
 .app-content .economy-balance>small{grid-column:1;align-self:end;color:#aebbd4;font-size:12px;}
 .app-content .economy-balance>strong{grid-column:2;grid-row:1/3;text-align:right;font-size:clamp(24px,2.2vw,34px);line-height:1.15;white-space:nowrap;font-variant-numeric:tabular-nums;}
 .app-content .economy-balance>span{grid-column:1;color:#aebbd4;font-size:11px;}
 .app-content .economy-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0;}
 .app-content .economy-stats>.card{min-width:0;padding:18px 20px;}
 .app-content .economy-stats strong{display:block;margin-top:9px;font-size:clamp(20px,1.8vw,27px);line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
 .app-content .card:has(#tradeAmount),.app-content .card:has(#bankRecipient){padding:22px 24px;}
 .app-content .card:has(#tradeAmount) .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
 .app-content .card:has(#tradeAmount) .row button{min-width:0;white-space:normal;}
 .app-content #tradeChart{height:190px!important;max-height:220px;}
 .app-content .economy-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:13px 4px;border-bottom:1px solid var(--line);min-width:0;}
 .app-content .economy-row>div{min-width:0;display:flex;flex-direction:column;gap:5px;}
 .app-content .economy-row small{overflow-wrap:anywhere;color:var(--muted);}
 .app-content .economy-row>b{white-space:nowrap;font-variant-numeric:tabular-nums;}
}

@media(min-width:801px){
 .app-content:has(#bankRecipient) .app-hero .app-glyph{background:linear-gradient(145deg,#087c68,#20b58e);box-shadow:0 12px 30px #087c6840;}
 .app-content:has(#bankRecipient) .economy-balance{background:linear-gradient(120deg,#102f3a,#145c58 58%,#167a68)!important;border-color:#267d70;}
 .app-content:has(#bankRecipient) #bankSend{min-height:46px;}
 .app-content:has(#bankRecipient) #bankRecipient,.app-content:has(#bankRecipient) #bankAmount{min-height:44px;}
 .app-content:has(#tradeAmount) .app-hero .app-glyph{background:linear-gradient(145deg,#5949b8,#9a83ff);}
 .app-content:has(#tradeAmount) .economy-balance{background:linear-gradient(120deg,#161d2b,#202c42)!important;border-color:#35425b;}
 .app-content:has(#tradeAmount) #tradeBuy{background:linear-gradient(100deg,#0b9b75,#18c58f);color:#061b17;}
 .app-content:has(#tradeAmount) #tradeSell{background:linear-gradient(100deg,#a84350,#d45a67);color:white;}
 .app-content:has(#tradeAmount) .trade-withdraw-card{border-color:#6656b7;background:linear-gradient(145deg,#171a2b,#111827);}
}


/* BUILD 116 — touch scrolling, compact economy typography and exchange chart */
@media(max-width:800px){
  .screen{touch-action:pan-y!important;}
  .app-window{display:flex!important;flex-direction:column!important;min-height:0!important;}
  .app-content{flex:1 1 0%!important;height:auto!important;min-height:0!important;max-height:100%!important;touch-action:pan-y!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;}
  .app-content>*{max-width:100%;min-width:0;}
  #homeScreen.home-screen{touch-action:pan-y!important;}
  #homeScreen .launcher-pages{touch-action:pan-x pan-y!important;}
  .app-content .economy-balance{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:16px!important;}
  .app-content .economy-balance>small,.app-content .economy-balance>strong,.app-content .economy-balance>span{display:block!important;grid-column:auto!important;grid-row:auto!important;text-align:left!important;white-space:normal!important;max-width:100%!important;overflow-wrap:anywhere!important;}
  .app-content .economy-balance>strong{font-size:clamp(22px,6vw,32px)!important;line-height:1.15!important;}
  .app-content .economy-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
  .app-content .economy-stats>.card{padding:12px!important;}
  .app-content .economy-stats strong{font-size:clamp(17px,4.5vw,23px)!important;overflow-wrap:anywhere!important;}
  .app-content .economy-row{align-items:flex-start!important;gap:8px!important;}
  .app-content .economy-row>b{white-space:normal!important;text-align:right!important;overflow-wrap:anywhere!important;max-width:42%!important;font-size:12px!important;}
  .trade-intervals{display:flex;gap:5px;overflow-x:auto;padding:8px 0;scrollbar-width:none;touch-action:pan-x;}
  .trade-intervals button{flex:0 0 auto;padding:7px 10px;border:1px solid #ffffff20;border-radius:9px;background:#20283b;color:#cbd5ee;font-size:11px;}
}
@media(min-width:801px){
  .app-content .economy-balance{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:22px!important;}
  .app-content .economy-balance>small,.app-content .economy-balance>strong,.app-content .economy-balance>span{display:block!important;grid-column:auto!important;grid-row:auto!important;text-align:left!important;white-space:normal!important;max-width:100%!important;overflow-wrap:anywhere!important;}
  .app-content .economy-balance>strong{font-size:clamp(26px,2.4vw,38px)!important;line-height:1.12!important;}
  .app-content .economy-stats strong{font-size:clamp(18px,1.7vw,26px)!important;overflow-wrap:anywhere!important;}
  .app-content .economy-row>b{white-space:normal!important;overflow-wrap:anywhere!important;text-align:right!important;max-width:42%;}
  .app-content .economy-row strong{overflow-wrap:anywhere;}
}
.trade-chart-card{overflow:hidden;min-width:0;}
.trade-chart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;}
.trade-chart-heading h3{margin:0 0 3px;}
.trade-live-pill{font-size:10px;font-weight:800;letter-spacing:1px;color:#55e0b0;background:#0e72543b;border:1px solid #2b9c7b;padding:5px 9px;border-radius:20px;}
.trade-intervals{display:flex;gap:6px;overflow-x:auto;padding:12px 0 7px;scrollbar-width:none;}
.trade-intervals button{flex:0 0 auto;padding:7px 11px;border:1px solid #ffffff20;border-radius:9px;background:#20283b;color:#cbd5ee;font-size:11px;cursor:pointer;}
.trade-intervals button.active{background:#6555bd;border-color:#a99aff;color:#fff;}
.trade-chart-price{font-size:clamp(22px,4vw,32px);font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums;margin:8px 0 2px;}
#tradeChart{width:100%;height:190px;display:block;margin:8px 0;background:linear-gradient(180deg,#17263b66,transparent);border-radius:12px;overflow:visible;}
#tradeChartLine{stroke:#8f80ff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px #8f80ff66);}
.trade-chart-foot{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:10px;color:#9eacc8;}
.economy-history{display:flex;flex-direction:column;gap:0;min-width:0;}
.economy-history .economy-row{padding:13px 4px;}
.economy-history .economy-row:last-child{border-bottom:0;}

@media(max-width:800px){
  #homeScreen.home-screen{overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;padding-bottom:120px!important;}
  #homeScreen .launcher-pages{max-height:none!important;height:auto!important;overflow-x:auto!important;overflow-y:visible!important;touch-action:pan-x pan-y!important;}
  #homeScreen .launcher-page{min-height:0!important;}
  #homeScreen .launcher-page .app-grid{height:auto!important;min-height:0!important;grid-auto-rows:minmax(54px,auto)!important;}
}

/* BUILD 117 — compact multi-view app shell and mobile touch layout */
.app-header{min-height:58px;padding:7px 12px;gap:9px}
.app-header-glyph{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;overflow:hidden;background:#ffffff12}
.app-header-glyph .app-glyph{width:34px;height:34px;border:0;border-radius:10px;box-shadow:none;font-size:15px}
.app-header>div{min-width:0}.app-header strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.app-header small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app-window{min-height:0;min-width:0}.app-content{min-height:0;min-width:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;overflow-x:hidden}
.app-content *{max-width:100%}.app-content input,.app-content textarea,.app-content select{min-width:0}
.ai-toolbar,.chat-view-switch{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:0 0 auto;padding:0 1px 7px;border-bottom:1px solid var(--line)}
.ai-info-toggle{border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:18px;padding:6px 10px;font-size:10px}
.ai-info-panel{flex:0 0 auto;padding:9px 11px;margin:7px 0;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--muted);font-size:10px;line-height:1.5}
.app-content:has(.ai-thread-scroll)>.ai-toolbar{flex:0 0 auto}
.app-content:has(.ai-thread-scroll)>.ai-thread-scroll{flex:1 1 0;height:auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.ai-message{max-width:min(94%,760px);padding:10px 12px;margin:7px 0;font-size:12px;line-height:1.6}
.ai-compose{flex:0 0 auto;min-width:0;align-items:flex-end}.ai-compose textarea{min-height:42px!important;max-height:105px!important;margin:0!important;padding:10px!important;font-size:12px!important}
.app-content:has(.dm-layout){display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:9px 10px 7px}
.dm-layout{flex:1 1 0;height:auto!important;min-height:0!important;overflow:hidden}
.dm-contacts-panel{max-height:31%;min-height:82px}.dm-contacts{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.dm-thread{min-height:0;overflow:hidden}.dm-messages{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.dm-thread .chat-compose input{font-size:13px!important}
@media(max-width:800px){
 .stage{height:100dvh;min-height:0;overflow:hidden}.phone{height:100dvh;min-height:0;max-height:100dvh;overflow:hidden}.screen{height:100%;min-height:0;overflow:hidden}
 .app-window{inset:calc(38px + env(safe-area-inset-top,0px)) 0 calc(28px + env(safe-area-inset-bottom,0px));}
 .app-content{padding-bottom:max(12px,env(safe-area-inset-bottom));}
 .app-content:has(.ai-thread-scroll),.app-content:has(.dm-layout){padding:7px 8px 5px;overflow:hidden}
 .app-content:has(.ai-thread-scroll)>.ai-thread-scroll{min-height:0}
 .dm-layout{gap:7px}.dm-contacts-panel{max-height:25%;min-height:72px}.dm-contacts{overflow-x:auto;overflow-y:hidden}
 .dm-thread .chat-compose{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}
}
@media(max-width:420px){.app-header{min-height:52px;padding:5px 9px}.app-header-glyph,.app-header-glyph .app-glyph{width:31px;height:31px;flex-basis:31px}.app-header strong{font-size:12px}.ai-message{max-width:98%;font-size:11px;padding:9px 10px}.ai-toolbar{padding-bottom:5px}}


/* BUILD 118 — hard layout correction and compact application surfaces */
html,body{width:100%;max-width:100%;overscroll-behavior:none}
.app-window{min-height:0!important;max-height:100%;overflow:hidden!important}
.app-header{position:relative;z-index:2;flex:0 0 auto!important}
.app-content{display:block;flex:1 1 0!important;height:0;min-height:0!important;max-height:100%;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin;padding:12px!important}
.app-content>*{flex-shrink:0;min-width:0}
.app-content .card,.app-content section{min-width:0;max-width:100%}
.app-content .app-hero{display:none!important}
.app-content h1,.app-content h2,.app-content h3,.app-content p,.app-content small,.app-content strong,.app-content label{overflow-wrap:anywhere;word-break:normal}
.app-content input,.app-content textarea,.app-content select{width:100%;max-width:100%;min-width:0;background:#10182a!important;color:#f5f7ff!important;border:1px solid #35415c!important;border-radius:11px!important;padding:11px!important}
.app-content textarea{resize:vertical;min-height:42px}
.app-content button{max-width:100%;white-space:normal}
.app-content .primary-btn,.app-content .secondary-btn{border-radius:12px!important;min-height:40px}
.economy-balance{background:linear-gradient(135deg,#202a40,#151d30)!important;border:1px solid #35415c!important;border-radius:18px!important;gap:8px!important}
.economy-balance small,.economy-balance span{color:#aab8d6!important}
.economy-balance strong{color:#fff!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.economy-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
.economy-stats>.card{background:#151e30!important;border:1px solid #303d57!important;border-radius:15px!important;min-width:0}
.economy-stats small{display:block;color:#aab8d6!important}
.economy-stats strong{display:block;color:#fff!important;font-size:clamp(17px,3.6vw,25px)!important;line-height:1.25;overflow-wrap:anywhere}
.economy-history{background:transparent!important;min-width:0}
.economy-history .economy-row,.history-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #ffffff14;padding:12px 2px!important;min-width:0}
.economy-history .economy-row>div{flex:1;min-width:0}
.economy-history .economy-row strong{display:block;color:#f5f7ff;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.economy-history .economy-row small{display:block;color:#9eacc8;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.economy-history .economy-row>b,.economy-history .economy-row>small:last-child{flex:0 0 auto;max-width:38%;text-align:right;color:#d9d3ff;font-size:11px;font-variant-numeric:tabular-nums}
.trade-chart-card{background:#121a2b!important;border:1px solid #303d57!important;border-radius:18px!important;padding:14px!important;min-width:0;overflow:hidden}
.trade-chart-heading h3{color:#f6f7ff!important;font-size:16px!important}
.trade-intervals{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;max-width:100%;gap:5px;padding:8px 0!important;scrollbar-width:none;touch-action:pan-x}
.trade-intervals button{background:#202b42!important;color:#cbd5ee!important;border:1px solid #ffffff20!important;border-radius:9px!important;padding:7px 10px!important;font-size:11px!important;white-space:nowrap!important;flex:0 0 auto!important}
.trade-intervals button.active{background:#6656c5!important;color:#fff!important;border-color:#a99aff!important}
.trade-chart-price{color:#fff!important;font-size:clamp(20px,4vw,29px)!important;font-variant-numeric:tabular-nums}
#tradeChart{width:100%!important;height:clamp(155px,30vw,230px)!important;max-width:100%;background:linear-gradient(180deg,#202b4233,transparent);border-radius:12px}
.trade-grid-line{fill:none;stroke:#ffffff16;stroke-width:1.5;stroke-dasharray:5 8}
.trade-chart-foot{color:#9eacc8!important;font-size:10px!important}
.ai-toolbar{flex:0 0 auto;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 0 7px!important}
.ai-toolbar-actions{display:flex;align-items:center;gap:7px}
.ai-info-toggle,.ai-clear-icon{width:34px;height:32px;display:grid;place-items:center;border:1px solid #ffffff20!important;background:#1b2438!important;color:#dce3f6!important;border-radius:10px!important;padding:0!important}
.ai-clear-icon{color:#ff9caf!important}
.ai-info-panel{background:#172137!important;color:#b9c6e2!important;border:1px solid #34425f!important;border-radius:12px!important}
.app-content:has(#aiThread){display:flex!important;flex-direction:column!important;overflow:hidden!important;gap:7px}
#aiThread.ai-thread-scroll{flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;padding:7px 3px!important}
.ai-message{background:#182238!important;color:#eef2ff!important;border:1px solid #ffffff0d!important;border-radius:14px!important;font-size:13px!important;line-height:1.55!important;overflow-wrap:anywhere}
.ai-message.ai-user{background:#443b82!important;color:#fff!important;margin-left:auto!important}
.ai-message p{margin:0 0 8px!important}.ai-message p:last-child{margin-bottom:0!important}
.ai-message h2,.ai-message h3,.ai-message h4{color:#fff!important;margin:10px 0 6px!important}
.ai-compose{display:grid!important;grid-template-columns:minmax(0,1fr) 44px 44px 44px!important;gap:6px!important;align-items:end!important;flex:0 0 auto!important;margin:0!important;padding:4px 0!important}
.ai-compose textarea#aiInput{width:100%!important;min-width:0!important;max-width:100%!important;min-height:42px!important;max-height:100px!important;height:42px!important;resize:none!important;overflow-y:auto!important;background:#151e30!important;color:#fff!important;border:1px solid #3b4965!important;border-radius:13px!important;padding:10px!important;font-size:12px!important}
.ai-compose button{width:44px!important;height:42px!important;min-width:0!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important}
.ai-compose button i{font-size:15px}
.app-content:has(#aiThread) .ai-message ol,.app-content:has(#aiThread) .ai-message ul{padding-left:20px!important}
@media(max-width:800px){
  body{overflow:hidden!important}
  .stage#gyoStage{width:100%;height:calc(100dvh - 54px);min-height:0!important;padding:0!important;margin:0!important;gap:0!important;overflow:hidden!important;display:flex!important}
  .stage#gyoStage .phone{width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#0d1223!important}
  .stage#gyoStage .phone:before{display:none!important}
  .stage#gyoStage .screen{height:100%!important;min-height:0!important;border-radius:0!important;overflow:hidden!important}
  .site-topbar{min-height:54px}
  .app-window{inset:38px 0 28px!important}
  .app-header{min-height:54px!important;padding:6px 10px!important}
  .app-content{padding:9px!important}
  .app-content:has(#aiThread){padding:7px 8px 6px!important}
  .ai-message{font-size:12px!important;max-width:100%!important}
  .ai-compose{grid-template-columns:minmax(0,1fr) 40px 40px 40px!important}
  .ai-compose button{width:40px!important}
  .trade-chart-card{padding:11px!important}
  .economy-stats strong{font-size:clamp(16px,5vw,22px)!important}
}
@media(max-width:380px){
  .app-header small{display:none}
  .app-content{padding:8px!important}
  .ai-compose{grid-template-columns:minmax(0,1fr) 36px 36px 36px!important;gap:4px!important}
  .ai-compose button{width:36px!important}
}

/* BUILD 120 — mobile outer-page scrolling, safe app hit-testing, dock clearance */
@media(max-width:800px){
  html,body{min-height:100%;height:auto;overflow-x:hidden;overflow-y:auto!important;overscroll-behavior-y:auto;-webkit-overflow-scrolling:touch}
  .stage{height:auto!important;min-height:100svh!important;min-height:100vh!important;overflow:visible!important;align-items:flex-start!important;justify-content:center;padding:18px 12px 72px!important}
  .phone{width:min(390px,calc(100vw - 24px))!important;height:820px!important;min-height:820px!important;max-height:none!important;flex:0 0 auto;overflow:visible!important}
  .screen{height:100%!important;min-height:0!important;overflow:hidden!important;touch-action:pan-y!important}
  .app-window{inset:38px 0 28px!important;z-index:6!important;min-height:0!important;pointer-events:auto!important}
  .app-header,.app-header button,.app-content,.app-content button,.app-content a,.app-content input,.app-content textarea,.app-content select{pointer-events:auto!important}
  .app-content{flex:1 1 0!important;height:0!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-y:contain!important}
  .app-content:has(.ai-thread-scroll),.app-content:has(.dm-layout){height:auto!important}
  .dock{bottom:38px!important;left:12px!important;right:12px!important;padding:10px 5px 8px!important;z-index:4}
  .nav-bar{z-index:14!important;bottom:0!important}
  .quick-handle{z-index:15!important;bottom:3px!important}
  .status-bar{z-index:12!important;touch-action:pan-y!important}
  .side-info{display:none!important}
  .home-screen{padding-bottom:120px!important}
}
@media(min-width:801px){
  .dock{bottom:34px!important}
  .app-content{min-height:0!important;overscroll-behavior-y:contain}
}
.app-window,.app-header,.app-content{pointer-events:auto}
.app-content{position:relative;z-index:1}

/* GyoWeb — Google-inspired search experience */
.gyoweb-google{min-height:100%;padding:clamp(16px,3vw,30px);background:var(--bg);color:var(--text)}
.gyoweb-google-brand{text-align:center;padding:clamp(20px,5vh,55px) 8px 22px}
.gyoweb-google-logo{font-size:clamp(30px,6vw,46px);font-weight:800;letter-spacing:-2px;color:#8da7ff}
.gyoweb-google-logo span{color:#e58ab7}.gyoweb-google-logo b{color:#e8edf9;font-weight:700}
.gyoweb-google-brand p{margin:8px 0 0;color:var(--muted);font-size:12px}
.gyoweb-google .gyoweb-search{max-width:760px;margin:0 auto;min-height:52px;display:flex;align-items:center;gap:12px;padding:5px 8px 5px 17px;border:1px solid #53617b;border-radius:28px;background:#fff;color:#303747;box-shadow:0 5px 22px #0002}
.gyoweb-google .gyoweb-search>i{color:#71809a;flex:0 0 auto}
.gyoweb-google .gyoweb-search input{flex:1;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:#202838!important;font-size:14px!important;box-shadow:none!important;padding:10px 0!important}
.gyoweb-google .gyoweb-search input::placeholder{color:#7d8799}
.gyoweb-search-submit{width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#e8edff;color:#4659a9}
.gyoweb-tabs{display:flex;justify-content:center;gap:8px;max-width:760px;margin:17px auto 10px;border-bottom:1px solid var(--line)}
.gyoweb-tabs button{padding:10px 16px;background:transparent;color:var(--muted);border-bottom:2px solid transparent;font-size:12px}
.gyoweb-tabs button.active{color:#a99aff;border-color:#a99aff}
.gyoweb-google .gyoweb-status{max-width:760px;margin:12px auto;color:var(--muted);font-size:11px}
.gyoweb-google .gyoweb-results{max-width:760px;margin:0 auto}
.gyoweb-google .gyoweb-result{padding:15px 2px;border-bottom:1px solid var(--line)}
.gyoweb-google .gyoweb-result-host{font-size:10px;color:#8ea0bd;margin-bottom:5px}
.gyoweb-google .gyoweb-result-title{font-size:16px;color:#a9baff;text-decoration:none;font-weight:650}
.gyoweb-google .gyoweb-result p{font-size:12px;line-height:1.6;color:#c2cbe0;margin:7px 0}
.gyoweb-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gyoweb-image-card{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--text);text-decoration:none;font-size:10px;line-height:1.35}
.gyoweb-image-card img{width:100%;height:120px;object-fit:cover;border-radius:11px;background:#20283a;border:1px solid var(--line)}
.gyoweb-image-card span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gyoweb-google .gyoweb-welcome{text-align:center;padding:34px 12px;color:var(--muted)}
.gyoweb-welcome-mark{display:inline-grid;place-items:center;width:54px;height:54px;border-radius:18px;background:#8e80ff20;color:#a99aff;font-size:22px}
@media(max-width:420px){.gyoweb-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gyoweb-image-card img{height:112px}.gyoweb-google .gyoweb-search{min-height:48px}.gyoweb-tabs button{padding:10px 12px}}


/* BUILD 121 — GyoStore product detail and App Builder polish */
.store-detail-page{margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(155deg,#151e34,#0d1221 70%);box-shadow:0 14px 34px #0003}
.store-detail-hero{display:flex;align-items:center;gap:15px;margin:12px 0 18px;min-width:0}
.store-detail-icon{width:88px;height:88px;flex:0 0 88px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(145deg,#a99aff,#6551d0);box-shadow:0 12px 28px #0004}
.store-detail-icon .app-glyph{width:68px;height:68px;border:0;background:transparent;box-shadow:none;font-size:30px}
.store-detail-title{min-width:0}.store-detail-title h2{font-size:22px;line-height:1.2;margin:0 0 6px;overflow-wrap:anywhere}.store-detail-title p{margin:0 0 5px;color:#c7cdec;font-size:12px}.store-detail-title span{font-size:10px;color:var(--muted)}
.store-detail-rating{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.store-detail-rating strong{font-size:17px;color:#ffd36c}.store-detail-description{font-size:13px;line-height:1.75;color:#d7def5;margin:16px 0}
.store-review-section{margin-top:22px}.store-review-section h3{font-size:15px;margin:0 0 12px}.store-review{padding:12px 0;border-bottom:1px solid var(--line)}.store-review>div{display:flex;justify-content:space-between;gap:8px}.store-review>div strong{font-size:12px}.store-review>div span{color:#ffd36c;letter-spacing:1px}.store-review small{color:var(--muted);font-size:10px}.store-review p{font-size:12px;line-height:1.55;margin:7px 0 0;color:#d6def4}.store-review-form{display:grid;gap:9px;margin-top:14px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#ffffff06}.store-review-form label{font-size:11px;font-weight:700}.store-review-form select,.store-review-form textarea{width:100%;border:1px solid var(--line);border-radius:11px;padding:11px;background:var(--surface2);color:var(--text);min-width:0}.builder-studio{gap:15px}.builder-studio>section:first-child{border:1px solid var(--line);border-radius:20px;background:linear-gradient(160deg,#151e34,#0c1120);padding:15px}.builder-studio .builder-source-import{padding:14px;border:1px dashed #8e84d8;border-radius:15px;background:#8e84d812;margin-bottom:14px}.builder-studio .builder-source-import strong{font-size:13px}.builder-studio .builder-source-import p{line-height:1.55}.builder-preview-card{border:1px solid var(--line);border-radius:20px;background:linear-gradient(160deg,#171f35,#0c1120);padding:13px}.builder-preview-card iframe{height:380px!important;border-radius:14px!important}.store-remote-detail:empty{display:none}
@media(max-width:520px){.store-detail-page{padding:13px;border-radius:18px}.store-detail-icon{width:72px;height:72px;flex-basis:72px;border-radius:20px}.store-detail-title h2{font-size:19px}.store-detail-rating{justify-content:flex-start}.store-detail-rating>*{margin-right:9px}.builder-studio .builder-source-import{padding:11px}.builder-preview-card iframe{height:300px!important}}

/* BUILD 123 — unified framed-device layout for mobile browsers and desktop */
@media (max-width: 800px) {
  html, body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    max-width: 100%;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body {
    min-height: 100dvh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  .site-topbar {
    position: relative !important;
    top: auto !important;
    flex: 0 0 56px;
    width: 100%;
    height: 56px;
    min-height: 56px !important;
    max-height: 56px;
    box-sizing: border-box;
    padding: 7px 12px !important;
    z-index: 2000;
  }

  .stage#gyoStage {
    position: relative;
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    box-sizing: border-box;
    padding: 12px 16px !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .stage#gyoStage .phone {
    position: relative;
    display: block;
    flex: 0 1 auto !important;
    width: min(390px, calc(100vw - 32px), calc((100dvh - 80px) * 0.4756097561)) !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100%;
    max-height: calc(100dvh - 80px) !important;
    aspect-ratio: 390 / 820 !important;
    box-sizing: border-box;
    padding: 7px !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    border-radius: clamp(28px, 8vw, 42px) !important;
    background: linear-gradient(135deg,#34394b,#090b12 30%,#41475a 60%,#10121b) !important;
    box-shadow: 0 22px 65px #000b, 0 0 0 3px #06070c !important;
    overflow: hidden !important;
  }

  .stage#gyoStage .phone:before {
    display: block !important;
    content: "";
    top: 10px !important;
    width: 86px;
    height: 19px;
    z-index: 20;
  }

  .stage#gyoStage .screen {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: clamp(21px, 6vw, 33px) !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .stage#gyoStage .side-info {
    display: none !important;
  }

  .status-bar {
    height: 38px !important;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 17px 0 !important;
  }

  .home-screen {
    position: absolute !important;
    inset: 38px 0 28px !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
  }

  .app-window {
    position: absolute !important;
    inset: 38px 0 28px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .app-content {
    min-width: 0 !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .nav-bar {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 28px !important;
  }

  .quick-handle {
    bottom: 3px !important;
  }

  .dock {
    bottom: 34px !important;
  }

  .rental-overlay-host .rental-panel {
    right: 12px !important;
    bottom: max(12px, env(safe-area-inset-bottom, 0px)) !important;
    width: min(420px, calc(100vw - 24px)) !important;
    max-height: min(78dvh, 680px) !important;
  }
}

@media (max-width: 360px) {
  .stage#gyoStage { padding-inline: 12px !important; }
  .stage#gyoStage .phone {
    width: min(calc(100vw - 24px), calc((100dvh - 80px) * 0.4756097561)) !important;
  }
}

@media (min-width: 801px) {
  .stage#gyoStage .phone {
    border: 1px solid rgba(255,255,255,.24);
    box-shadow: 0 35px 100px #0009, 0 0 0 4px #06070c;
  }
}


/* BUILD 124 — visibility state must always win over app-window layout rules */
.app-window.hidden {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.app-window:not(.hidden) {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}


/* BUILD 125 — mobile Cloud Phone must boot to Home, not an empty app shell.
   Scoped to mobile only; desktop layout and visibility rules remain untouched. */
@media (max-width: 800px) {
  #appWindow.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  #appWindow:not(.hidden) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  #homeScreen.hidden {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  #homeScreen:not(.hidden) {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


/* BUILD 126 — keep mobile screen visibility deterministic with the JS screen state. */
@media (max-width: 800px) {
  #appWindow.hidden, #homeScreen.hidden {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  #appWindow:not(.hidden), #homeScreen:not(.hidden) {
    visibility: visible !important;
    pointer-events: auto !important;
  }
  #appWindow:not(.hidden) { display: flex !important; }
  #homeScreen:not(.hidden) { display: block !important; }
}

/* Gyo Music — AFTE-inspired dark catalogue with pastel peach accents */
.gyomusic-page{display:flex;flex-direction:column;gap:16px;color:var(--white,#fff)}.gyomusic-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 2px}.gyomusic-kicker{font-size:10px;letter-spacing:2px;font-weight:800;color:#ffdab9}.gyomusic-heading h2{font-size:25px;margin:5px 0}.gyomusic-heading p,.gyomusic-feature p,.gyomusic-section-title p{font-size:12px;color:#bdbdbd;margin:0}.gyomusic-mark{width:46px;height:46px;border-radius:15px;background:#ffdab9;color:#111;display:grid;place-items:center;font-size:21px}.gyomusic-feature{position:relative;overflow:hidden;min-height:142px;border-radius:19px;padding:19px;background:linear-gradient(115deg,#292321,#171717 68%);border:1px solid #46372f;display:flex;align-items:center;justify-content:space-between}.gyomusic-feature-copy{position:relative;z-index:1}.gyomusic-feature-copy>span{font-size:9px;letter-spacing:2px;color:#ffdab9;font-weight:800}.gyomusic-feature h3{font-size:21px;line-height:1.12;margin:8px 0}.gyomusic-feature-art{font-size:82px;color:#ffdab9;opacity:.8;transform:rotate(-13deg);margin-right:14px}.gyomusic-section-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.gyomusic-section-title h3{font-size:16px;margin:0 0 3px}.gyomusic-library{display:grid;grid-template-columns:1fr;gap:8px}.gyomusic-track{width:100%;display:flex;align-items:center;gap:11px;text-align:left;padding:9px;border:1px solid #303030;border-radius:13px;background:#1b1b1b;color:#fff;cursor:pointer;min-width:0}.gyomusic-track.active{border-color:#ffdab9;background:#29231f}.gyomusic-track-cover,.gyomusic-now-cover{width:48px;height:48px;flex:0 0 48px;border-radius:10px;background:#302923;color:#ffdab9;display:grid;place-items:center;overflow:hidden;font-size:19px}.gyomusic-track-cover img,.gyomusic-now-cover img{width:100%;height:100%;object-fit:cover}.gyomusic-track-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.gyomusic-track-info strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gyomusic-track-info small{font-size:11px;color:#bdbdbd;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gyomusic-track-action{width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#ffdab9;color:#171717;display:grid;place-items:center;font-size:11px}.gyomusic-player{position:sticky;bottom:5px;z-index:5;display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding:10px;border:1px solid #4a3b32;border-radius:15px;background:#171717f2;box-shadow:0 8px 25px #0007;backdrop-filter:blur(12px)}.gyomusic-now-cover{width:44px;height:44px;flex-basis:44px}.gyomusic-now-meta{min-width:0;display:flex;flex-direction:column;gap:3px}.gyomusic-now-meta strong,.gyomusic-now-meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gyomusic-now-meta strong{font-size:12px}.gyomusic-now-meta small{font-size:10px;color:#bdbdbd}.gyomusic-player audio{grid-column:1/-1;width:100%;height:36px;accent-color:#ffdab9}.gyomusic-page .empty-state{padding:24px 12px;border:1px dashed #49413c;border-radius:14px;background:#191919;color:#bdbdbd;text-align:center}.gyomusic-page .empty-state strong{display:block;color:#fff;margin:8px 0 4px}
.gyomusic-skip-controls{display:flex;gap:13px;margin-top:5px}.gyomusic-skip-controls button{border:0;background:transparent;color:#ffdab9;font-size:15px;padding:2px 5px;cursor:pointer}

/* BUILD 129 — compact flat music dock, music search, full-width economy figures */
.gyomusic-page{min-height:100%;padding-bottom:4px}
.gyomusic-search{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 13px;background:#191919;border:1px solid #34302d;border-radius:12px;color:#ffdab9}
.gyomusic-search input{flex:1;min-width:0;height:42px;border:0!important;outline:0!important;background:transparent!important;color:#fff!important;font-size:13px!important;box-shadow:none!important}
.gyomusic-search input::placeholder{color:#929292}
.gyomusic-player{position:sticky;bottom:0;z-index:12;grid-template-columns:44px minmax(0,1fr);gap:8px 10px;padding:9px 10px calc(9px + env(safe-area-inset-bottom));margin:8px -9px -9px;width:calc(100% + 18px);border:0;border-top:1px solid #39312c;border-radius:0;background:#171717;box-shadow:none;backdrop-filter:none}
.gyomusic-player audio{grid-column:1/-1;width:100%;height:34px;accent-color:#ffdab9}
.gyomusic-now-cover{width:44px;height:44px;flex-basis:44px;border-radius:7px}
.gyomusic-now-meta{gap:2px}
.gyomusic-skip-controls{display:flex;gap:8px;margin-top:3px}
.gyomusic-skip-controls button{width:25px;height:23px;border:0;background:transparent;color:#ffdab9;padding:0}
.economy-balance{container-type:inline-size}
.economy-balance>strong{font-size:clamp(12px,4.8vw,28px)!important;font-size:clamp(12px,6cqi,34px)!important;line-height:1.15!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:-.035em;font-variant-numeric:tabular-nums;max-width:100%}
.economy-stats>.card{container-type:inline-size}
.economy-stats strong{font-size:clamp(12px,4.5vw,22px)!important;font-size:clamp(12px,8cqi,25px)!important;line-height:1.15!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
@media(max-width:800px){
 .gyomusic-player{margin-left:-9px;margin-right:-9px;width:calc(100% + 18px);bottom:0}
 .app-content .economy-balance{padding:14px!important;gap:6px!important}
 .app-content .economy-balance>strong{font-size:clamp(12px,6cqi,25px)!important;white-space:nowrap!important;text-align:left!important}
 .app-content .economy-stats>.card{padding:10px!important}
 .app-content .economy-stats strong{font-size:clamp(12px,8cqi,19px)!important;white-space:nowrap!important;overflow-wrap:normal!important}
}
.app-content .economy-stats strong{font-size:clamp(12px,4.5vw,22px)!important;font-size:clamp(12px,8cqi,25px)!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:-.04em}


/* BUILD 130 — Gyo Music fixed bottom dock, adaptive economy values, GyoWatch */
.app-content:has(.gyomusic-page){display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important;padding:0 15px!important}
.gyomusic-page{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important;gap:10px!important;padding:12px 0 0!important}
.gyomusic-heading,.gyomusic-search,.gyomusic-section-title{flex:0 0 auto!important}
.gyomusic-library{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:2px 2px 14px!important}
.gyomusic-player{position:relative!important;inset:auto!important;flex:0 0 auto!important;z-index:20!important;display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;gap:6px 10px!important;width:calc(100% + 30px)!important;margin:0 -15px!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))!important;border:0!important;border-top:1px solid #3d342f!important;border-radius:0!important;background:#151515!important;box-shadow:0 -5px 18px #0005!important;backdrop-filter:none!important}
.gyomusic-player audio{grid-column:1/-1!important;width:100%!important;height:30px!important;margin:0!important}
.gyomusic-now-cover{width:40px!important;height:40px!important;flex-basis:40px!important}
.gyomusic-now-meta{min-width:0!important}
.gyomusic-skip-controls{margin-top:1px!important}
.economy-balance{container-type:inline-size!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;min-width:0!important}
.app-content .economy-balance>small,.app-content .economy-balance>span:not(.economy-unit){font-size:11px!important;line-height:1.3!important}
.app-content .economy-balance>strong{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:5px!important;width:100%!important;max-width:100%!important;min-width:0!important;grid-column:auto!important;grid-row:auto!important;text-align:left!important;white-space:nowrap!important;overflow:hidden!important;font-size:clamp(12px,7cqi,34px)!important;line-height:1.1!important;letter-spacing:-.035em!important}
.economy-balance #bankBalanceNumber{display:block!important;flex:0 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;font-size:1em!important;font-variant-numeric:tabular-nums!important}
.economy-balance .economy-unit{display:inline-block!important;flex:0 0 auto!important;font-size:.52em!important;line-height:1!important;letter-spacing:0!important;white-space:nowrap!important;color:#d4e5e4!important}
.gyowatch-page{display:flex;flex-direction:column;gap:12px;min-width:0;color:var(--text)}
.gyowatch-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.gyowatch-heading h2{font-size:24px;margin:4px 0}.gyowatch-heading p{font-size:11px;color:var(--muted);margin:0}.gyowatch-mark{width:44px;height:44px;border-radius:14px;background:#ffdab9;color:#171717;display:grid;place-items:center;font-size:20px;flex:0 0 auto}
.gyowatch-search{display:flex;align-items:center;gap:9px;padding:0 12px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:#ffdab9}.gyowatch-search input{width:100%;min-width:0;border:0!important;background:transparent!important;color:var(--text)!important;outline:0!important;box-shadow:none!important}
.gyowatch-tabs{display:flex;gap:7px;overflow:auto}.gyowatch-tabs button{flex:0 0 auto;padding:8px 13px;border-radius:20px;background:var(--surface2);color:var(--text);font-size:11px}.gyowatch-tabs button.active{background:#ffdab9;color:#171717;font-weight:800}
.gyowatch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gyowatch-card{min-width:0;overflow:hidden;text-align:left;border-radius:12px;background:var(--surface);border:1px solid var(--line);color:var(--text);padding:0;display:flex;flex-direction:column}.gyowatch-card img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;background:#222}.gyowatch-card>span{display:flex;flex-direction:column;gap:4px;padding:7px;min-width:0}.gyowatch-card strong{font-size:10px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gyowatch-card small{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gyowatch-score{color:#e8bd70!important}
.gyowatch-disclaimer{font-size:9px;line-height:1.5;color:var(--muted);margin:2px 0 8px}.gyowatch-detail{min-width:0}.gyowatch-detail-head{display:flex;gap:12px;margin:12px 0}.gyowatch-detail-head>img{width:104px;max-height:150px;object-fit:cover;border-radius:10px}.gyowatch-detail-head>div{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.gyowatch-detail-head h3{font-size:17px;margin:0}.gyowatch-detail-head p,.gyowatch-detail-head small{font-size:10px;color:var(--muted);margin:0}.gyowatch-detail-head button{margin-top:auto;font-size:10px;padding:7px 10px}.gyowatch-synopsis{font-size:11px;line-height:1.6;color:var(--muted)}.gyowatch-genres{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 14px}.gyowatch-genres span{font-size:9px;padding:5px 8px;border-radius:20px;background:var(--surface2)}.gyowatch-player{background:#080808;border-radius:12px;overflow:hidden;margin:8px 0}.gyowatch-player-empty{aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#fff;text-align:center;padding:12px}.gyowatch-player-empty i{font-size:32px;color:#ffdab9}.gyowatch-player-empty strong{font-size:12px}.gyowatch-player-empty small{font-size:9px;color:#aaa}.gyowatch-iframe-wrap{position:relative;width:100%;aspect-ratio:16/9;min-height:200px;background:#000}.gyowatch-iframe-wrap iframe,.gyowatch-direct-video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}.gyowatch-playing-title{font-size:10px;color:#eee;padding:8px 10px}.gyowatch-episodes{display:flex;flex-direction:column;gap:7px;margin:10px 0}.gyowatch-episode{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px;border-radius:10px;background:var(--surface);border:1px solid var(--line);color:var(--text);text-align:left}.gyowatch-episode>span{display:flex;flex-direction:column;gap:4px;min-width:0}.gyowatch-episode strong{font-size:11px}.gyowatch-episode small{font-size:9px;color:var(--muted)}.gyowatch-episode>i{color:#ffdab9}
@media(max-width:420px){.gyowatch-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.gyowatch-card>span{padding:6px}.gyowatch-card strong{font-size:9px}.gyowatch-detail-head>img{width:88px}.app-content:has(.gyomusic-page){padding:0 11px!important}.gyomusic-player{width:calc(100% + 22px)!important;margin-left:-11px!important;margin-right:-11px!important}}

.gyowatch-official-links{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.gyowatch-official-links span{width:100%;font-size:9px;color:var(--muted)}.gyowatch-official-links a{font-size:10px;color:#ffdab9;border:1px solid #ffdab955;border-radius:18px;padding:6px 9px;text-decoration:none}.gyowatch-id{font-size:9px;color:#ffdab9!important}

/* BUILD 131: persistent Gyo Music playback dock */
.app-content:has(.gyomusic-page){display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important;padding:0 15px!important}
.gyomusic-page{display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important;gap:9px!important;padding:10px 0 0!important}
.gyomusic-heading,.gyomusic-search,.gyomusic-section-title{flex:0 0 auto!important}
.gyomusic-library{display:flex!important;flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:2px 2px 10px!important}
.gyomusic-player{position:relative!important;inset:auto!important;flex:0 0 auto!important;z-index:20!important;display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:6px 10px!important;width:calc(100% + 30px)!important;margin:0 -15px!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))!important;border:0!important;border-top:1px solid #3d342f!important;border-radius:0!important;background:#151515!important;box-shadow:0 -5px 18px #0005!important;backdrop-filter:none!important}
.gyomusic-player .gyomusic-audio-host{grid-column:1/-1!important;min-width:0!important}
.gyomusic-player audio{display:block!important;width:100%!important;height:32px!important;margin:0!important;accent-color:#ffdab9}
.gyomusic-now-cover{width:40px!important;height:40px!important;flex-basis:40px!important}
.gyomusic-now-meta{min-width:0!important}
@media(max-width:420px){.app-content:has(.gyomusic-page){padding:0 11px!important}.gyomusic-player{width:calc(100% + 22px)!important;margin-left:-11px!important;margin-right:-11px!important}}


/* BUILD 132 — persistent audio node lives outside the app window so display:none on Home cannot pause it */
.gyo-persistent-audio-host{position:absolute;z-index:13;left:12px;right:12px;bottom:32px;min-height:42px;padding:3px 7px;border:1px solid rgba(255,255,255,.14);border-radius:13px;background:rgba(13,18,35,.96);backdrop-filter:blur(18px);visibility:hidden;opacity:0;pointer-events:none;transition:opacity .15s ease;box-sizing:border-box}
.gyo-persistent-audio-host.is-visible{visibility:visible;opacity:1;pointer-events:auto}
.gyo-persistent-audio-host audio{display:block;width:100%;height:38px;max-width:100%}

/* BUILD 133 — reserve Home space for the floating dock on mobile without changing desktop */
@media (max-width: 800px) {
  #homeScreen { padding-bottom: 178px !important; }
  #homeScreen .launcher-pages { padding-bottom: 28px !important; }
  #homeScreen .dock { bottom: 36px !important; left: 12px !important; right: 12px !important; z-index: 12 !important; min-height: 94px !important; padding: 10px 5px 8px !important; }
  #homeScreen .dock .app-icon { flex: 1 1 0 !important; min-width: 0 !important; }
  #homeScreen .dock .app-icon small { max-width: 64px !important; }
  #homeScreen .launcher-page { padding-bottom: 18px !important; }
}
/* BUILD 133 — boot logo reveal and subtle star particles */
.gyo-boot .boot-orb { animation: gyoBootReveal 1.45s cubic-bezier(.2,.8,.2,1) both, gyoBootGlow 2.2s ease-in-out 1.2s infinite; position:relative; }
.gyo-boot .boot-orb:before,.gyo-boot .boot-orb:after { content:"✦"; position:absolute; color:#d9d3ff; opacity:0; font-size:13px; animation:gyoBootSpark 1.8s ease-out .55s infinite; }
.gyo-boot .boot-orb:before { left:-22px;top:8px; }
.gyo-boot .boot-orb:after { right:-25px;bottom:8px;animation-delay:1.05s; }
@keyframes gyoBootReveal { from {opacity:0;transform:scale(.45) rotate(-18deg);filter:blur(8px)} to {opacity:1;transform:scale(1) rotate(0);filter:blur(0)} }
@keyframes gyoBootGlow { 0%,100% {filter:drop-shadow(0 0 8px #a99cff55)} 50% {filter:drop-shadow(0 0 22px #a99cffbb)} }
@keyframes gyoBootSpark { 0% {opacity:0;transform:scale(.3) translateY(8px)} 35% {opacity:1} 100% {opacity:0;transform:scale(1.35) translateY(-15px)} }


/* BUILD 134 — mobile launcher has a dedicated dock lane and true touch swipe */
@media (max-width:800px){
 #homeScreen.home-screen{inset:42px 0 28px!important;height:auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:clamp(42px,6vh,58px) 12px calc(148px + env(safe-area-inset-bottom,0px))!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;}
 #homeScreen .launcher-pages{display:flex!important;width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x!important;overscroll-behavior-x:contain!important;}
 #homeScreen .launcher-page{flex:0 0 100%!important;width:100%!important;min-width:100%!important;scroll-snap-align:start!important;}
 #homeScreen .launcher-page .app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(64px,auto))!important;grid-auto-rows:minmax(64px,auto)!important;min-height:0!important;height:auto!important;gap:clamp(8px,1.3vh,13px) 5px!important;padding:4px 2px 10px!important;align-content:start!important;}
 #homeScreen .launcher-page .app-icon{min-height:64px!important;height:auto!important;gap:5px!important;}
 #homeScreen .launcher-page .app-glyph{width:clamp(38px,10vw,46px)!important;height:clamp(38px,10vw,46px)!important;border-radius:14px!important;}
 #homeScreen .launcher-page .app-icon small{font-size:clamp(8px,2.2vw,10px)!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;min-height:20px!important;}
 #homeScreen .launcher-page-dots{margin:7px 0 0!important;height:16px!important;}
 #homeScreen .dock{position:absolute!important;left:12px!important;right:12px!important;bottom:calc(34px + env(safe-area-inset-bottom,0px))!important;z-index:8!important;min-height:86px!important;padding:9px 5px 7px!important;display:flex!important;align-items:center!important;}
 #homeScreen .dock .app-icon{flex:1 1 0!important;min-width:0!important;}
 #homeScreen .dock .app-glyph{width:clamp(38px,10vw,46px)!important;height:clamp(38px,10vw,46px)!important;}
 #homeScreen .dock .app-icon small{font-size:8px!important;max-width:100%!important;}
}
.gyo-boot{gap:0!important;text-align:center!important;}
.gyo-boot .boot-orb{width:132px!important;height:132px!important;border-radius:38px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;font-size:56px!important;letter-spacing:0!important;}
.gyo-boot .boot-orb small{font-size:10px!important;letter-spacing:3px!important;color:#172039!important;font-weight:900!important;}
.gyo-boot .boot-brand,.gyo-boot .boot-model,.gyo-boot .boot-loader,.gyo-boot #bootMessage{display:none!important;}
.word-hint{padding:22px 15px;margin:18px 0;border-radius:18px;background:var(--surface);font-size:16px;font-weight:700;text-align:center;line-height:1.5;}
.word-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.word-options button{min-height:54px;font-weight:800;}
.puzzle-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(100%,330px);aspect-ratio:1;margin:18px auto;padding:10px;border-radius:18px;background:#11182b;}
.puzzle-tile{border:0;border-radius:13px;background:linear-gradient(145deg,#a99bff,#6454c7);color:#101426;font-size:24px;font-weight:900;box-shadow:0 4px 10px #0003;}
.puzzle-tile.empty{background:#20283c;box-shadow:none;}
.usdt-balance-card strong{display:block;font-size:clamp(22px,6vw,34px);margin:8px 0;overflow-wrap:anywhere;}
@media(max-width:420px){.word-options{grid-template-columns:1fr 1fr}.puzzle-board{gap:6px;padding:7px}.puzzle-tile{font-size:20px}}

.game-money-tag{color:#25d366;font-weight:1000;text-shadow:0 0 10px #25d36644}


/* BUILD 135 — definitive mobile viewport, non-overlapping dock and horizontal touch paging */
@media (max-width:800px){
  html,body{position:fixed!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;overscroll-behavior:none!important;touch-action:none!important;}
  body{padding:0!important;margin:0!important;}
  .gyobite-topbar{position:relative!important;z-index:2200!important;}
  #gyoStage.stage{position:fixed!important;top:var(--gyobite-topbar-height,56px)!important;left:0!important;right:0!important;bottom:0!important;width:100vw!important;height:auto!important;min-height:0!important;max-height:none!important;padding:6px 0 env(safe-area-inset-bottom,0px)!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
  #gyoStage .phone{width:min(calc(100vw - 12px),calc((100dvh - var(--gyobite-topbar-height,56px) - env(safe-area-inset-bottom,0px) - 12px)*.475))!important;height:auto!important;aspect-ratio:390/820!important;min-height:0!important;max-height:calc(100dvh - var(--gyobite-topbar-height,56px) - env(safe-area-inset-bottom,0px) - 12px)!important;flex:0 1 auto!important;overflow:hidden!important;}
  #screen.screen{position:relative!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none!important;touch-action:pan-x pan-y!important;}
  #homeScreen.home-screen{position:absolute!important;inset:42px 0 28px!important;display:flex!important;flex-direction:column!important;gap:0!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;overscroll-behavior:none!important;touch-action:pan-x pan-y!important;padding:clamp(38px,5.2vh,52px) 12px calc(104px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;}
  #homeScreen .home-heading{flex:0 0 auto!important;margin:0 0 clamp(6px,1.2vh,10px)!important;min-height:0!important;}
  #homeScreen .home-heading h1{font-size:clamp(20px,5.7vw,25px)!important;margin:4px 0!important;}
  #homeScreen .search-pill{flex:0 0 auto!important;min-height:40px!important;padding:9px 12px!important;}
  #homeScreen .widget-row{flex:0 0 auto!important;gap:7px!important;margin:clamp(7px,1.2vh,11px) 0!important;}
  #homeScreen .mini-widget{min-height:62px!important;padding:8px!important;}
  #homeScreen .section-heading{flex:0 0 auto!important;margin:2px 0 7px!important;}
  #homeScreen .launcher-pages{position:relative!important;display:flex!important;flex:1 1 0%!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;overscroll-behavior-y:none!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-x!important;}
  #homeScreen .launcher-page{display:block!important;flex:0 0 100%!important;width:100%!important;min-width:100%!important;height:100%!important;min-height:0!important;scroll-snap-align:start!important;overflow:hidden!important;padding:0!important;}
  #homeScreen .launcher-page .app-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;grid-auto-rows:0!important;align-content:stretch!important;justify-content:stretch!important;gap:clamp(4px,1vh,9px) 4px!important;width:100%!important;height:100%!important;min-height:0!important;max-height:100%!important;padding:4px 2px!important;box-sizing:border-box!important;}
  #homeScreen .launcher-page .app-icon{display:flex!important;min-width:0!important;min-height:0!important;height:100%!important;max-height:100%!important;justify-content:flex-start!important;gap:4px!important;padding:2px!important;overflow:hidden!important;}
  #homeScreen .launcher-page .app-glyph{width:clamp(34px,9.2vw,44px)!important;height:clamp(34px,9.2vw,44px)!important;flex:0 0 auto!important;border-radius:13px!important;}
  #homeScreen .launcher-page .app-icon small{display:block!important;max-width:100%!important;min-height:0!important;font-size:clamp(8px,2vw,9px)!important;line-height:1.15!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere!important;}
  #homeScreen .launcher-empty{grid-column:1/-1!important;align-self:start!important;}
  #homeScreen .launcher-page-dots{flex:0 0 16px!important;height:16px!important;margin:3px 0 0!important;display:flex!important;justify-content:center!important;align-items:center!important;}
  #homeScreen .dock{position:absolute!important;left:10px!important;right:10px!important;bottom:8px!important;z-index:18!important;display:flex!important;justify-content:space-around!important;align-items:center!important;min-height:76px!important;height:76px!important;padding:7px 4px!important;margin:0!important;box-sizing:border-box!important;}
  #homeScreen .dock .app-icon{flex:1 1 0!important;min-width:0!important;height:auto!important;min-height:0!important;gap:3px!important;}
  #homeScreen .dock .app-glyph{width:clamp(34px,9vw,42px)!important;height:clamp(34px,9vw,42px)!important;}
  #homeScreen .dock .app-icon small{font-size:8px!important;line-height:1.1!important;white-space:nowrap!important;max-width:100%!important;}
  #appWindow.app-window{position:absolute!important;inset:42px 0 28px!important;display:flex!important;flex-direction:column!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;z-index:10!important;}
  #appWindow.hidden{display:none!important;}
  #appWindow .app-header{flex:0 0 auto!important;min-height:52px!important;}
  #appContent.app-content{display:block!important;position:relative!important;flex:1 1 0%!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;padding:12px 11px calc(18px + env(safe-area-inset-bottom,0px))!important;box-sizing:border-box!important;}
  #homeScreen.hidden,#appWindow.hidden{display:none!important;}
  .nav-bar{z-index:30!important;bottom:0!important;height:28px!important;}
  .quick-handle{z-index:31!important;}
}
/* Keep alerts visually consistent with the Gyobite glass/pastel interface. */
.gyo-popup-overlay{z-index:300!important;padding:18px!important;background:rgba(5,8,20,.72)!important;backdrop-filter:blur(12px)!important;}
.gyo-popup{width:min(100%,360px)!important;padding:22px!important;border:1px solid rgba(181,169,255,.28)!important;border-radius:24px!important;background:linear-gradient(155deg,#202840f7,#11182af7)!important;box-shadow:0 24px 80px #0009,0 0 35px #a99bff18!important;color:#f5f6ff!important;animation:gyoPopupIn .2s ease-out!important;}
.gyo-popup h3{font-size:18px!important;letter-spacing:-.3px!important;margin:12px 0 7px!important;}
.gyo-popup p{font-size:13px!important;line-height:1.6!important;color:#c6cce0!important;white-space:pre-line!important;}
.gyo-popup-icon{width:52px!important;height:52px!important;border-radius:17px!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,#a99bff,#6657c9)!important;color:#101629!important;font-size:20px!important;box-shadow:0 8px 24px #8c7cff35!important;}
.gyo-popup-icon.success{background:linear-gradient(145deg,#73edc1,#18a77f)!important;color:#09241b!important;}
.gyo-popup-icon.error{background:linear-gradient(145deg,#ff9baf,#d94c6a)!important;color:#35101b!important;}
.gyo-popup-icon.warning{background:linear-gradient(145deg,#ffe0a0,#e8a34d)!important;color:#38230a!important;}
.gyo-popup-actions{display:flex!important;gap:9px!important;margin-top:18px!important;}
.gyo-popup-actions>*{flex:1 1 0!important;min-height:42px!important;border-radius:13px!important;}
@keyframes gyoPopupIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}


/* BUILD 136 — renderer viewport recovery + readable launcher labels.
   This intentionally overrides accumulated legacy height:0 / overflow rules. */
#appWindow.app-window:not(.hidden){
  display:flex!important;flex-direction:column!important;
  position:absolute!important;inset:42px 0 28px!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  overflow:hidden!important;visibility:visible!important;opacity:1!important;
}
#appWindow.app-window:not(.hidden)>.app-header{flex:0 0 auto!important;min-height:52px!important}
#appContent.app-content{
  display:block!important;position:relative!important;
  flex:1 1 auto!important;width:100%!important;height:auto!important;
  min-height:1px!important;max-height:none!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  visibility:visible!important;opacity:1!important;
  contain:none!important;box-sizing:border-box!important;
}
#appContent.app-content>*{visibility:visible;opacity:1}
@media(max-width:800px){
  html,body{touch-action:none!important;overflow:hidden!important}
  #screen.screen{touch-action:pan-x pan-y!important;overflow:hidden!important}
  #homeScreen.home-screen{
    display:flex!important;flex-direction:column!important;
    inset:42px 0 28px!important;height:auto!important;min-height:0!important;max-height:none!important;
    overflow:hidden!important;overscroll-behavior:none!important;
    padding:clamp(34px,4.5vh,46px) 12px 7px!important;gap:0!important;
  }
  #homeScreen .home-heading,#homeScreen .search-pill,#homeScreen .widget-row,#homeScreen .section-heading{
    flex:0 0 auto!important;min-height:0!important;
  }
  #homeScreen .home-heading{margin-bottom:6px!important}
  #homeScreen .search-pill{min-height:40px!important;margin:0!important}
  #homeScreen .widget-row{margin:7px 0!important}
  #homeScreen .section-heading{margin:2px 0 5px!important}
  #homeScreen .launcher-pages{
    display:flex!important;position:relative!important;flex:1 1 auto!important;
    width:100%!important;height:auto!important;min-height:250px!important;max-height:none!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    touch-action:pan-x!important;overscroll-behavior-x:contain!important;overscroll-behavior-y:none!important;
    scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch!important;
  }
  #homeScreen .launcher-page{
    display:block!important;flex:0 0 100%!important;width:100%!important;min-width:100%!important;
    height:100%!important;min-height:0!important;overflow:visible!important;padding:0 0 3px!important;
  }
  #homeScreen .launcher-page .app-grid{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:repeat(3,minmax(72px,1fr))!important;grid-auto-rows:0!important;
    align-content:stretch!important;justify-content:stretch!important;
    width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;
    gap:5px 4px!important;padding:3px 2px 5px!important;box-sizing:border-box!important;
  }
  #homeScreen .launcher-page .app-icon{
    display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;height:100%!important;min-width:0!important;min-height:72px!important;max-height:none!important;
    gap:5px!important;padding:3px 2px!important;overflow:visible!important;
    white-space:normal!important;box-sizing:border-box!important;
  }
  #homeScreen .launcher-page .app-glyph{
    display:grid!important;place-items:center!important;flex:0 0 auto!important;
    width:clamp(36px,9.6vw,46px)!important;height:clamp(36px,9.6vw,46px)!important;
  }
  #homeScreen .launcher-page .app-icon small{
    display:block!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;
    height:auto!important;min-height:18px!important;max-height:none!important;
    overflow:visible!important;clip:auto!important;white-space:normal!important;
    overflow-wrap:anywhere!important;word-break:normal!important;text-overflow:clip!important;
    text-align:center!important;font-size:clamp(9px,2.35vw,11px)!important;line-height:1.25!important;
    color:var(--text,#f5f6ff)!important;opacity:1!important;visibility:visible!important;
  }
  #homeScreen .launcher-page-dots{flex:0 0 18px!important;height:18px!important;margin:3px 0 5px!important}
  #homeScreen .dock{
    position:relative!important;inset:auto!important;flex:0 0 82px!important;
    width:100%!important;height:82px!important;min-height:82px!important;
    margin:0!important;padding:7px 5px!important;z-index:8!important;
    display:flex!important;align-items:center!important;justify-content:space-around!important;
    box-sizing:border-box!important;
  }
  #homeScreen .dock .app-icon{height:auto!important;min-height:0!important;overflow:visible!important;gap:3px!important}
  #homeScreen .dock .app-icon small{display:block!important;visibility:visible!important;opacity:1!important;overflow:visible!important;font-size:9px!important;line-height:1.2!important;color:var(--text,#f5f6ff)!important}
  #appWindow.app-window:not(.hidden){inset:42px 0 28px!important;height:auto!important;min-height:0!important;max-height:none!important}
  #appContent.app-content{flex:1 1 auto!important;height:auto!important;min-height:1px!important;max-height:none!important;overflow-y:auto!important;padding:12px 11px calc(18px + env(safe-area-inset-bottom,0px))!important}
}

/* BUILD 136 — GyoWatch episode grouping and server picker */
.gyowatch-episode-group{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:9px;margin:8px 0}
.gyowatch-episode-group-title{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:2px 3px 8px}
.gyowatch-episode-group-title strong{font-size:12px}
.gyowatch-episode-group-title small{font-size:10px;color:var(--muted)}
.gyowatch-server-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.gyowatch-server-list .gyowatch-episode{margin:0;min-width:0}
.gyowatch-server-list .gyowatch-episode strong{overflow-wrap:anywhere}
@media(max-width:420px){.gyowatch-server-list{grid-template-columns:1fr}}


/* BUILD 137 — final app surface recovery + mobile launcher spacing.
   Override legacy declarations that collapsed app content or clipped labels. */
#appWindow.app-window:not(.hidden){display:flex!important;flex-direction:column!important;position:absolute!important;inset:42px 0 28px!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;visibility:visible!important;opacity:1!important}
#appWindow.app-window:not(.hidden)>.app-header{display:flex!important;flex:0 0 auto!important;visibility:visible!important;opacity:1!important}
#appWindow.app-window:not(.hidden)>#appContent.app-content{display:block!important;position:relative!important;flex:1 1 0%!important;flex-basis:0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;visibility:visible!important;opacity:1!important;contain:initial!important;clip:auto!important;box-sizing:border-box!important}
#appContent.app-content>.app-hero,#appContent.app-content .app-hero{display:flex!important;visibility:visible!important;opacity:1!important}
#appContent.app-content>*{visibility:visible!important;opacity:1!important}
#appContent.app-content:empty:after{content:'Konten aplikasi belum berhasil dimuat. Tutup aplikasi lalu buka kembali.';display:block;padding:18px;color:#b9c5df;font-size:12px;text-align:center}
@media(max-width:800px){
  #homeScreen.home-screen{padding-top:clamp(18px,2.6vh,27px)!important;padding-bottom:8px!important;gap:0!important}
  #homeScreen .home-heading{margin-top:0!important;margin-bottom:7px!important}
  #homeScreen .launcher-pages{flex:1 1 0!important;min-height:0!important;max-height:none!important;height:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-y:none!important;touch-action:pan-x!important}
  #homeScreen .launcher-page{height:100%!important;min-height:0!important;overflow:visible!important}
  #homeScreen .launcher-page .app-grid{height:100%!important;min-height:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;grid-auto-rows:0!important;align-content:stretch!important;gap:clamp(4px,.8vh,8px) 5px!important;padding:5px 3px!important}
  #homeScreen .launcher-page .app-icon{height:100%!important;min-height:0!important;max-height:none!important;overflow:visible!important;justify-content:flex-start!important;padding:2px!important;gap:4px!important}
  #homeScreen .launcher-page .app-icon small{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;width:100%!important;height:auto!important;min-height:20px!important;max-height:none!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere!important;word-break:normal!important;text-align:center!important;line-height:1.2!important;font-size:clamp(9px,2.35vw,11px)!important;color:#f5f6ff!important}
  #homeScreen .launcher-page .app-glyph{flex:0 0 auto!important;width:clamp(38px,10vw,46px)!important;height:clamp(38px,10vw,46px)!important}
  #homeScreen .launcher-page-dots{flex:0 0 18px!important;height:18px!important;margin:2px 0 4px!important}
  #homeScreen .dock{flex:0 0 78px!important;height:78px!important;min-height:78px!important;position:relative!important;inset:auto!important;margin:0!important;overflow:visible!important}
  #homeScreen .dock .app-icon small{display:block!important;visibility:visible!important;opacity:1!important;overflow:visible!important;clip:auto!important;white-space:normal!important;color:#f5f6ff!important}
  #appWindow.app-window:not(.hidden){inset:42px 0 28px!important}
  #appWindow.app-window:not(.hidden)>#appContent.app-content{height:0!important;min-height:0!important;flex:1 1 0%!important;overflow-y:auto!important;padding:10px 10px calc(18px + env(safe-area-inset-bottom,0px))!important}
}


/* BUILD 138 — deterministic app viewport; supersedes legacy height:0 rules. */
#appWindow.app-window:not(.hidden){
  display:grid!important;grid-template-rows:minmax(52px,auto) minmax(0,1fr)!important;
  position:absolute!important;inset:42px 0 28px!important;width:100%!important;height:auto!important;
  min-height:0!important;max-height:none!important;overflow:hidden!important;
  visibility:visible!important;opacity:1!important;box-sizing:border-box!important;
}
#appWindow.app-window:not(.hidden)>.app-header{display:flex!important;grid-row:1!important;
  min-height:52px!important;height:auto!important;flex:none!important;visibility:visible!important}
#appWindow.app-window:not(.hidden)>#appContent.app-content{
  display:block!important;grid-row:2!important;align-self:stretch!important;
  width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;
  visibility:visible!important;opacity:1!important;clip:auto!important;contain:none!important;
  box-sizing:border-box!important;position:relative!important;z-index:1!important;
}
#appContent.app-content:empty:after{content:'Konten aplikasi belum dirender. Muat ulang halaman dan periksa koneksi.';
  display:block!important;padding:18px;color:var(--muted,#b9c5df);font-size:12px;text-align:center}
@media(max-width:800px){
  #appWindow.app-window:not(.hidden){inset:42px 0 28px!important;grid-template-rows:minmax(52px,auto) minmax(0,1fr)!important}
  #appWindow.app-window:not(.hidden)>#appContent.app-content{height:auto!important;min-height:0!important;
    flex:none!important;overflow-x:hidden!important;overflow-y:auto!important;
    padding:10px 10px calc(18px + env(safe-area-inset-bottom,0px))!important}
  #homeScreen .dock{transform:translateY(-9px)!important}
}

/* BUILD 140 — desktop-first layout recovery and stable in-app composers */
@media (min-width:801px){
  html,body{min-height:100%;}
  .stage{width:100%;min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:clamp(34px,5vw,88px);padding:24px clamp(24px,4vw,72px);overflow-x:hidden;}
  .phone{width:430px;height:min(880px,calc(100dvh - 48px));min-height:620px;max-height:calc(100dvh - 48px);flex:0 0 430px;border-radius:42px;}
  .screen{border-radius:34px;}
  .side-info{width:min(440px,34vw);max-width:440px;min-width:300px;}
  .side-info h1{font-size:clamp(30px,3vw,46px);line-height:1.08;}
  .side-info p{font-size:14px;line-height:1.7;}
  .app-window{inset:42px 0 28px!important;display:flex!important;flex-direction:column!important;min-width:0;min-height:0;}
  .app-header{flex:0 0 auto;min-height:58px;}
  #appContent.app-content{display:flex!important;flex:1 1 0!important;flex-direction:column;min-width:0;width:100%;height:auto!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;padding:16px 16px 22px!important;}
  #appContent.app-content:has(.ai-thread-scroll),#appContent.app-content:has(.dm-layout){display:flex!important;flex-direction:column!important;overflow:hidden!important;}
  #appContent.app-content:has(.ai-thread-scroll)>.ai-thread-scroll{flex:1 1 0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow-y:auto!important;}
  #appContent.app-content:has(.ai-thread-scroll)>.ai-compose{flex:0 0 auto!important;margin-top:8px;position:relative!important;bottom:auto!important;}
  #appContent.app-content:has(.dm-layout)>.dm-layout{flex:1 1 0!important;min-height:0!important;height:auto!important;}
  .dm-layout{display:grid;grid-template-columns:minmax(120px,34%) minmax(0,1fr);gap:10px;}
  .dm-thread{display:flex;flex-direction:column;min-width:0;min-height:0;}
  .dm-messages{flex:1 1 0;min-height:0;overflow-y:auto;}
  .dm-thread .chat-compose{flex:0 0 auto;position:relative!important;bottom:auto!important;}
  .app-content .card{min-width:0;}
  .app-content .economy-stats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .app-content .trade-chart-card{width:100%;}
  .app-content .trade-chart-card #tradeChart{height:210px!important;}
  .bank-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 12px;padding:5px;border:1px solid var(--line);border-radius:14px;background:var(--bg);}
  .bank-tabs button{min-height:38px;border-radius:10px;background:transparent;color:var(--muted);font-size:11px;font-weight:700;}
  .bank-tabs button.active{background:linear-gradient(110deg,#6354c5,#8878ed);color:#fff;}
  .bank-view{min-width:0;}
  .bank-usdt-hero{background:linear-gradient(120deg,#102f3a,#145c58 58%,#167a68)!important;border-color:#267d70!important;}
  .bank-usdt-hero>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
  .bank-rate{font-size:clamp(21px,2vw,28px);font-weight:800;letter-spacing:-.5px;margin:12px 0;color:var(--accent2);}
  .trade-portfolio-card .economy-stats{margin:10px 0 0;}
}
@media (max-width:800px){
  .bank-tabs{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 10px;padding:4px;border:1px solid var(--line);border-radius:12px;background:var(--bg);}
  .bank-tabs button{min-height:36px;border-radius:9px;background:transparent;color:var(--muted);font-size:10px;font-weight:700;}
  .bank-tabs button.active{background:linear-gradient(110deg,#6354c5,#8878ed);color:#fff;}
  .bank-usdt-hero{background:linear-gradient(120deg,#102f3a,#145c58 58%,#167a68)!important;border-color:#267d70!important;}
  .bank-rate{font-size:22px;font-weight:800;margin:10px 0;color:var(--accent2);}
  .app-content:has(.ai-thread-scroll),.app-content:has(.dm-layout){display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important;}
  .app-content:has(.ai-thread-scroll)>.ai-thread-scroll{flex:1 1 0!important;min-height:0!important;height:auto!important;}
  .app-content:has(.ai-thread-scroll)>.ai-compose{flex:0 0 auto!important;position:relative!important;bottom:auto!important;}
}
@media (min-width:801px) and (max-width:1100px){
  .stage{gap:18px;padding:16px 18px;}
  .phone{width:390px;flex-basis:390px;height:min(820px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);}
  .side-info{width:min(320px,calc(100vw - 450px));min-width:250px;}
  .side-info h1{font-size:30px;}
}


/* BUILD 141 — reliable full-height application panes on desktop and mobile */
#appWindow.app-window:not(.hidden){display:flex!important;flex-direction:column!important;grid-template-rows:none!important;min-height:0!important;overflow:hidden!important}
#appWindow.app-window:not(.hidden)>#appContent.app-content{display:block!important;flex:1 1 0!important;flex-basis:0!important;height:0!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box!important}
#appWindow.app-window:not(.hidden)>#appContent.app-content:has(.ai-thread-scroll),
#appWindow.app-window:not(.hidden)>#appContent.app-content:has(.dm-layout){display:flex!important;flex-direction:column!important;overflow:hidden!important;padding-bottom:8px!important}
#appContent.app-content:has(.ai-thread-scroll)>.ai-toolbar,#appContent.app-content:has(.ai-thread-scroll)>.ai-info-panel{flex:0 0 auto!important}
#appContent.app-content:has(.ai-thread-scroll)>.ai-thread-scroll{display:block!important;flex:1 1 0!important;flex-basis:0!important;width:100%!important;min-height:0!important;height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important}
#appContent.app-content:has(.ai-thread-scroll)>.ai-compose{display:flex!important;flex:0 0 auto!important;width:100%!important;min-height:54px!important;margin:8px 0 0!important;padding:8px!important;position:relative!important;inset:auto!important;background:var(--card,#151b2d)!important;border:1px solid var(--line)!important;border-radius:14px!important;z-index:5!important}
.ai-compose textarea{flex:1 1 auto!important;min-width:0!important;min-height:42px!important;max-height:120px!important;resize:vertical!important}
#appContent.app-content:has(.dm-layout)>.chat-view-switch{flex:0 0 auto!important}
#appContent.app-content:has(.dm-layout)>.dm-layout{display:flex!important;flex:1 1 0!important;flex-direction:column!important;flex-basis:0!important;min-height:0!important;height:0!important;overflow:hidden!important;gap:8px!important}
.dm-contacts-panel{flex:0 0 auto!important;min-height:0!important;max-height:34%!important;overflow:hidden!important}
.dm-contacts{max-height:110px!important;overflow-x:auto!important;overflow-y:hidden!important;display:flex!important;gap:8px!important}
.dm-contact{flex:0 0 min(150px,42%)!important;min-width:0!important}
.dm-thread{display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;height:0!important;overflow:hidden!important}
.dm-thread-head{flex:0 0 auto!important}
.dm-messages{display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}
.dm-thread .chat-compose{display:flex!important;flex:0 0 auto!important;position:relative!important;inset:auto!important;margin-top:8px!important;padding:8px!important;background:var(--card,#151b2d)!important;z-index:5!important}
.dm-thread .chat-compose input{flex:1 1 auto!important;min-width:0!important}
@media(max-width:800px){#appWindow.app-window:not(.hidden)>#appContent.app-content:has(.ai-thread-scroll),#appWindow.app-window:not(.hidden)>#appContent.app-content:has(.dm-layout){padding:10px 10px calc(8px + env(safe-area-inset-bottom,0px))!important}.dm-contacts{max-height:94px!important}.dm-thread .chat-compose input{font-size:16px!important}}

/* GyoBank visual refresh */
.bank-usdt-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 88% 12%,rgba(119,240,208,.24),transparent 34%),linear-gradient(130deg,#142b3b,#155b56 58%,#247a69)!important;border:1px solid rgba(110,230,198,.38)!important;border-radius:24px!important;padding:24px!important;box-shadow:0 16px 34px rgba(13,100,84,.14)}
.bank-usdt-hero:after{content:'₮';position:absolute;right:22px;bottom:-28px;font-size:116px;font-weight:900;color:rgba(255,255,255,.07);pointer-events:none}
.bank-usdt-hero>strong{display:block;font-size:clamp(27px,5vw,38px)!important;letter-spacing:-1.2px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:10px 0}
.bank-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;padding:5px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--card)!important}
.bank-tabs button{min-width:0!important;white-space:nowrap!important;font-size:clamp(10px,1.2vw,12px)!important;border-radius:11px!important;min-height:40px!important}
.bank-tabs button.active{background:linear-gradient(115deg,#6456cb,#8e7cf4)!important;color:#fff!important;box-shadow:0 5px 16px rgba(108,91,220,.24)}
.bank-view>.card{border-radius:20px!important;padding:18px!important}
.bank-connect-top,.bank-section-heading,.bank-convert-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.bank-connect-top strong,.bank-section-heading h3,.bank-convert-heading h3{display:block;margin:5px 0;font-size:17px}
.bank-connect-mark,.bank-icon,.bank-quest-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(140deg,#6356c9,#8e80ef);color:white;font-size:18px;flex:none}
.bank-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.bank-mini-stat{padding:16px!important;border-radius:18px!important;background:linear-gradient(145deg,var(--card),rgba(116,99,224,.09))!important}
.bank-mini-stat strong{display:block;font-size:20px;margin:7px 0;color:var(--accent2)}.bank-mini-stat span{font-size:11px;color:var(--muted)}
.bank-section-heading>div>small,.bank-convert-heading small{font-size:9px;letter-spacing:1.2px;font-weight:800;color:var(--accent2)}
.text-action{border:0;background:transparent;color:var(--accent2);font-size:12px;font-weight:700}
.bank-quest-preview-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.bank-quest-preview-row span{color:var(--accent2);font-weight:800}
.bank-quest-list{display:grid;gap:10px;margin-top:14px}
.bank-quest-item{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--line);border-radius:15px;background:rgba(120,130,180,.055);min-width:0}
.bank-quest-icon{width:40px;height:40px;font-size:16px;background:linear-gradient(145deg,#273b60,#6356c9)}
.bank-quest-info{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.bank-quest-info>strong{font-size:13px;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.bank-quest-info>span{font-size:11px;color:var(--muted)}
.quest-reset-timer{font-size:9px;color:#91e5cb;background:rgba(90,190,160,.12);padding:3px 6px;border-radius:20px;white-space:nowrap}
.bank-reward-badge{padding:7px 10px;border-radius:10px;background:rgba(102,218,183,.13);color:#72e1c5;font-weight:800;font-size:12px;white-space:nowrap}
.bank-rate-panel{margin:18px 0;padding:18px;border-radius:16px;background:linear-gradient(120deg,rgba(102,218,183,.13),rgba(112,94,224,.12));border:1px solid rgba(110,210,190,.2)}
.bank-rate-panel small{display:block;color:var(--muted);margin-bottom:8px}.bank-rate-panel strong{font-size:clamp(18px,4vw,25px);color:#7ce0c9;letter-spacing:-.5px}
.bank-convert-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.bank-convert-summary>div{padding:13px;border-radius:14px;background:rgba(120,130,180,.08);min-width:0}.bank-convert-summary small{display:block;color:var(--muted);font-size:11px}.bank-convert-summary strong{display:block;margin-top:7px;font-size:clamp(16px,3.5vw,22px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.bank-convert-submit{min-height:50px!important;border-radius:14px!important;background:linear-gradient(110deg,#7968e7,#9b86fa)!important;box-shadow:0 8px 20px rgba(116,96,225,.2)}

/* G-Trade portfolio and interval performance presentation */
.trade-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:5px;border:1px solid var(--line);border-radius:15px;background:var(--card);margin:12px 0}
.trade-tabs button{min-height:40px;border:0;border-radius:11px;background:transparent;color:var(--muted);font-weight:750}.trade-tabs button.active{background:linear-gradient(110deg,#6354c5,#8878ed);color:white}
.trade-view.hidden{display:none!important}.trade-performance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.trade-performance{padding:13px;border:1px solid var(--line);border-radius:15px;background:var(--card)}.trade-performance small{display:block;color:var(--muted);font-size:11px}.trade-performance strong{display:block;font-size:19px;margin:7px 0;font-variant-numeric:tabular-nums}.trade-performance em{font-style:normal;font-size:11px;font-weight:800}.trade-positive{color:#54d6a7}.trade-negative{color:#ff778b}.trade-neutral{color:var(--muted)}
.block-game-card{border-radius:20px!important;padding:16px!important}.block-game-top{display:flex;justify-content:space-between;align-items:center}.block-game-top small{color:var(--accent2);font-weight:800;letter-spacing:.8px}.block-game-top h2{margin:6px 0}.block-score{text-align:right}.block-score strong{display:block;font-size:26px}.block-score span{font-size:9px;color:var(--muted);letter-spacing:1px}.block-game-hud,.block-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;font-size:12px}.block-game-card canvas{display:block;width:100%;aspect-ratio:700/520;border-radius:14px;border:1px solid var(--line);touch-action:pan-y}.block-controls button{flex:1;min-height:42px}
@media(max-width:520px){.bank-overview-grid{gap:7px}.bank-mini-stat{padding:12px!important}.bank-tabs button{font-size:9px!important}.bank-quest-item{gap:8px;padding:9px}.bank-quest-info>strong{font-size:12px}.bank-quest-item>.secondary-btn{padding:8px 10px;font-size:11px}.bank-convert-summary strong{font-size:16px}}

/* Build 142: resilient Gyo AI composer across phone and desktop */
#appContent.app-content:has(.ai-thread-scroll){display:flex!important;flex-direction:column!important;min-width:0!important;}
#appContent.app-content:has(.ai-thread-scroll)>.ai-thread-scroll{flex:1 1 0!important;min-height:0!important;height:0!important;width:100%!important;overflow:auto!important;}
#appContent.app-content:has(.ai-thread-scroll)>.ai-compose{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:visible!important;}
.ai-compose textarea#aiInput{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;min-height:44px!important;height:44px!important;max-height:112px!important;resize:vertical!important;overflow:auto!important;line-height:1.35!important;font-size:16px!important;}
.ai-compose-actions{display:grid!important;grid-template-columns:repeat(3,minmax(38px,42px))!important;gap:5px!important;align-items:center!important;min-width:0!important;}
.ai-compose-actions button{display:grid!important;place-items:center!important;width:42px!important;min-width:38px!important;max-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;margin:0!important;border-radius:12px!important;box-sizing:border-box!important;position:static!important;transform:none!important;}
.ai-compose-actions button i{font-size:15px!important;line-height:1!important;}
.ai-compose{min-width:0!important;}
@media(max-width:430px){#appContent.app-content:has(.ai-thread-scroll)>.ai-compose{grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important;padding:6px!important}.ai-compose-actions{grid-template-columns:repeat(3,36px)!important;gap:3px!important}.ai-compose-actions button{width:36px!important;min-width:36px!important;max-width:36px!important;height:40px!important;min-height:40px!important}.ai-compose textarea#aiInput{font-size:16px!important;padding:9px!important}}

/* Large balances must remain inside their cards */
.economy-balance,.bank-convert-summary,.bank-convert-summary>div,.bank-mini-stat,.economy-stats>section{min-width:0!important;max-width:100%!important;}
.economy-balance>strong,.bank-usdt-hero>strong,.bank-convert-summary strong,.bank-mini-stat strong,.economy-stats strong,.trade-portfolio-card strong{display:block;max-width:100%!important;min-width:0!important;overflow-wrap:anywhere!important;word-break:break-word!important;font-variant-numeric:tabular-nums!important;line-height:1.12!important;font-size:clamp(15px,3.4vw,30px)!important;}
.bank-convert-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.bank-convert-summary>div{overflow:hidden!important;}

/* Market price and real 24-hour performance */
.trade-chart-price-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;min-width:0!important;flex-wrap:wrap!important;margin:8px 0!important;}
.trade-price-change{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:none!important;padding:6px 10px!important;border-radius:999px!important;font-size:12px!important;font-weight:800!important;font-variant-numeric:tabular-nums!important;white-space:nowrap!important;background:rgba(128,128,128,.12)!important;}
.trade-price-change.trade-positive{color:#43d6a0!important;background:rgba(42,190,132,.14)!important}.trade-price-change.trade-negative{color:#ff7788!important;background:rgba(238,83,111,.14)!important}.trade-price-change.trade-neutral{color:var(--muted)!important}

/* Bank explicit connection screen */
.bank-login-gate{max-width:520px!important;margin:clamp(20px,8vh,90px) auto!important;text-align:center!important;padding:26px!important;border-radius:22px!important;background:linear-gradient(145deg,var(--card),rgba(108,91,220,.12))!important;}
.bank-login-gate.hidden{display:none!important}.bank-login-symbol{width:64px;height:64px;margin:0 auto 12px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(140deg,#6356c9,#8e80ef);color:white;font-size:26px}.bank-login-gate h3{margin:8px 0}.bank-login-gate p{line-height:1.6}

/* Direct message composer and oversized account figures */
#appContent.app-content:has(.dm-layout){min-width:0!important;}
.dm-thread{min-width:0!important;width:100%!important;}
.dm-thread .chat-compose{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.dm-thread .chat-compose input{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important;}
.dm-thread .chat-compose button{flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;display:grid!important;place-items:center!important;padding:0!important;}
@media(max-width:420px){.dm-thread .chat-compose{gap:6px!important;padding:7px!important}.dm-thread .chat-compose button{flex-basis:40px!important;width:40px!important;min-width:40px!important;height:40px!important}}

/* Build 143 — compact numeric cards, cleaner bank conversion and game storefront */
.bank-convert-summary>div{display:flex!important;flex-direction:column!important;justify-content:space-between!important;min-width:0!important;overflow:hidden!important;}
.bank-convert-summary small{font-size:clamp(10px,2.5vw,13px)!important;line-height:1.25!important;white-space:normal!important;}
.bank-convert-summary strong{font-size:clamp(13px,3.2vw,21px)!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:-.035em!important;}
.bank-convert-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;}
.bank-convert-summary>div{padding:12px!important;min-height:116px!important;}
.bank-convert-summary strong{font-variant-numeric:tabular-nums lining-nums!important;}
.economy-balance>strong,.bank-usdt-hero>strong,.bank-mini-stat strong,.economy-stats strong,.trade-portfolio-card strong{overflow-wrap:normal!important;word-break:normal!important;}
.trade-chart-price-row{flex-wrap:nowrap!important;align-items:center!important;}
.trade-chart-price{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;}
.trade-price-change{white-space:nowrap!important;flex:0 0 auto!important;}
.trade-portfolio-card .economy-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
.trade-portfolio-card .economy-stats>div{min-width:0!important;padding:12px!important;border:1px solid var(--line);border-radius:14px;background:rgba(120,130,180,.07);}
.store-featured-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.store-featured-games>.card{min-width:0;padding:12px!important;background:linear-gradient(155deg,#19233b,#101626);border:1px solid rgba(160,150,255,.2);}
.store-featured-games .app-hero{align-items:flex-start!important;gap:10px!important;}
.store-featured-games .app-hero h2{font-size:15px!important;line-height:1.25!important;}
.store-featured-games .app-hero p{font-size:11px!important;line-height:1.45!important;}
.store-featured-games .app-icon,.store-featured-games .app-hero>div:first-child{flex:0 0 42px!important;width:42px!important;height:42px!important;}
.game-hero{overflow:hidden!important;position:relative!important;background:radial-gradient(circle at 100% 0,rgba(126,105,240,.24),transparent 42%),linear-gradient(150deg,#19243c,#101626)!important;border:1px solid rgba(158,145,255,.22)!important;}
.game-hero .pill{background:rgba(120,105,235,.2)!important;color:#c7bcff!important;border:1px solid rgba(170,155,255,.3)!important;}
.block-game-card{overflow:hidden!important;background:radial-gradient(circle at 100% 0,rgba(72,205,177,.16),transparent 40%),linear-gradient(150deg,#18243c,#0e1423)!important;border:1px solid rgba(120,210,195,.2)!important;}
#blockCanvas{display:block;width:100%!important;height:auto!important;aspect-ratio:700/520!important;border-radius:16px!important;border:1px solid rgba(160,160,220,.18)!important;touch-action:none!important;}
.block-game-top h2{font-size:clamp(18px,4vw,25px)!important;margin:5px 0!important;}
.block-game-top small{color:#9cebd7!important;font-weight:800!important;letter-spacing:.08em!important;}
.block-controls{display:grid!important;grid-template-columns:56px minmax(0,1fr) 56px!important;gap:9px!important;margin-top:12px!important;}
.store-review-form textarea{min-height:90px!important;resize:vertical!important;}
@media(max-width:520px){.bank-convert-summary>div{min-height:105px!important;padding:10px!important}.bank-convert-summary strong{font-size:clamp(12px,3.4vw,17px)!important}.store-featured-games{grid-template-columns:1fr!important}.trade-chart-price-row{gap:6px!important}.trade-price-change{font-size:10px!important;padding:5px 7px!important}}
.store-rating-breakdown{display:grid;gap:5px;margin:12px 0 16px}.store-rating-breakdown>div{display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.store-rating-breakdown i{height:7px;border-radius:99px;background:rgba(140,140,170,.18);overflow:hidden}.store-rating-breakdown i b{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#f4c45d,#f7a94a)}.store-rating-breakdown small{text-align:right;font-variant-numeric:tabular-nums}


/* BUILD 144 — GyoStore consistent cards, flat aligned actions and review visibility */
.store-app-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch!important;gap:10px!important}
.store-app-grid>.store-app-card{height:100%!important;min-height:176px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:space-between!important;gap:9px!important;padding:10px!important;overflow:hidden!important}
.store-app-card .store-app-open{flex:1 1 auto!important;min-height:112px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;padding:0!important}
.store-app-card .store-app-open .app-glyph{width:44px!important;height:44px!important;flex:0 0 44px!important}
.store-app-card .store-app-open strong{min-height:2.5em!important;max-height:2.5em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;white-space:normal!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:anywhere!important;line-height:1.25!important;font-size:10px!important}
.store-app-card .store-app-open small{width:100%!important;min-height:1.3em!important;line-height:1.3!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:8px!important}
.store-app-card .store-app-open .store-card-stats{color:var(--muted)!important}
.store-app-card .store-app-actions{flex:0 0 34px!important;width:100%!important;height:34px!important;margin-top:auto!important;display:flex!important;align-items:stretch!important}
.store-app-card .store-app-actions button{width:100%!important;height:34px!important;min-height:34px!important;padding:0 5px!important;border-radius:9px!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important;box-shadow:none!important}
.store-app-card .store-app-actions .pill{width:100%;height:34px;display:grid;place-items:center}
.store-review-section{padding-top:14px;border-top:1px solid var(--line)}
.store-rating-breakdown{display:grid;gap:7px;margin:12px 0 16px}
.store-rating-breakdown>div{display:grid;grid-template-columns:36px minmax(0,1fr) 28px;align-items:center;gap:9px;font-size:10px;color:var(--muted)}
.store-rating-breakdown>div>i{height:7px;border-radius:20px;background:#ffffff16;overflow:hidden}
.store-rating-breakdown>div>i>b{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#ffd36c,#ffae5d)}
.store-review-form{scroll-margin:18px}
.store-review-form button{min-height:42px;border:0;background:linear-gradient(120deg,#a396ff,#7165e8);color:#fff}
.store-detail-page{scroll-margin:18px}
@media(max-width:520px){.store-app-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.store-app-grid>.store-app-card{min-height:166px!important;padding:8px 6px!important}.store-app-card .store-app-open .app-glyph{width:40px!important;height:40px!important;flex-basis:40px!important}.store-app-card .store-app-open strong{font-size:9px!important}.store-app-card .store-app-open small{font-size:7px!important}}

/* Build 145: refreshed G-Trade dashboard and GyoBank native quest games */
.trade-wallet-top{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-bottom:12px!important}
.trade-wallet-top>.card{min-width:0!important;padding:14px!important}
.trade-wallet-top strong{display:block!important;font-size:clamp(15px,3.3vw,22px)!important;line-height:1.15!important;overflow-wrap:anywhere!important;word-break:normal!important}
.trade-chart-card{margin-bottom:12px!important;overflow:hidden!important}
.trade-chart-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:8px 0}
.trade-portfolio-total{display:block;font-size:clamp(22px,5vw,34px);line-height:1.15;overflow-wrap:anywhere;margin:10px 0}
.trade-portfolio-card{overflow:hidden}
.trade-order-card{margin-bottom:12px}
.store-quest-notice{margin:10px 0 14px;background:linear-gradient(135deg,rgba(116,96,225,.16),rgba(78,193,171,.10))}
.colorstack-card{overflow:hidden}.colorstack-board button:active{transform:scale(.95)}
@media(max-width:480px){.trade-wallet-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}.trade-wallet-top>.card{padding:10px!important}.trade-wallet-top strong{font-size:clamp(13px,3.5vw,17px)!important}.trade-intervals{display:flex;overflow-x:auto;gap:5px}.trade-intervals button{flex:0 0 auto}}


/* BUILD 146 — GyoStore review clarity, long balance alignment and desktop frame fit */
.store-detail-community .store-community-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
.store-community-stats>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;min-width:0!important}
.store-community-stats>div strong{display:block!important;font-size:clamp(13px,3.2vw,18px)!important;line-height:1.15!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important;overflow:hidden!important;text-overflow:clip!important;max-width:100%!important}
.store-community-stats>div small{font-size:9px!important;color:var(--muted)!important;white-space:nowrap!important}
.store-review-heading,.store-review-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.store-review-heading>div>small{font-size:9px;letter-spacing:1.3px;color:var(--accent2);font-weight:800}
.store-review-heading h3{margin:4px 0 0!important}
.store-review-average{flex:0 0 auto;padding:7px 10px;border-radius:12px;background:#f6c76118;color:#ffd36c;font-weight:800;font-size:13px}
.store-review-gate{display:flex;align-items:flex-start;gap:8px;margin:12px 0;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#ffffff08;color:var(--muted);font-size:11px;line-height:1.5}
.store-review-gate.allowed{border-color:#4bc99b66;background:#38c89b12;color:#6ee3ba}
.store-review-form{display:grid!important;visibility:visible!important;opacity:1!important;gap:9px!important;margin-top:12px!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface)!important}
.store-review-form label{display:block!important;font-size:11px!important;font-weight:800!important;color:var(--text)!important}
.store-review-form select,.store-review-form textarea{display:block!important;width:100%!important;min-height:42px!important;visibility:visible!important;opacity:1!important}
.store-review-form textarea{min-height:100px!important;resize:vertical!important;line-height:1.5!important}
.store-review-form button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important}
.store-review-form button:disabled,.store-review-form select:disabled,.store-review-form textarea:disabled{opacity:.58!important;cursor:not-allowed!important}
.store-review-list-heading{margin:18px 0 5px;padding-top:13px;border-top:1px solid var(--line);font-size:11px}
.store-no-reviews{display:flex;flex-direction:column;align-items:center;gap:6px;padding:20px 12px;color:var(--muted);text-align:center;font-size:11px}
.store-no-reviews>i{font-size:22px;color:var(--accent)}.store-no-reviews>strong{color:var(--text)}
/* Keep very large numeric balances and their unit on one aligned baseline. */
.economy-balance,.bank-usdt-hero,.bank-convert-summary>div,.bank-mini-stat,.trade-wallet-top>.card,.trade-portfolio-card{container-type:inline-size;min-width:0!important}
.amount-value{display:block!important;flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;font-variant-numeric:tabular-nums!important;letter-spacing:-.045em!important}
.amount-unit{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important;font-size:clamp(9px,3.8cqi,13px)!important;line-height:1!important;letter-spacing:0!important;color:var(--muted)!important}
#bankUsdtBalance,#bankCoinBalance,#tradeCoins,#tradeTokens{display:flex!important;flex-direction:row!important;align-items:baseline!important;justify-content:flex-start!important;gap:5px!important;flex-wrap:nowrap!important;white-space:nowrap!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;font-size:clamp(12px,7cqi,27px)!important;line-height:1.08!important;letter-spacing:-.04em!important}
.bank-convert-summary strong{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:4px!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;font-size:clamp(11px,6.6cqi,20px)!important;line-height:1.1!important}
.trade-wallet-top strong{display:flex!important;flex-direction:row!important;align-items:baseline!important;gap:5px!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;font-size:clamp(11px,6.5cqi,22px)!important;line-height:1.1!important}
.trade-portfolio-total{white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;font-size:clamp(13px,7cqi,31px)!important;line-height:1.1!important;font-variant-numeric:tabular-nums!important}
.economy-stats strong,.economy-balance>strong,.mini-widget strong{white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;font-variant-numeric:tabular-nums!important;min-width:0!important;max-width:100%!important}
.bank-convert-summary>div{min-width:0!important;overflow:hidden!important}
/* Locked screen must fully cover the home launcher and its labels. */
#lockScreen:not(.hidden){z-index:30!important;background-color:#080b16!important;background-image:linear-gradient(155deg,#151a3c 0%,#0b1428 48%,#070a14 100%)!important;opacity:1!important;visibility:visible!important}
#lockScreen:not(.hidden)~#homeScreen,#homeScreen.hidden{display:none!important;visibility:hidden!important;pointer-events:none!important}
/* Desktop: fit the complete device frame below the site bar without page scrolling. */
@media(min-width:801px){
  html,body{height:100%!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none!important}
  #gyoStage.stage{height:calc(100dvh - var(--gyobite-topbar-height,56px))!important;min-height:0!important;max-height:calc(100dvh - var(--gyobite-topbar-height,56px))!important;overflow:hidden!important;align-items:center!important;padding:10px clamp(16px,3vw,44px)!important;gap:clamp(28px,5vw,76px)!important}
  #gyoStage .phone{width:min(410px,calc((100dvh - var(--gyobite-topbar-height,56px) - 24px)*.475))!important;height:auto!important;aspect-ratio:390/820!important;min-height:0!important;max-height:calc(100dvh - var(--gyobite-topbar-height,56px) - 24px)!important;flex:0 1 auto!important;overflow:hidden!important}
  #gyoStage .screen{height:100%!important;min-height:0!important;overflow:hidden!important}
  #gyoStage .side-info{max-height:calc(100dvh - var(--gyobite-topbar-height,56px) - 28px)!important;min-height:0!important;overflow:hidden!important;align-self:center!important}
  #gyoStage .side-info .brand-mark{margin-bottom:clamp(14px,3vh,34px)!important}
}
@media(max-width:520px){.store-detail-community .store-community-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 14px!important}.store-community-stats>div strong{font-size:15px!important}}


/* BUILD 147 — visible store review actions, strict metric reset baseline and desktop viewport fit */
.store-app-card .store-app-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:6px!important;height:36px!important;flex:0 0 36px!important}
.store-app-card .store-app-actions button{min-width:0!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:clamp(8px,2.2vw,10px)!important}
.store-detail-community .store-community-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:10px!important}
.store-community-stats>div{min-width:0!important;padding:8px!important;border-radius:12px!important;background:#ffffff08!important}
.store-community-stats>div strong{font-size:clamp(15px,4.2vw,20px)!important;line-height:1.1!important}
.store-community-stats>div small{font-size:10px!important}
.store-detail-community .store-review-section{display:block!important;visibility:visible!important;opacity:1!important;margin-top:14px!important}
.store-review-form{display:grid!important;visibility:visible!important;opacity:1!important;max-height:none!important;overflow:visible!important}
.store-review-form select:not(:disabled),.store-review-form textarea:not(:disabled){border:1px solid var(--line)!important;background:var(--card)!important;color:var(--text)!important}
.store-review-form select:disabled,.store-review-form textarea:disabled{background:rgba(150,150,170,.08)!important;color:var(--muted)!important}
.store-review-form button:disabled{filter:grayscale(.25)!important}
.store-detail-community .store-review-gate{font-size:11px!important;line-height:1.55!important}
.amount-value{font-size:clamp(10px,5.8cqi,23px)!important;line-height:1!important;font-weight:800!important;flex:1 1 0!important;width:0!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
.amount-unit{font-size:clamp(9px,3.2cqi,12px)!important;line-height:1!important;flex:0 0 auto!important;white-space:nowrap!important;margin:0!important}
.economy-balance>strong,.bank-usdt-hero>strong,#bankUsdtBalance,#bankCoinBalance,#tradeCoins,#tradeTokens,.trade-wallet-top>section>strong,.bank-convert-summary strong{display:flex!important;flex-direction:row!important;align-items:baseline!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:4px!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;font-variant-numeric:tabular-nums!important;line-height:1.08!important}
.economy-balance>strong .amount-value,.bank-usdt-hero>strong .amount-value,#bankCoinBalance .amount-value,#tradeCoins .amount-value,#tradeTokens .amount-value{letter-spacing:-.055em!important}
.bank-convert-summary>div{min-width:0!important;overflow:hidden!important}
.trade-chart-card svg{overflow:visible!important}
#tradeChartDot{filter:drop-shadow(0 0 6px #a99aff);transition:cx .35s linear,cy .35s ease}
#tradeLiveStatus{animation:tradePulse 1.8s ease-in-out infinite}
@keyframes tradePulse{0%,100%{opacity:1}50%{opacity:.55}}
/* Locked mode: home launcher and app labels must not show through the lock layer. */
#lockScreen:not(.hidden){display:flex!important;position:absolute!important;inset:0!important;z-index:50!important;opacity:1!important;visibility:visible!important;background-color:#080b16!important;background-blend-mode:normal!important}
#lockScreen:not(.hidden)~#homeScreen,#homeScreen.hidden{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
/* Desktop-only: size the phone to the actual area below the top navigation. */
@media(min-width:801px){
  html,body{height:100%!important;min-height:0!important;overflow:hidden!important;overscroll-behavior:none!important}
  #siteTopbar{height:58px!important;min-height:58px!important;max-height:58px!important;box-sizing:border-box!important}
  #gyoStage.stage{height:calc(100dvh - 58px)!important;min-height:0!important;max-height:calc(100dvh - 58px)!important;box-sizing:border-box!important;overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:14px clamp(16px,3vw,44px)!important;gap:clamp(26px,5vw,76px)!important}
  #gyoStage .phone{height:min(820px,calc(100dvh - 86px))!important;width:min(410px,calc((100dvh - 86px)*.47561))!important;aspect-ratio:390/820!important;min-height:0!important;max-height:calc(100dvh - 86px)!important;flex:0 1 auto!important;overflow:hidden!important;margin:0!important}
  #gyoStage .screen{height:100%!important;min-height:0!important;overflow:hidden!important}
  #gyoStage .side-info{max-height:calc(100dvh - 88px)!important;min-height:0!important;overflow:hidden!important;align-self:center!important}
}
@media(min-width:801px) and (max-height:760px){#gyoStage .side-info{display:none!important}#gyoStage .phone{margin-inline:auto!important}}
@media(max-width:520px){.store-app-card .store-app-actions{gap:4px!important}.store-app-card .store-app-actions button{font-size:8px!important;padding-inline:3px!important}.store-detail-community .store-community-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.store-app-card .store-app-actions{grid-template-columns:minmax(0,1fr)!important}
.store-app-card .store-app-open .store-card-downloads{color:var(--muted)!important;opacity:.95!important}
#lockScreen:not(.hidden)~#homeScreen{display:none!important;visibility:hidden!important;opacity:0!important}
#gyoStage .status-bar{z-index:60!important}

/* BUILD 148: financial number baseline — amount and unit stay on a single row at any magnitude */
.economy-balance,.bank-usdt-hero,.bank-convert-summary>div,.trade-wallet-top>.card,.bank-mini-stat{container-type:inline-size;min-width:0!important}
#bankUsdtBalance,#bankCoinBalance,#tradeCoins,#tradeTokens,.bank-convert-summary strong{display:flex!important;flex-direction:row!important;align-items:baseline!important;flex-wrap:nowrap!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;overflow-wrap:normal!important;word-break:normal!important;line-height:1.05!important}
#bankUsdtBalance .amount-value,#bankCoinBalance .amount-value,#tradeCoins .amount-value,#tradeTokens .amount-value{display:block!important;flex:1 1 0!important;width:0!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;font-size:clamp(10px,7cqi,25px)!important;letter-spacing:-.06em!important;line-height:1!important;font-variant-numeric:tabular-nums!important}
#bankUsdtBalance .amount-unit,#bankCoinBalance .amount-unit,#tradeCoins .amount-unit,#tradeTokens .amount-unit{flex:0 0 auto!important;font-size:clamp(8px,3cqi,12px)!important;white-space:nowrap!important;line-height:1!important}
.bank-convert-summary strong{font-size:clamp(10px,6cqi,19px)!important;letter-spacing:-.04em!important}
.store-detail-community .store-review-section{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;overflow:visible!important}
.store-review-form{display:grid!important;visibility:visible!important;opacity:1!important;max-height:none!important;overflow:visible!important;gap:9px!important}
.store-review-form select,.store-review-form textarea{display:block!important;width:100%!important;min-width:0!important;visibility:visible!important;opacity:1!important;color:var(--text)!important;background:var(--surface2)!important}

/* BUILD 148: explicit, discoverable GyoStore Detail + Rating actions */
.store-app-card .store-app-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;height:34px!important;min-height:34px!important;flex:0 0 34px!important;width:100%!important}
.store-app-card .store-app-actions button{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;width:100%!important;height:34px!important;min-height:34px!important;padding:0 4px!important;white-space:nowrap!important;font-size:clamp(8px,2vw,10px)!important;line-height:1!important;overflow:hidden!important;text-overflow:ellipsis!important}
.store-app-card .store-app-actions .primary-btn{background:linear-gradient(120deg,#8e80ff,#6c5ce7)!important;color:#fff!important}
.store-detail-community .store-rating-breakdown{display:grid!important;gap:6px!important;margin:12px 0!important}
.store-rating-breakdown>div{display:grid!important;grid-template-columns:38px minmax(0,1fr) 30px!important;align-items:center!important;gap:8px!important;font-size:10px!important;color:var(--muted)!important}
.store-rating-breakdown i{height:6px!important;border-radius:99px!important;background:#ffffff18!important;overflow:hidden!important}
.store-rating-breakdown i b{display:block!important;height:100%!important;border-radius:99px!important;background:linear-gradient(90deg,#ffd36c,#ffad42)!important}
@media(max-width:520px){.store-app-card .store-app-actions{gap:4px!important}.store-app-card .store-app-actions button{font-size:8px!important;padding-inline:2px!important}}

/* BUILD 149: make review entry point immediately visible in app detail */
.store-review-quick{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-height:42px!important;margin:12px 0 14px!important;border:1px solid rgba(155,140,255,.42)!important;border-radius:12px!important;background:linear-gradient(110deg,rgba(155,140,255,.16),rgba(101,214,189,.10))!important;color:var(--text)!important;font-size:12px!important;font-weight:800!important}
.store-review-quick i{color:#b8aaff!important}


/* BUILD 150: Bank verification popup, original wallpaper studio, and gravity Color Stack */
.bank-verified-badge{width:31px!important;height:31px!important;flex:0 0 31px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:#ffffff0b!important;border:1px solid #ffffff24!important;color:#9aa7c5!important;font-size:15px!important}
.bank-verified-badge.verified{color:#72edb6!important;background:#1b8c6530!important;border-color:#57d7a277!important;box-shadow:0 0 14px #4de3ae22!important}
.bank-connect-overlay{position:absolute;z-index:40;inset:0;display:flex;align-items:center;justify-content:center;padding:18px;background:#050814d9;backdrop-filter:blur(12px)}
.bank-connect-dialog{width:min(100%,360px);padding:24px 20px 18px;border-radius:24px;border:1px solid #ffffff1c;background:linear-gradient(155deg,#1c2440,#101626 70%);box-shadow:0 24px 80px #0009;text-align:center}
.bank-dialog-shield{width:62px;height:62px;margin:0 auto 14px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,#55d9c0,#5f74e9);font-size:27px;color:white;box-shadow:0 12px 30px #5d8be544}
.bank-connect-dialog>small{font-size:9px;letter-spacing:1.5px;color:#83e8d3;font-weight:800}.bank-connect-dialog h3{font-size:20px;margin:8px 0}.bank-connect-dialog p{font-size:12px;line-height:1.6;color:#aeb8d2;margin:8px 0 15px}
.bank-dialog-account{padding:12px;border-radius:12px;background:#ffffff0a;border:1px solid #ffffff16;font-size:11px;margin:10px 0 16px}.bank-dialog-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:9px}.bank-dialog-actions button{min-height:42px}
.bank-balance-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.bank-balance-head>div{min-width:0;flex:1}.bank-balance-head strong{display:flex;align-items:baseline;gap:7px;flex-wrap:nowrap;white-space:nowrap;font-size:clamp(18px,5vw,30px);font-variant-numeric:tabular-nums;letter-spacing:-.5px}.bank-usdt-mark{width:42px;height:42px;flex:0 0 42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(140deg,#55d9c0,#5c74e9);font-size:18px;color:white}
.wallpaper-app-hero{display:flex;align-items:center;gap:13px;padding:15px;margin-bottom:14px;border-radius:19px;background:linear-gradient(125deg,#30245e,#1b5260);border:1px solid #ffffff18}.wallpaper-app-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:#ffffff1b;font-size:24px}.wallpaper-app-hero small,.wallpaper-gallery-heading small{font-size:9px;letter-spacing:1.5px;color:#8cebd8;font-weight:800}.wallpaper-app-hero h2{margin:4px 0;font-size:19px}.wallpaper-app-hero p{margin:0;font-size:10px;color:#d1d9ef}.wallpaper-target-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.wallpaper-target-tabs button{padding:11px 8px;border-radius:12px;background:#ffffff0b;border:1px solid var(--line);font-size:11px}.wallpaper-target-tabs button.active{background:linear-gradient(120deg,#8e80ff,#6258c8);border-color:transparent;color:white}.wallpaper-current-preview{height:175px;border-radius:18px;overflow:hidden;position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:15px;background-size:cover;background-position:center;border:1px solid #ffffff24;box-shadow:inset 0 -80px 70px #070b19a8}.wallpaper-current-preview span{font-size:8px;letter-spacing:1.4px;color:#d9e5ff}.wallpaper-current-preview strong{font-size:18px}.wallpaper-gallery-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px}.wallpaper-gallery-heading h3{margin:4px 0;font-size:15px}.wallpaper-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wallpaper-gallery-item{height:143px;position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:11px;border-radius:15px;overflow:hidden;background-size:cover;background-position:center;border:2px solid transparent;text-align:left;box-shadow:inset 0 -65px 55px #050817aa}.wallpaper-gallery-item.selected{border-color:#9a8bff;box-shadow:inset 0 -65px 55px #050817aa,0 0 0 2px #9a8bff28}.wallpaper-gallery-item strong{font-size:11px}.wallpaper-gallery-item small{font-size:9px;color:#d0d8f1}.wallpaper-check{position:absolute;top:8px;right:8px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#8b7df1;color:white;opacity:0}.wallpaper-gallery-item.selected .wallpaper-check{opacity:1}.wallpaper-upload-card{display:flex;flex-direction:column;gap:7px;margin-top:14px}.wallpaper-upload-card .row{gap:8px}.wallpaper-upload-card .row>*{flex:1}
.wallpaper-art-cyber{background-image:radial-gradient(ellipse at 18% 14%,#b24bff 0,transparent 40%),radial-gradient(ellipse at 86% 70%,#00c9bc 0,transparent 38%),linear-gradient(155deg,#10122c,#050816 72%)}
.wallpaper-art-nebula{background-image:radial-gradient(ellipse at 26% 30%,#b04bce 0,transparent 38%),radial-gradient(ellipse at 80% 56%,#226ad1 0,transparent 37%),radial-gradient(ellipse at 47% 82%,#54266e 0,transparent 42%),linear-gradient(145deg,#080b20,#15102b)}
.wallpaper-art-aurora{background-image:radial-gradient(ellipse at 30% 12%,#69f0c0aa 0,transparent 28%),radial-gradient(ellipse at 65% 28%,#6b81ffbb 0,transparent 32%),radial-gradient(ellipse at 90% 20%,#e06bce88 0,transparent 26%),linear-gradient(180deg,#07182b,#071322 62%,#102d32)}
.wallpaper-art-ocean{background-image:radial-gradient(ellipse at 15% 20%,#178cba 0,transparent 35%),radial-gradient(ellipse at 85% 70%,#14a7a0 0,transparent 38%),linear-gradient(160deg,#071a39,#063b55 58%,#07172d)}
.wallpaper-art-sunset{background-image:radial-gradient(ellipse at 50% 18%,#ffba73 0,transparent 30%),radial-gradient(ellipse at 20% 52%,#d15aa4 0,transparent 36%),linear-gradient(160deg,#302060,#9d4778 52%,#15132f)}
.wallpaper-art-forest{background-image:radial-gradient(ellipse at 50% 30%,#b7d87a 0,transparent 23%),linear-gradient(180deg,#183a47,#356a58 48%,#081d25 90%)}
.wallpaper-art-minimal{background-image:radial-gradient(ellipse at 15% 15%,#f7c6e7 0,transparent 32%),radial-gradient(ellipse at 85% 85%,#8bc6d9 0,transparent 36%),linear-gradient(145deg,#5c6595,#282f55)}
.wallpaper-art-geometry{background-image:linear-gradient(135deg,transparent 0 35%,#8b66ed55 35% 55%,transparent 55%),linear-gradient(45deg,transparent 0 45%,#5de4ca44 45% 65%,transparent 65%),linear-gradient(155deg,#0a1732,#292454 55%,#10172d)}
.colorstack-card{padding:14px;overflow:hidden}.colorstack-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.colorstack-heading small{font-size:9px;letter-spacing:1px;color:#75e6cf;font-weight:800}.colorstack-heading h2{font-size:19px;margin:5px 0}.colorstack-heading p{margin:0;line-height:1.5}.colorstack-score{flex:0 0 64px;padding:9px 5px;border-radius:13px;background:#ffffff0e;text-align:center}.colorstack-score strong{display:block;font-size:22px;font-variant-numeric:tabular-nums}.colorstack-score small{font-size:8px;color:var(--muted)}.colorstack-stats{display:flex;justify-content:space-between;gap:8px;padding:9px 10px;margin:13px 0 9px;border-radius:11px;background:#ffffff09;font-size:10px;color:var(--muted)}.colorstack-stats b{color:var(--text)}
.colorstack-board{width:min(100%,390px);aspect-ratio:1;margin:10px auto;padding:7px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));gap:4px;border-radius:15px;background:linear-gradient(145deg,#202b48,#0a1223);border:1px solid #ffffff18;touch-action:pan-y;user-select:none}.colorstack-cell{min-width:0;min-height:0;border-radius:6px;border:1px solid #ffffff12;transition:background .12s,box-shadow .12s}.colorstack-cell.active{outline:2px solid #fff;outline-offset:-2px;animation:colorStackPulse .65s ease-in-out infinite alternate}@keyframes colorStackPulse{to{filter:brightness(1.35)}}
.colorstack-direction{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px}.colorstack-direction small{grid-column:1/-1;font-size:9px;letter-spacing:1px;color:var(--muted);font-weight:800}.colorstack-direction button{min-width:0;padding:9px 2px;border:1px solid var(--line);border-radius:10px;background:#ffffff09;font-size:9px}.colorstack-direction button.active{background:#7669dd;border-color:#a99aff;color:white}.colorstack-controls{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:8px;margin-top:9px}.colorstack-controls button{min-height:40px;padding:8px;font-size:10px}
@media(max-width:380px){.wallpaper-gallery-item{height:125px}.colorstack-board{gap:3px;padding:5px}.colorstack-direction button{font-size:8px}}

.bank-verified-badge.hidden{display:none!important}.bank-connect-overlay.hidden{display:none!important}.bank-connect-overlay:not(.hidden){display:flex!important}
/* Preview tiles use the exact original artwork delivered by Wallpaper Studio. */
.wallpaper-art-cyber{background-image:url("../wallpapers/cyber.svg")}
.wallpaper-art-nebula{background-image:url("../wallpapers/nebula.svg")}
.wallpaper-art-aurora{background-image:url("../wallpapers/aurora.svg")}
.wallpaper-art-ocean{background-image:url("../wallpapers/ocean.svg")}
.wallpaper-art-sunset{background-image:url("../wallpapers/sunset.svg")}
.wallpaper-art-forest{background-image:url("../wallpapers/forest.svg")}
.wallpaper-art-minimal{background-image:url("../wallpapers/minimal.svg")}
.wallpaper-art-geometry{background-image:url("../wallpapers/geometry.svg")}


/* Build 151 - complete GyoBank quest game refresh */
.game-kicker{display:flex;align-items:center;gap:9px;color:#9debdc;font-size:10px;font-weight:900;letter-spacing:.12em;margin-bottom:12px}
.game-icon-bubble{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(140deg,#8d7af4,#4f9fe8);color:#fff;font-size:16px;box-shadow:0 8px 24px #7669dd44}
.word-game-card,.picture-puzzle-card{padding:clamp(14px,3vw,22px)!important;border:1px solid #9b8aff2b!important;background:radial-gradient(circle at 95% 0,#7768e72c,transparent 40%),linear-gradient(155deg,#18233c,#0c1323)!important}
.word-clue-card{position:relative;margin:16px 0;padding:18px;border-radius:17px;background:linear-gradient(135deg,#292550,#172c45);border:1px solid #a99aff44;min-height:112px}
.word-clue-card small{display:block;color:#9ee9dc;font-size:9px;font-weight:900;letter-spacing:.14em}.word-clue-card p{font-size:16px;line-height:1.55;font-weight:700;margin:10px 0 0}.word-length{position:absolute;right:14px;top:14px;color:#d3cbff;background:#ffffff12;padding:5px 8px;border-radius:20px;font-size:9px;font-weight:900}
.word-answer-label,.word-letter-label{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:14px 0 8px}.word-answer-label small,.word-letter-label small{font-size:10px;color:var(--muted)}
.word-answer-slots{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;min-height:48px}.word-answer-slot{width:clamp(31px,8vw,44px);height:46px;border-radius:10px;border:1px dashed #8c82c7;background:#ffffff08;color:var(--text);font-size:18px;font-weight:900}.word-answer-slot.filled{border:1px solid #9b8bff;background:linear-gradient(145deg,#51458f,#34305d);box-shadow:0 5px 13px #0003}
.word-letter-bank{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;padding:13px;border-radius:15px;background:#080f1d80;border:1px solid #ffffff12}.word-letter-tile{width:clamp(36px,9vw,48px);height:48px;border-radius:12px;border:1px solid #8c82d855;background:linear-gradient(145deg,#293958,#1b2740);color:#fff;font-size:20px;font-weight:900;box-shadow:0 4px 0 #0a1020;transition:transform .12s,opacity .12s}.word-letter-tile:not(:disabled):active{transform:translateY(3px);box-shadow:none}.word-letter-tile.used{opacity:.2;filter:grayscale(1)}.game-status-line{min-height:26px;margin:13px 0 8px;color:#aeb9d4;font-size:12px;line-height:1.5}.game-action-row{display:grid;grid-template-columns:1fr 1.35fr;gap:9px}.game-success-mark{color:#65e1b9;font-weight:900}
.picture-puzzle-preview{height:92px;border-radius:14px;background-size:cover;background-position:center;position:relative;overflow:hidden;margin:14px 0;border:1px solid #a99aff55}.picture-puzzle-preview:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#080e1dcc,#080e1d22)}.picture-puzzle-preview span,.picture-puzzle-preview strong{position:absolute;z-index:1;left:14px;color:#fff}.picture-puzzle-preview span{top:14px;font-size:9px;letter-spacing:.14em;font-weight:900;color:#a9eee0}.picture-puzzle-preview strong{bottom:13px;font-size:18px}.picture-puzzle-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:10px 0;font-size:10px;color:var(--muted)}.picture-puzzle-meta b{white-space:nowrap;color:#cfc6ff}.picture-puzzle-board{width:min(100%,360px);aspect-ratio:1;margin:12px auto;padding:7px;border-radius:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:5px;background:linear-gradient(145deg,#293453,#0a1222);border:1px solid #ffffff20;box-shadow:0 12px 30px #0005}.picture-puzzle-tile{min-width:0;min-height:0;border:1px solid #ffffff35;border-radius:8px;background-size:300% 300%;background-repeat:no-repeat;box-shadow:inset 0 0 0 1px #0002;transition:transform .12s,filter .12s}.picture-puzzle-tile:not(:disabled):active{transform:scale(.96);filter:brightness(1.2)}.picture-puzzle-tile.empty{background:linear-gradient(145deg,#0c1322,#17223a)!important;border:1px dashed #687596;box-shadow:inset 0 0 15px #0006}
.block-game-card{background:radial-gradient(circle at 100% 0,#38c9b133,transparent 42%),linear-gradient(150deg,#18243c,#0b1221)!important}.block-game-card canvas{max-height: min(58vh,480px);touch-action:none!important;cursor:crosshair}.block-game-card #blockStart{margin-top:9px}
.colorstack-v2{padding:clamp(12px,3vw,18px)!important;background:radial-gradient(circle at 90% 0,#7467ea35,transparent 42%),linear-gradient(150deg,#192440,#0a1120)!important;border:1px solid #9788ff44!important}.colorstack-v2 .colorstack-heading{align-items:center}.colorstack-v2 .colorstack-heading p{max-width:430px}.colorstack-v2 .colorstack-score{min-width:76px;flex-basis:76px;background:linear-gradient(145deg,#51478c,#27274c);border:1px solid #b8aaff55}.colorstack-hud-v2{display:grid;grid-template-columns:1.1fr 1fr;gap:8px;margin:14px 0}.colorstack-next,.colorstack-counter{min-width:0;border-radius:13px;padding:9px 10px;background:#ffffff0d;border:1px solid #ffffff12}.colorstack-next small,.colorstack-counter small{display:block;font-size:8px;letter-spacing:.1em;color:var(--muted);font-weight:900}.colorstack-next span{display:block;width:24px;height:24px;margin-top:6px;border:2px solid #ffffffbb;border-radius:7px;box-shadow:0 0 15px currentColor}.colorstack-counter strong{display:block;font-size:clamp(14px,3.6vw,20px);font-variant-numeric:tabular-nums;margin-top:5px;white-space:nowrap}.colorstack-board-v2{max-width:370px;width:100%;touch-action:manipulation;cursor:crosshair;gap:4px;padding:7px;background:linear-gradient(145deg,#253452,#0b1324);box-shadow:inset 0 0 20px #0005}.colorstack-v2 .colorstack-cell{border-radius:6px}.colorstack-v2 .colorstack-cell.active{outline:2px solid #fff;outline-offset:-2px;animation:colorStackDropPulse .45s ease-in-out infinite alternate}@keyframes colorStackDropPulse{to{filter:brightness(1.4);transform:scale(.93)}}
@media(max-width:420px){.game-action-row{grid-template-columns:1fr}.picture-puzzle-board{gap:3px;padding:5px}.picture-puzzle-tile{border-radius:5px}.colorstack-hud-v2{gap:5px}.colorstack-next,.colorstack-counter{padding:8px 7px}}


/* BUILD 152 — Lock wallpaper priority, clean merged GyoStore details, shield badge, AI tables */
#lockScreen,#lockScreen:not(.hidden){background-image:linear-gradient(155deg,rgba(4,8,20,.18),rgba(4,8,20,.45)),var(--gyobite-lock-wallpaper,linear-gradient(155deg,#151a3c,#070a14))!important;background-size:cover,cover!important;background-position:center,center!important;background-repeat:no-repeat,no-repeat!important;background-blend-mode:normal!important}
.store-hero-card{background:linear-gradient(125deg,#312b67,#16545a)!important;border:0!important;padding:18px!important}
.store-hero-card h2{font-size:22px;margin:11px 0 5px}.store-hero-card p{color:#d4d9f5;line-height:1.55;margin:0}
.store-search-field{position:relative}.store-search-field>i{margin-right:6px}.store-search-field input{margin-top:8px}
.store-app-card{min-width:0}.store-app-card .store-app-open{width:100%;height:100%;min-height:174px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;padding:12px 9px;border-radius:14px;background:var(--surface);border:1px solid var(--line);color:var(--text)}
.store-app-card .store-app-open .app-glyph{flex:0 0 48px}.store-app-card .store-app-open strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:2.4em;overflow:hidden;line-height:1.2;font-size:11px;overflow-wrap:anywhere}.store-app-card .store-app-open small{max-width:100%;font-size:9px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--muted)}
.store-app-card .store-app-open:focus-visible,.store-detail-back:focus-visible,.store-star-picker button:focus-visible{outline:2px solid #a99aff;outline-offset:2px}
.store-detail-back{position:sticky!important;top:0!important;z-index:8!important;min-height:40px!important;width:max-content!important;max-width:100%!important;margin:0 0 10px!important;background:rgba(20,26,44,.92)!important;backdrop-filter:blur(16px)!important;box-shadow:0 5px 18px #0003!important}
.store-detail-page{margin-top:0!important;padding:clamp(13px,2.4vw,20px)!important}
.store-detail-community .store-community-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;padding:10px!important;margin:12px 0!important;border-radius:14px!important;background:#ffffff08!important}
.store-community-stats>div{min-width:0!important;display:flex!important;flex-direction:column!important;gap:3px!important;align-items:center!important;text-align:center!important}
.store-community-stats>div strong{max-width:100%!important;font-size:clamp(12px,2vw,16px)!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-variant-numeric:tabular-nums!important}
.store-community-stats>div small{font-size:8px!important;white-space:nowrap!important;color:var(--muted)!important}
.store-detail-meta{margin:13px 0;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#ffffff06}
.store-meta-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 0;font-size:10px}.store-meta-row+ .store-meta-row{border-top:1px solid var(--line)}.store-meta-row span{color:var(--muted)}.store-meta-row b{color:var(--text);text-align:right;font-variant-numeric:tabular-nums}.store-version-row b{padding:5px 9px;border-radius:8px;background:#8c7aff24;color:#c9c0ff;font-size:12px;letter-spacing:.03em}
.store-detail-install{min-height:44px!important;margin:4px 0 15px!important}
.store-review-form{gap:10px!important}.store-star-picker{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:13px;background:#ffffff08;border:1px solid var(--line);width:max-content;max-width:100%}.store-star-picker button{width:40px;height:40px;border-radius:10px;background:transparent;color:#68738c;font-size:26px;line-height:1;transition:background .15s,color .15s,transform .15s}.store-star-picker button.active{color:#ffcf64;background:#ffcf6418;text-shadow:0 2px 12px #ffcf6440}.store-star-picker button:not(:disabled):active{transform:scale(.92)}.store-star-picker button:disabled{opacity:.4;cursor:not-allowed}
.store-review-form textarea{font:inherit;min-height:108px!important;padding:12px!important;border-radius:12px!important;line-height:1.5!important}.store-review-form label{margin-top:4px}
.bank-verified-badge{position:relative!important;overflow:visible!important;color:#9aa7c5!important}.bank-verified-badge i{display:block!important;font-size:17px!important;line-height:1!important}.bank-verified-badge.verified{color:#75edb9!important;background:linear-gradient(145deg,#145b4a,#173e4d)!important;border-color:#61e5ba!important}.bank-verified-badge.verified::after{content:"✓";position:absolute;right:-3px;bottom:-3px;width:14px;height:14px;display:grid;place-items:center;border:1.5px solid #111a2a;border-radius:50%;background:#55dda3;color:#062d20;font-size:9px;font-weight:1000;line-height:1}
.ai-table-wrap{max-width:100%;overflow-x:auto;margin:10px 0;border:1px solid var(--line);border-radius:12px}.ai-markdown-table{width:100%;min-width:280px;border-collapse:collapse;font-size:11px;line-height:1.5}.ai-markdown-table th,.ai-markdown-table td{padding:9px 10px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}.ai-markdown-table th{background:#8b7cff20;color:var(--text);font-weight:800;white-space:nowrap}.ai-markdown-table tr:last-child td{border-bottom:0}.ai-message p{overflow-wrap:anywhere}
@media(max-width:520px){.store-detail-community .store-community-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.store-star-picker{gap:4px}.store-star-picker button{width:36px;height:36px;font-size:23px}.store-detail-back{top:0!important}.store-app-card .store-app-open{min-height:158px;padding:9px 6px}.store-app-card .store-app-open strong{font-size:9px}.store-meta-row{font-size:9px}}


/* BUILD 152 FINAL POLISH */
#lockScreen{background-attachment:scroll!important;isolation:isolate!important}
#lockScreen>*{position:relative;z-index:1}
.bank-verified-badge .bank-shield-svg{width:21px;height:21px;display:block;overflow:visible;filter:drop-shadow(0 1px 3px #0006)}
.bank-verified-badge.verified .bank-shield-svg{color:#79efbd}
.bank-verified-badge:not(.verified) .bank-shield-svg{color:#b5bfd7}
.store-app-grid{align-items:stretch!important}
.store-app-card .store-app-open{min-height:180px!important;justify-content:flex-start!important}
.store-detail-back{position:sticky!important;top:2px!important;align-self:flex-start!important;z-index:40!important;box-shadow:0 7px 20px #0005!important}
.store-detail-community{min-width:0!important;width:100%!important;max-width:100%!important;overflow:visible!important}
.store-review-section,.store-review-form,.store-review-section>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.store-review-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
.store-star-picker{flex-wrap:nowrap!important}
.store-review-form textarea{display:block!important;min-height:110px!important;width:100%!important;max-width:100%!important;resize:vertical!important}
.ai-markdown-table{white-space:normal!important}
@media(min-width:801px){.store-detail-community{max-width:980px!important;margin-left:auto!important;margin-right:auto!important}.store-review-section{padding:20px!important;border-radius:17px!important;background:#ffffff05!important}.store-review-form{padding:18px!important}.store-review-form textarea{font-size:13px!important}.store-detail-community .store-community-stats>div small{font-size:10px!important}.store-detail-community .store-community-stats>div strong{font-size:17px!important}}
@media(max-width:520px){.store-app-card .store-app-open{min-height:160px!important}.store-detail-back{top:0!important}.bank-verified-badge .bank-shield-svg{width:19px;height:19px}}

.ai-markdown-rule{border:0;border-top:1px solid var(--line);margin:14px 0;opacity:.9}.ai-numbered-heading{font-size:13px;font-weight:850;line-height:1.4;margin:13px 0 8px;color:var(--text)}


/* Build 153 — GyoBank Quest Games + GyoWatch playback polish */
.backpack-puzzle-card .picture-puzzle-preview{min-height:145px;background-size:cover;background-position:center;border-radius:16px;position:relative;overflow:hidden;margin:12px 0;border:1px solid #ffffff20}
.puzzle-board-4x4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:min(100%,430px);aspect-ratio:1;margin:12px auto;padding:7px;border-radius:16px;background:linear-gradient(145deg,#253452,#0a1120);border:1px solid #ffffff1c;box-shadow:inset 0 8px 22px #0005}
.puzzle-drop-slot{position:relative;min-width:0;min-height:0;aspect-ratio:1;border:1px dashed #8d91bb55;border-radius:7px;background:#ffffff08;color:#8b91a9;overflow:hidden;display:grid;place-items:center;font-size:11px;font-weight:800}
.puzzle-drop-slot.ready{border-color:#a99aff;box-shadow:inset 0 0 0 1px #a99aff44}
.puzzle-drop-slot.filled{border:1px solid #ffffff25;background-repeat:no-repeat;background-color:#10182b;background-size:400% 400%;}
.puzzle-backpack-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:15px 0 8px;font-size:12px}.puzzle-backpack-head strong{color:#dce4fb}.puzzle-backpack-head small{color:var(--muted);font-size:10px}
.puzzle-backpack-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;padding:9px;border-radius:14px;background:#080f1d88;border:1px solid #ffffff15}
.puzzle-backpack-piece{aspect-ratio:1;min-width:0;border:1px solid #ffffff30;border-radius:7px;background-repeat:no-repeat;background-color:#111a2c;background-size:400% 400%;cursor:grab;box-shadow:0 3px 8px #0004}
.puzzle-backpack-piece.selected{outline:3px solid #a89bff;outline-offset:1px;transform:scale(.95);filter:brightness(1.2)}
.puzzle-backpack-piece:disabled{opacity:.25}
.block-game-top{align-items:center;gap:8px}.block-score{flex:0 0 auto;min-width:72px;text-align:right}.block-score strong{display:inline-block;white-space:nowrap;word-break:keep-all;font-size:clamp(17px,3vw,24px);line-height:1.1;font-variant-numeric:tabular-nums}.block-score span{display:block;white-space:nowrap}
.block-game-card canvas{max-height:min(54vh,430px)}
.quest-result-overlay{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:16px;background:#050914d9;backdrop-filter:blur(10px);border-radius:18px}
.quest-result-dialog{width:min(100%,380px);padding:24px 20px;text-align:center;border:1px solid #9e8aff66;border-radius:22px;background:radial-gradient(circle at 50% 0,#7364dd44,transparent 50%),linear-gradient(150deg,#1c2743,#0b1222);box-shadow:0 22px 70px #0009}
.quest-result-icon{width:66px;height:66px;margin:0 auto 12px;border-radius:20px;display:grid;place-items:center;font-size:28px;color:white;background:linear-gradient(135deg,#6a5bd4,#9b83ff);box-shadow:0 12px 35px #7765e955}.quest-result-icon.lost{background:linear-gradient(135deg,#9b456a,#dc7188)}
.quest-result-dialog>small{font-size:9px;letter-spacing:.18em;color:#a99aff;font-weight:900}.quest-result-dialog h3{font-size:21px;margin:7px 0}.quest-result-dialog p{font-size:12px;line-height:1.6;color:#bac4dd}.quest-result-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}.quest-result-actions button{min-width:0;font-size:11px}
.fruit-game-card{padding:clamp(13px,3vw,20px)!important;overflow:hidden;background:radial-gradient(circle at 95% 0,#e8759c25,transparent 40%),linear-gradient(150deg,#1c2742,#0b1120)!important;border:1px solid #ed91ad38!important}
.fruit-game-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.fruit-game-head h2{margin:5px 0;font-size:clamp(19px,4vw,25px)}.fruit-game-head small{font-size:9px;color:#ffc0d1;font-weight:900;letter-spacing:.12em}.fruit-target{flex:0 0 82px;padding:9px;border-radius:15px;text-align:center;background:#ffffff0d;border:1px solid #ffffff1c}.fruit-target span{display:block;font-size:8px;color:var(--muted);font-weight:900;letter-spacing:.1em}.fruit-target strong{display:block;font-size:30px;margin-top:4px}
.fruit-game-hud{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.fruit-game-hud>div{min-width:0;padding:10px;border-radius:13px;text-align:center;background:#ffffff0b;border:1px solid #ffffff13}.fruit-game-hud strong{display:block;font-size:clamp(16px,4vw,22px);white-space:nowrap;font-variant-numeric:tabular-nums}.fruit-game-hud small{font-size:8px;color:var(--muted);letter-spacing:.08em;font-weight:800}.fruit-game-card canvas{display:block;width:100%;height:auto;aspect-ratio:640/410;border-radius:16px;border:1px solid #ffffff1b;background:#10182b;touch-action:none;cursor:crosshair}.fruit-legend{display:flex;flex-wrap:wrap;gap:8px;font-size:10px;color:#bac4dd}.fruit-legend span{padding:7px 9px;border-radius:10px;background:#ffffff0b}
.gyowatch-source-poster{width:76px;min-height:84px;display:grid;place-items:center;flex:none;border-radius:12px;background:linear-gradient(140deg,#29375a,#6656b9);color:white;font-size:25px}.gyowatch-source-card{display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important}.gyowatch-open-source{display:inline-flex;margin-top:9px;text-decoration:none;align-items:center;justify-content:center}
@media(max-width:480px){.puzzle-backpack-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.block-game-top{align-items:flex-start}.block-score{min-width:64px}.quest-result-actions{grid-template-columns:1fr}.fruit-game-head{align-items:flex-start}.fruit-target{flex-basis:68px}.fruit-game-hud{gap:5px}.fruit-game-hud>div{padding:8px 4px}}

.game-back-link{display:inline-flex;align-items:center;gap:7px;border:1px solid #ffffff1d;border-radius:999px;background:#ffffff0a;color:#d8def4;padding:7px 11px;margin:0 0 12px;font-size:10px;font-weight:800;cursor:pointer}.game-back-link:active{transform:scale(.98)}
.puzzle-drop-slot{cursor:pointer}.puzzle-remove-mark{position:absolute;right:3px;top:2px;font-size:8px;color:#fff;background:#0b1224aa;border-radius:50%;padding:2px;opacity:.0}.puzzle-drop-slot:hover .puzzle-remove-mark{opacity:.8}
@media(max-width:390px){.puzzle-board-4x4{gap:3px;padding:5px}.puzzle-backpack-grid{gap:4px}.puzzle-backpack-piece{border-radius:5px}}

/* Build 154 — GyoWatch catalog and Telegram widget */
.gyowatch-page{gap:15px}.gyowatch-heading{padding:4px 2px 8px}.gyowatch-heading h2{font-size:clamp(23px,5vw,30px)}.gyowatch-tabs{padding-bottom:3px;scrollbar-width:thin}.gyowatch-tabs button{font-size:11px;padding:9px 14px}.gyowatch-grid{gap:12px}.gyowatch-card{transition:transform .16s,border-color .16s}.gyowatch-card:active{transform:scale(.98)}.gyowatch-card>span{padding:9px}.gyowatch-card strong{font-size:11px}.gyowatch-card small{font-size:9px}.gyowatch-telegram-wrap{width:100%;min-height:220px;display:flex;justify-content:center;align-items:flex-start;background:#111;padding:8px;overflow:auto}.gyowatch-telegram-wrap .telegram-post{width:100%;max-width:100%;margin:0!important}.gyowatch-player{min-width:0}.gyowatch-player iframe{max-width:100%}
.watch-admin-grid{display:grid;grid-template-columns:2fr 1fr 1fr 2fr;gap:12px;margin:16px 0}.watch-admin-grid label,.watch-admin-synopsis,.watch-row-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted);min-width:0}.watch-admin-grid .input,.watch-admin-synopsis .input,.watch-row-grid .input{width:100%;min-width:0}.watch-admin-synopsis{margin:12px 0}.admin-watch-heading,.watch-episodes-heading,.watch-admin-content-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.admin-watch-heading h2,.watch-episodes-heading h3{margin:0 0 5px}.watch-episodes-heading{margin:20px 0 12px;padding-top:16px;border-top:1px solid var(--line)}.watch-episodes-heading p,.admin-watch-heading p{margin:0;font-size:12px}.watch-episode-rows{display:flex;flex-direction:column;gap:12px}.watch-episode-row{border:1px solid var(--line);border-radius:13px;background:var(--surface2);padding:13px}.watch-episode-row-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.watch-row-grid{display:grid;grid-template-columns:.7fr 1.4fr 1.1fr 2fr 1fr 1fr .8fr;gap:10px}.watch-admin-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px}.watch-admin-actions .notice{margin:0}.watch-admin-list{display:flex;flex-direction:column;gap:12px}.watch-admin-content{border:1px solid var(--line);border-radius:13px;padding:13px;background:var(--surface2)}.watch-admin-content-head>div{display:flex;flex-direction:column;gap:5px;min-width:0}.watch-admin-content-head small,.watch-admin-episode-list small{color:var(--muted);font-size:11px}.watch-admin-episode-list{display:flex;flex-direction:column;margin-top:12px}.watch-admin-episode-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-top:1px solid var(--line);font-size:12px}.watch-admin-episode-list>div>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.watch-row-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.watch-row-actions em{font-style:normal;color:var(--muted);font-size:10px}.watch-row-actions .btn,.watch-admin-content-head .btn{padding:7px 10px;font-size:11px}@media(max-width:900px){.watch-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.watch-row-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.watch-admin-grid,.watch-row-grid{grid-template-columns:1fr}.admin-watch-heading,.watch-episodes-heading,.watch-admin-content-head{align-items:flex-start;flex-direction:column}.watch-admin-episode-list>div{align-items:flex-start;flex-direction:column}.watch-row-actions{flex-wrap:wrap}.gyowatch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Build 155: Play Store-like horizontal two-row shelves */
#storeList .store-app-grid{display:grid!important;grid-auto-flow:column!important;grid-template-rows:repeat(2,minmax(178px,auto))!important;grid-auto-columns:minmax(132px,156px)!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:5px 2px 14px!important;scroll-snap-type:x proximity!important;overscroll-behavior-inline:contain;touch-action:pan-x pan-y;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#storeList .store-app-grid::-webkit-scrollbar{display:none}
#storeList .store-app-card{min-width:0!important;min-height:178px!important;height:100%!important;padding:0!important;border:1px solid var(--line)!important;border-radius:17px!important;background:var(--surface)!important;scroll-snap-align:start;overflow:hidden!important}
#storeList .store-app-card .store-app-open{height:100%!important;min-height:0!important;width:100%!important;padding:13px 11px!important;display:flex!important;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important;gap:7px!important;border:0!important;background:transparent!important;border-radius:0!important}
#storeList .store-app-card .store-app-open .app-glyph{width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:14px!important;margin-bottom:3px}
#storeList .store-app-card .store-app-open strong{font-size:12px!important;line-height:1.3!important;min-height:2.5em!important;max-height:2.5em!important;text-align:left!important}
#storeList .store-app-card .store-app-open small{font-size:10px!important;line-height:1.35!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}
#storeList .store-app-card .store-app-open .store-card-stats,#storeList .store-app-card .store-app-open .store-card-downloads{color:var(--muted)!important}
@media(max-width:520px){#storeList .store-app-grid{grid-template-rows:repeat(2,minmax(166px,auto))!important;grid-auto-columns:minmax(126px,42vw)!important;gap:9px!important}#storeList .store-app-card .store-app-open{padding:11px 9px!important}#storeList .store-app-card .store-app-open strong{font-size:11px!important}#storeList .store-app-card .store-app-open small{font-size:9px!important}}
/* Build 155: unified quest countdown and compact GyoBank figures */
.quest-reset-shared{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:11px 13px;margin:12px 0 14px;border:1px solid rgba(110,210,190,.2);border-radius:13px;background:rgba(90,190,160,.08);color:var(--muted);font-size:12px}.quest-reset-shared>i{color:#79dfc2}.quest-reset-shared strong{margin-left:auto;color:#8fe7cd;font-size:17px;font-variant-numeric:tabular-nums;letter-spacing:.04em}.quest-reset-shared small{font-size:10px}
.bank-balance-head strong,.bank-mini-stat strong,.bank-convert-summary strong{min-width:0;overflow-wrap:anywhere;word-break:break-word;font-variant-numeric:tabular-nums}.bank-balance-head strong{font-size:clamp(20px,5vw,32px)!important;line-height:1.15!important}.bank-usdt-hero .amount-value{font-size:clamp(19px,5vw,30px)!important;line-height:1.15!important;overflow-wrap:anywhere}.bank-quest-info>strong{font-size:13px!important;line-height:1.35}.bank-quest-info>span{font-size:11px!important;line-height:1.4}
/* Build 155: larger fruit and explicit game start gate */
.fruit-canvas-wrap{position:relative;width:100%;isolation:isolate}.fruit-start-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:16px;border-radius:16px;background:rgba(5,9,20,.76);backdrop-filter:blur(5px);z-index:3}.fruit-start-overlay.hidden{display:none!important}.fruit-start-overlay>div{width:min(100%,310px);padding:20px;border:1px solid #ffffff25;border-radius:18px;background:#17223df2;text-align:center;display:grid;gap:11px;box-shadow:0 16px 45px #0008}.fruit-start-overlay strong{font-size:20px}.fruit-start-overlay span{font-size:12px;line-height:1.5;color:#bdc8e0}.fruit-start-overlay .primary-btn{min-height:46px}.fruit-game-card canvas{position:relative;z-index:1}

/* BUILD 156 — Store horizontal shelves, centered empty state, compact GyoBank and tap-only Smash Fruit */
#storeList .store-app-grid{display:grid!important;grid-auto-flow:column!important;grid-template-rows:repeat(2,minmax(104px,auto))!important;grid-auto-columns:minmax(205px,245px)!important;grid-template-columns:none!important;gap:11px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:7px 2px 13px!important;scroll-snap-type:x proximity!important;overscroll-behavior-inline:contain;touch-action:pan-x pan-y;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#storeList .store-app-grid::-webkit-scrollbar{display:none}
#storeList .store-app-card{min-width:0!important;min-height:104px!important;height:100%!important;padding:0!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--surface)!important;scroll-snap-align:start;overflow:hidden!important}
#storeList .store-app-card .store-app-open{height:100%!important;width:100%!important;padding:13px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:9px!important;text-align:left!important;border:0!important;background:transparent!important}
#storeList .store-app-mainline{display:flex;align-items:center;gap:11px;min-width:0}
#storeList .store-app-mainline .app-glyph{width:43px!important;height:43px!important;flex:0 0 43px!important;border-radius:12px!important;margin:0!important}
#storeList .store-app-mainline strong{font-size:13px!important;line-height:1.25!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#storeList .store-app-subline{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:nowrap}
#storeList .store-app-subline small{font-size:10px!important;line-height:1.3!important;color:var(--muted)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#storeList .store-app-subline small+small{flex:1;text-align:right}
@media(max-width:520px){#storeList .store-app-grid{grid-template-rows:repeat(2,minmax(100px,auto))!important;grid-auto-columns:minmax(190px,70vw)!important;gap:9px!important}#storeList .store-app-card .store-app-open{padding:11px!important}}
.gyowatch-page .empty-state{width:100%;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin:0 auto;padding:28px 18px!important;box-sizing:border-box}
.gyowatch-page .empty-state strong{font-size:15px!important;line-height:1.35;margin-bottom:8px}
.gyowatch-page .empty-state:not(:has(i)){gap:0}
.bank-overview-grid{gap:9px!important}
.bank-mini-stat{padding:12px!important;min-width:0!important}
.bank-mini-stat small{font-size:10px!important;line-height:1.35!important}
.bank-mini-stat strong{display:block;font-size:clamp(14px,3.6vw,19px)!important;line-height:1.25!important;overflow-wrap:anywhere;letter-spacing:-.25px}
.bank-mini-stat span{font-size:10px!important;line-height:1.4!important}
.bank-quest-preview-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 0;border-bottom:1px solid var(--line)}
.bank-quest-preview-row strong,.bank-quest-preview-row span{font-size:11px!important;line-height:1.35!important;min-width:0;overflow-wrap:anywhere}
.bank-quest-preview-row span{color:var(--muted);text-align:right;flex-shrink:0}
.bank-rate-panel{padding:12px 14px!important;border-radius:13px!important}
.bank-rate-panel small{font-size:10px!important}
.bank-rate-panel strong{font-size:clamp(14px,3.5vw,18px)!important;line-height:1.35!important;display:block;overflow-wrap:anywhere}
.fruit-game-card canvas{display:block;width:100%;height:auto;aspect-ratio:640/410;border-radius:16px;cursor:pointer;touch-action:pan-y!important;user-select:none;-webkit-user-select:none}
.fruit-game-card .fruit-game-head p{font-size:11px!important;line-height:1.45!important}
.fruit-game-card .fruit-game-hud>div{min-width:0;padding:9px 6px!important}
.fruit-game-card .fruit-game-hud strong{font-size:clamp(15px,4vw,20px)!important;line-height:1.2}
.fruit-game-card .fruit-game-hud small{font-size:9px!important;line-height:1.3!important;white-space:normal!important}
.fruit-game-card .game-status-line,.fruit-game-card .fruit-legend{font-size:11px!important;line-height:1.5!important;overflow-wrap:anywhere}


/* BUILD 157 — GyoStore shelves start at the left on each row; robust GyoWatch empty state */
#storeList .store-app-shelves{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0}
#storeList .store-app-row{display:flex;flex-flow:row nowrap;align-items:stretch;justify-content:flex-start;gap:10px;width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;padding:3px 2px 8px;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;touch-action:pan-x pan-y;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#storeList .store-app-row::-webkit-scrollbar{display:none}
#storeList .store-app-row .store-app-card{flex:0 0 clamp(190px,42vw,238px);width:clamp(190px,42vw,238px);min-height:104px;height:104px;scroll-snap-align:start}
#storeList .store-app-row .store-app-open{height:100%;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:12px}
#storeList .store-app-row .store-app-mainline{display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0}
#storeList .store-app-row .store-app-mainline .app-glyph{width:42px;height:42px;flex:0 0 42px;margin:0}
#storeList .store-app-row .store-app-mainline strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;line-height:1.25}
#storeList .store-app-row .store-app-subline{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;min-width:0}
#storeList .store-app-row .store-app-subline small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gyowatch-page #gyowatchCatalog{display:block!important;width:100%!important;min-width:0!important;max-width:none!important}
.gyowatch-page #gyowatchCatalog>.empty-state{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:230px!important;margin:0!important;padding:28px 18px!important;box-sizing:border-box!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;gap:8px!important}
.gyowatch-page #gyowatchCatalog>.empty-state strong{display:block!important;width:100%!important;text-align:center!important;font-size:15px!important;line-height:1.4!important}
.gyowatch-page #gyowatchCatalog>.empty-state:not(:has(i)){display:flex!important}
.fruit-game-card .fruit-canvas-wrap{width:100%;max-width:none}
.fruit-game-card canvas{width:100%;height:auto;aspect-ratio:640/520;min-height:280px;touch-action:pan-y!important}
@media(max-width:520px){#storeList .store-app-row .store-app-card{flex-basis:70vw;width:70vw}.fruit-game-card canvas{min-height:300px}}

/* Build 158: GyoWatch cover sizing/empty state and mobile Smash Fruit proportions */
.gyowatch-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(112px,150px))!important;justify-content:start!important;align-items:start;gap:12px;width:100%;min-width:0}
.gyowatch-card{width:100%;max-width:150px;min-width:0}
.gyowatch-card img{width:100%;aspect-ratio:2/3;height:auto;max-height:225px;object-fit:cover;background:#111827}
#gyowatchCatalog>.empty-state{grid-column:1/-1!important;width:100%!important;min-width:0;min-height:190px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;white-space:normal;overflow-wrap:anywhere;padding:28px 16px;margin:0 auto}
#gyowatchCatalog>.empty-state strong{display:block;max-width:100%;font-size:15px;line-height:1.4}
.gyowatch-page{min-width:0;width:100%;overflow-x:hidden}
.gyowatch-detail-head>img{width:112px;height:160px;flex:0 0 112px;object-fit:cover;background:#111827}
.watch-mode-label{display:grid;gap:6px;color:var(--muted);font-size:12px;min-width:230px}.watch-mode-label .input{width:100%}
.fruit-game-card canvas{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:640/520!important;object-fit:contain;display:block}
@media(max-width:520px){.fruit-game-card canvas{min-height:0!important;height:auto!important;aspect-ratio:640/520!important}.gyowatch-grid{grid-template-columns:repeat(auto-fill,minmax(104px,136px))!important;gap:9px}.gyowatch-card img{max-height:204px}.gyowatch-detail-head>img{width:96px;height:144px;flex-basis:96px}}


/* BUILD 159: compact, predictable mobile layouts */
#storeList .store-app-shelves{display:flex!important;flex-direction:column!important;gap:9px!important;width:100%;max-width:100%;overflow:visible!important;padding:4px 0 10px!important}
#storeList .store-app-row{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:9px!important;width:100%!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;padding:0 2px 5px!important;scroll-snap-type:x proximity!important;touch-action:pan-x pan-y!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
#storeList .store-app-row::-webkit-scrollbar{display:none!important}
#storeList .store-app-card{flex:0 0 164px!important;width:164px!important;min-width:164px!important;max-width:164px!important;height:104px!important;min-height:104px!important;max-height:104px!important;overflow:hidden!important;scroll-snap-align:start!important}
#storeList .store-app-card .store-app-open{height:100%!important;min-height:0!important;max-height:100%!important;padding:10px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:8px!important;overflow:hidden!important}
#storeList .store-app-mainline{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;min-width:0!important}
#storeList .store-app-mainline .app-glyph{width:36px!important;height:36px!important;flex:0 0 36px!important;border-radius:10px!important}
#storeList .store-app-mainline strong{font-size:12px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-height:0!important;max-height:2.5em!important}
#storeList .store-app-subline{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:6px!important;min-width:0!important}
#storeList .store-app-subline small{font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#storeList .store-app-subline small+small{flex:0 1 auto!important;text-align:right!important}
@media(max-width:520px){#storeList .store-app-shelves{gap:8px!important}#storeList .store-app-row{gap:8px!important}#storeList .store-app-card{flex-basis:154px!important;width:154px!important;min-width:154px!important;height:100px!important;min-height:100px!important;max-height:100px!important}}
.gyowatch-page #gyowatchCatalog.hidden,.gyowatch-page #gyowatchDetail.hidden{display:none!important}
.gyowatch-page #gyowatchCatalog:not(.hidden){display:grid!important;grid-template-columns:repeat(auto-fill,minmax(108px,136px))!important;gap:10px!important;align-items:start!important;justify-content:start!important;width:100%!important;min-width:0!important}
.gyowatch-page .gyowatch-card{display:flex!important;flex-direction:column!important;width:100%!important;max-width:136px!important;min-width:0!important;overflow:hidden!important;padding:0!important;border-radius:13px!important;text-align:left!important}
.gyowatch-page .gyowatch-card img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:2/3!important;max-height:204px!important;object-fit:cover!important;flex:0 0 auto!important}
.gyowatch-page .gyowatch-card>span{display:grid!important;gap:4px!important;padding:8px!important;min-width:0!important}
.gyowatch-page .gyowatch-card strong{font-size:12px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important}
.gyowatch-page .gyowatch-card small{font-size:10px!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important}
.gyowatch-page #gyowatchDetail:not(.hidden){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;animation:gyowatchDetailIn .18s ease-out}
@keyframes gyowatchDetailIn{from{opacity:.65;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.gyowatch-page .gyowatch-detail-head{display:flex!important;align-items:flex-start!important;gap:14px!important;min-width:0!important}
.gyowatch-page .gyowatch-detail-head>img{width:96px!important;height:144px!important;max-width:96px!important;flex:0 0 96px!important;object-fit:cover!important;border-radius:10px!important}
.builder-multiview{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;margin:10px 0;scrollbar-width:none}.builder-multiview::-webkit-scrollbar{display:none}.builder-multiview button{flex:0 0 auto;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--text);padding:9px 13px;font-size:12px}.builder-multiview button.active{background:var(--accent);color:#fff;border-color:transparent}.builder-icon-guide.hidden{display:none!important}.builder-icon-guide{max-height:65vh;overflow:auto}.builder-icon-examples{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;gap:8px!important}.builder-icon-examples code{display:block;padding:8px;border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}
.fruit-game-card .game-back-link{position:sticky!important;top:8px!important;z-index:20!important;display:inline-flex!important;align-items:center!important;gap:8px!important;background:rgba(17,25,43,.92)!important;backdrop-filter:blur(8px)!important;box-shadow:0 5px 18px #0004!important;border:1px solid var(--line)!important;border-radius:999px!important;padding:9px 13px!important;margin:0 0 12px!important}
.fruit-progress-note{font-size:11px!important;line-height:1.4!important;color:var(--muted)!important;margin:4px 0 0!important}
.number-duel-card{display:grid;gap:14px}.duel-actions{display:flex;gap:9px;flex-wrap:wrap}.duel-status{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:13px;line-height:1.5}.duel-opponents{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:12px;background:var(--surface)}.duel-opponents b{color:var(--accent)}.duel-number-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.duel-number-grid button{min-height:46px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--text);font-size:16px;font-weight:800}.duel-number-grid button:disabled{opacity:.55}.duel-number-grid button.selected{background:var(--accent);color:#fff}.duel-leaderboard{border-top:1px solid var(--line);padding-top:12px}.duel-rank-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.duel-rank-row>span{overflow-wrap:anywhere}.duel-rank-row>strong{font-variant-numeric:tabular-nums}@media(max-width:420px){.duel-number-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.duel-number-grid button{min-height:42px}}

/* BUILD 160 — fixed app navigation and in-phone dialogs */
.app-window{position:absolute!important;isolation:isolate!important;overflow:hidden!important}
.app-window>.gyo-popup-overlay.inside-cloud-app,.app-window>.quest-result-overlay{position:absolute!important;inset:0!important;z-index:80!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;border-radius:0!important;box-sizing:border-box!important;overflow:auto!important;overscroll-behavior:contain!important}
.app-window>.gyo-popup-overlay.inside-cloud-app{display:grid!important;place-items:center!important;padding:14px!important;background:rgba(4,8,18,.78)!important}
.app-window>.gyo-popup-overlay.inside-cloud-app.hidden{display:none!important}
.app-window>.quest-result-overlay{display:grid!important;place-items:center!important;padding:14px!important;background:rgba(4,8,18,.82)!important}
.app-window>.quest-result-overlay .quest-result-dialog,.app-window>.gyo-popup-overlay .gyo-popup{width:min(100%,380px)!important;max-height:calc(100% - 20px)!important;overflow-y:auto!important}
.builder-multiview,.bank-tabs,.gyowatch-tabs,[class*="app-multiview"]{position:sticky!important;top:0!important;z-index:35!important;flex:0 0 auto!important;background:rgba(12,18,33,.97)!important;backdrop-filter:blur(16px)!important;box-shadow:0 7px 18px rgba(0,0,0,.18)!important;padding:8px 5px!important;margin:0 0 12px!important;border-radius:0 0 14px 14px!important}
.builder-multiview{border-bottom:1px solid var(--line)!important;gap:6px!important}
.builder-multiview button{min-height:40px!important;padding:9px 12px!important;border-radius:11px!important;white-space:nowrap!important}
.bank-tabs{border:1px solid var(--line)!important}
.game-back-link{position:sticky!important;top:0!important;z-index:40!important;display:inline-flex!important;align-items:center!important;background:rgba(17,25,43,.97)!important;backdrop-filter:blur(14px)!important;box-shadow:0 7px 18px rgba(0,0,0,.25)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:12px!important;padding:10px 14px!important;margin:0 0 12px!important}
.builder-icon-tools{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(130px,.7fr)!important;gap:8px!important;margin:12px 0!important}
.builder-icon-tools input,.builder-icon-tools select{width:100%!important;min-width:0!important}
.builder-icon-examples{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(105px,1fr))!important;gap:8px!important;max-height:58vh!important;overflow:auto!important;padding:2px!important}
.builder-icon-choice{display:flex!important;min-width:0!important;min-height:76px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:9px 6px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--surface)!important;color:var(--text)!important}
.builder-icon-choice i{font-size:21px!important;color:var(--accent)!important}
.builder-icon-choice span{font-size:10px!important;line-height:1.2!important;text-align:center!important;text-transform:capitalize!important;overflow-wrap:anywhere!important}
.builder-icon-choice.selected{outline:2px solid var(--accent)!important;background:rgba(139,123,245,.16)!important}
.duel-find-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:48px!important;border-radius:14px!important;padding:12px 18px!important;background:linear-gradient(115deg,#6658cf,#8f7bf5)!important;box-shadow:0 9px 24px rgba(112,91,225,.28)!important}
.duel-find-button:disabled{opacity:.8!important}
.duel-find-button:disabled i{animation:duelSearchPulse 1.05s ease-in-out infinite}
@keyframes duelSearchPulse{0%,100%{transform:scale(.92);opacity:.6}50%{transform:scale(1.16);opacity:1}}
@media(max-width:520px){.builder-multiview{gap:5px!important}.builder-multiview button{font-size:10px!important;padding:8px 9px!important}.builder-icon-tools{grid-template-columns:1fr!important}.builder-icon-examples{grid-template-columns:repeat(3,minmax(0,1fr))!important}.app-window>.gyo-popup-overlay.inside-cloud-app{padding:10px!important}}

/* BUILD 160: all top-level app tab navigations stay pinned inside Cloud Phone */
#appContent>nav{position:sticky!important;top:0!important;z-index:35!important;flex:0 0 auto!important;background:rgba(12,18,33,.97)!important;backdrop-filter:blur(16px)!important}


/* BUILD 161 — GyoWatch compact brand, pinned flat tabs, independent 10-card rows */
.gyowatch-page{display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;width:100%!important;overflow:visible!important}
.gyowatch-heading-clean{display:block!important;padding:2px 0 0!important;margin:0!important;min-height:0!important}
.gyowatch-heading-clean h2,.gyowatch-heading-clean .gyowatch-mark{display:none!important}
.gyowatch-heading-clean p{font-size:11px!important;margin:3px 0 0!important;line-height:1.35!important}
.gyowatch-page .gyowatch-tabs{position:sticky!important;top:0!important;z-index:45!important;display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:7px 5px!important;margin:0!important;border:0!important;border-radius:0 0 10px 10px!important;background:var(--surface)!important;box-shadow:0 2px 7px rgba(0,0,0,.12)!important;scrollbar-width:none!important}
.gyowatch-page .gyowatch-tabs::-webkit-scrollbar{display:none!important}
.gyowatch-page .gyowatch-tabs button{flex:0 0 auto!important;min-height:34px!important;padding:7px 11px!important;border-radius:8px!important;border:1px solid var(--line)!important;background:transparent!important;font-size:10px!important;white-space:nowrap!important}
.gyowatch-page .gyowatch-tabs button.active{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}
.gyowatch-page #gyowatchCatalog:not(.hidden){display:flex!important;flex-direction:column!important;gap:12px!important;width:100%!important;min-width:0!important;overflow:visible!important}
.gyowatch-page .gyowatch-row{display:block!important;width:100%!important;min-width:0!important;overflow:hidden!important;overscroll-behavior-x:contain!important;touch-action:pan-y!important}
.gyowatch-page .gyowatch-row-track{display:flex!important;flex-flow:row nowrap!important;gap:9px!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 8px!important;scroll-snap-type:x proximity!important;overscroll-behavior-x:contain!important;touch-action:pan-x pan-y!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
.gyowatch-page .gyowatch-row-track::-webkit-scrollbar{display:none!important}
.gyowatch-page .gyowatch-card{flex:0 0 104px!important;width:104px!important;min-width:104px!important;max-width:104px!important;height:auto!important;max-height:none!important;scroll-snap-align:start!important;border-radius:9px!important}
.gyowatch-page .gyowatch-card img{width:104px!important;height:148px!important;min-height:148px!important;max-height:148px!important;aspect-ratio:auto!important;object-fit:cover!important}
.gyowatch-page .gyowatch-card>span{padding:6px!important;gap:3px!important}
.gyowatch-page .gyowatch-card strong{font-size:10px!important;line-height:1.25!important;max-height:2.5em!important;overflow:hidden!important}
.gyowatch-page .gyowatch-card small{font-size:9px!important;line-height:1.25!important}
.gyowatch-page .gyowatch-empty{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:130px!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;grid-column:1/-1!important}
.gyowatch-page .gyowatch-detail:not(.hidden){width:100%!important;max-width:100%!important}
@media(min-width:700px){.gyowatch-page .gyowatch-card{flex-basis:116px!important;width:116px!important;min-width:116px!important;max-width:116px!important}.gyowatch-page .gyowatch-card img{width:116px!important;height:164px!important;min-height:164px!important;max-height:164px!important}}


/* BUILD 162 — fixed-feel multiview controls, independent Duel Angka app and compact store badges */
#appContent>nav,.builder-multiview,.bank-tabs,.gyowatch-tabs,[class*="app-multiview"]{position:sticky!important;top:0!important;z-index:60!important;flex:0 0 auto!important;align-self:stretch!important;isolation:isolate!important;background:rgba(12,18,33,.98)!important;backdrop-filter:blur(18px)!important;box-shadow:0 5px 15px rgba(0,0,0,.22)!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0 0 12px 12px!important}
#appContent>.builder-multiview{margin:0 -2px 12px!important;padding:8px 6px!important}
.game-back-link{position:sticky!important;top:0!important;z-index:65!important;float:none!important;align-self:flex-start!important;border-radius:10px!important;box-shadow:0 5px 15px rgba(0,0,0,.24)!important}
.builder-icon-live{display:flex!important;align-items:center!important;gap:9px!important;margin-top:8px!important;padding:9px 11px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface)!important}
.builder-icon-live i{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border-radius:9px!important;background:rgba(139,123,245,.16)!important;color:var(--accent)!important;font-size:17px!important}
.builder-icon-live small{font-size:10px!important;color:var(--muted)!important;overflow-wrap:anywhere!important}
#storeList .store-app-row .store-app-subline{justify-content:flex-start!important;gap:6px!important}
#storeList .store-app-row .store-app-subline small{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 1 auto!important;width:max-content!important;max-width:calc(100% - 58px)!important;padding:4px 7px!important;border-radius:999px!important;background:rgba(135,125,190,.13)!important;font-size:9px!important;line-height:1.1!important;white-space:nowrap!important}
#storeList .store-app-row .store-app-subline small+small{flex:0 0 auto!important;max-width:58px!important;margin-left:auto!important;background:rgba(255,198,82,.13)!important;color:#f2c96b!important}
.duel-app-page{display:flex!important;flex-direction:column!important;gap:12px!important;min-width:0!important}
.duel-app-hero{display:flex!important;align-items:center!important;gap:13px!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:17px!important;background:linear-gradient(130deg,rgba(116,96,225,.18),rgba(76,205,181,.08))!important}
.duel-app-icon{width:52px!important;height:52px!important;flex:0 0 52px!important;display:grid!important;place-items:center!important;border-radius:16px!important;background:linear-gradient(140deg,#6558d0,#8f7bf5)!important;color:#fff!important;font-size:22px!important;box-shadow:0 8px 22px rgba(112,91,225,.3)!important}
.duel-app-hero small{font-size:9px!important;letter-spacing:.14em!important;color:#a99aff!important;font-weight:900!important}
.duel-app-hero h2{font-size:20px!important;margin:3px 0!important}
.duel-app-hero p{font-size:11px!important;color:var(--muted)!important;margin:0!important}
.duel-mode-row,.duel-leaderboard-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.duel-mode-row>span:first-child{font-size:10px!important;font-weight:900!important;letter-spacing:.08em!important;color:var(--muted)!important}
.duel-search-visual{display:flex!important;align-items:center!important;gap:13px!important;padding:15px!important;border:1px solid rgba(139,123,245,.2)!important;border-radius:16px!important;background:linear-gradient(120deg,rgba(108,94,210,.13),rgba(67,190,167,.07))!important}
.duel-radar{width:48px!important;height:48px!important;flex:0 0 48px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:rgba(135,120,245,.18)!important;color:#b4a7ff!important;font-size:19px!important}
.duel-search-visual.searching .duel-radar{animation:duelRadarPulse 1.15s ease-in-out infinite;box-shadow:0 0 0 0 rgba(148,129,255,.4)!important}
.duel-search-visual.searching .duel-radar i{animation:duelSearchPulse 1s ease-in-out infinite}
.duel-search-visual strong,.duel-search-visual small{display:block!important}
.duel-search-visual strong{font-size:13px!important}
.duel-search-visual small{font-size:10px!important;color:var(--muted)!important;margin-top:4px!important;line-height:1.4!important}
@keyframes duelRadarPulse{0%,100%{box-shadow:0 0 0 0 rgba(148,129,255,.05)}50%{box-shadow:0 0 0 10px rgba(148,129,255,.12)}}
.duel-app-page .duel-status{margin-top:10px!important}
.duel-app-page .duel-opponents{gap:7px!important}
.duel-app-page .duel-opponents span{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;font-size:11px!important}
.duel-app-page .duel-opponents span b{overflow-wrap:anywhere!important}
.duel-app-page .duel-vs{font-size:12px!important;color:#b4a7ff!important}
.duel-leaderboard-head h3{margin:0!important;font-size:14px!important}
.duel-leaderboard-head button{flex:0 0 auto!important;padding:7px 10px!important}
@media(max-width:520px){.duel-app-hero{padding:11px!important}.duel-app-hero h2{font-size:18px!important}.duel-number-grid{gap:6px!important}.duel-number-grid button{min-height:44px!important}}

/* BUILD 162: confine every shared modal overlay to the active Cloud Phone app viewport */
#appWindow>.gyo-popup-overlay.inside-cloud-app,#appWindow>.quest-result-overlay{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;overflow:auto!important;overscroll-behavior:contain!important;box-sizing:border-box!important;z-index:120!important}
#appWindow>.gyo-popup-overlay.inside-cloud-app{display:grid!important;place-items:center!important;padding:12px!important}
#appWindow>.gyo-popup-overlay.inside-cloud-app.hidden{display:none!important}
#appWindow>.quest-result-overlay{display:grid!important;place-items:center!important;padding:12px!important}


/* BUILD 163 — GyoBank virtual card & transfer */
.bank-card-id-panel,.bank-transfer-card{position:relative;overflow:hidden;border:1px solid rgba(160,145,255,.24)!important;background:linear-gradient(135deg,rgba(79,67,145,.24),rgba(21,28,47,.96))!important;border-radius:18px!important;padding:17px!important}
.bank-card-id-panel:after{content:"";position:absolute;width:150px;height:150px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-50px;top:-65px;box-shadow:0 0 0 18px rgba(255,255,255,.025),0 0 0 36px rgba(255,255,255,.018);pointer-events:none}
.bank-card-id-panel .bank-section-heading,.bank-transfer-card .bank-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.bank-card-id-panel .bank-section-heading>i,.bank-transfer-card .bank-section-heading>i{font-size:21px;color:#b6aaff}
.bank-card-number{display:block;font-size:clamp(20px,5vw,28px);letter-spacing:.12em;font-weight:900;margin:17px 0 13px;color:#fff;font-variant-numeric:tabular-nums}
.bank-card-holder{display:flex;flex-direction:column;gap:4px}.bank-card-holder small{font-size:9px;letter-spacing:.14em;color:#a9a4bb}.bank-card-holder b{font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.bank-transfer-card .field{display:flex;flex-direction:column;gap:7px;margin:12px 0;font-size:12px;color:var(--muted)}.bank-transfer-card .field input{width:100%;min-height:44px;border:1px solid var(--line);border-radius:11px;background:rgba(5,9,20,.48);color:var(--text);padding:10px 12px;outline:none}.bank-transfer-card .field input:focus{border-color:#9888ff;box-shadow:0 0 0 3px rgba(152,136,255,.12)}
.bank-transfer-note{font-size:11px;line-height:1.5;color:var(--muted);padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.035);margin:12px 0}
/* BUILD 163 — Duel Angka arcade board */
.duel-app-hero{position:relative!important}.duel-app-hero>div{flex:1;min-width:0}.duel-nav-icon{width:42px;height:42px;flex:0 0 42px;border:1px solid rgba(174,160,255,.32);border-radius:13px;background:rgba(112,91,225,.16);color:#c7bcff;font-size:17px;display:grid;place-items:center;cursor:pointer}
.duel-search-visual{display:flex!important;align-items:center!important;gap:12px!important;min-height:75px!important;padding:13px!important;border:1px solid rgba(135,119,245,.22)!important;border-radius:15px!important;background:linear-gradient(110deg,rgba(91,76,184,.18),rgba(25,33,55,.4))!important}.duel-search-visual>div{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.duel-search-visual strong{font-size:13px}.duel-search-visual small{font-size:10px;color:var(--muted)}.duel-radar{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:rgba(129,110,245,.2);color:#c8bdff;font-size:18px}.duel-search-visual.searching .duel-radar{animation:duelRadarPulse 1.1s ease-in-out infinite}.duel-countdown{font-size:15px;font-variant-numeric:tabular-nums;color:#f4d58c}.duel-trophy-strip{display:flex;align-items:center;gap:9px;padding:10px 12px;margin:10px 0;border-radius:12px;background:rgba(247,190,82,.08);border:1px solid rgba(247,190,82,.18)}.duel-trophy-strip span{font-size:11px;color:#e7d8b0}.duel-trophy-strip span i{color:#f2c66e;margin-right:4px}.duel-trophy-strip strong{font-size:18px;color:#ffd77d}.duel-trophy-strip small{margin-left:auto;font-size:10px;color:var(--muted)}
.duel-play-board{padding:13px!important;border:1px solid rgba(144,127,247,.3)!important;border-radius:17px!important;background:linear-gradient(145deg,rgba(35,42,70,.96),rgba(18,24,42,.98))!important;box-shadow:0 12px 30px rgba(0,0,0,.18)}.duel-opponents{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important}.duel-player-tile{display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;min-width:0!important;padding:10px 6px!important;border-radius:12px!important;background:rgba(255,255,255,.045)!important;border:1px solid rgba(255,255,255,.07)!important}.duel-player-tile i{font-size:19px;color:#b6aaff}.duel-player-tile b{font-size:11px!important;max-width:100%;overflow-wrap:anywhere;text-align:center}.duel-player-tile small{font-size:8px;letter-spacing:.14em;color:var(--muted)}.duel-vs{font-size:12px!important;color:#f2cf83!important}.duel-round-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:13px 0 10px;padding:9px 11px;border-radius:9px;background:rgba(0,0,0,.22)}.duel-round-banner span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#d7d0ff}.duel-round-banner small{font-size:9px;color:var(--muted)}
.duel-number-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:7px!important;padding:7px!important;border-radius:12px!important;background:rgba(8,12,24,.6)!important}.duel-number-grid button{min-height:66px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;border:1px solid rgba(180,169,255,.18)!important;border-radius:9px!important;background:linear-gradient(145deg,#3a3e60,#272c48)!important;color:#fff!important;box-shadow:inset 0 1px rgba(255,255,255,.08),0 3px 0 rgba(0,0,0,.2)!important;cursor:pointer}.duel-number-grid button:nth-child(odd){background:linear-gradient(145deg,#343956,#252b45)!important}.duel-number-grid button span{font-size:22px;font-weight:900}.duel-number-grid button small{font-size:7px;letter-spacing:.12em;color:#bcb7d7}.duel-number-grid button:disabled{opacity:.58;cursor:default}.duel-number-grid button.selected{border-color:#f4ce79!important;background:linear-gradient(145deg,#80632c,#59451f)!important;box-shadow:0 0 0 2px rgba(244,206,121,.2)!important}.duel-leaderboard{padding:13px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:rgba(12,18,33,.94)!important}.duel-leaderboard-head{display:flex!important;align-items:center!important;gap:8px!important}.duel-leaderboard-head h3{flex:1!important;margin:0!important;font-size:14px!important}.duel-reset-clock{display:flex;align-items:center;gap:5px;font-size:10px;color:#e9ce8c;font-variant-numeric:tabular-nums}.duel-rank-row{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;padding:10px 4px!important;border-bottom:1px solid rgba(255,255,255,.06)!important}.duel-rank-number{color:#b8adff;font-size:12px}.duel-rank-row:first-child .duel-rank-number{color:#f4ca68}.duel-rank-row span{font-size:11px;overflow-wrap:anywhere}.duel-rank-row strong{font-size:11px;color:#f2d184}.duel-rank-row strong small{font-size:9px;color:var(--muted)}
.duel-match-overlay{position:absolute!important;inset:0!important;z-index:120!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:16px!important;background:rgba(5,8,18,.82)!important;backdrop-filter:blur(9px)!important;border-radius:inherit!important}.duel-match-overlay.hidden{display:none!important}.duel-match-popup{width:min(100%,360px)!important;padding:22px 18px!important;text-align:center!important;border:1px solid rgba(172,157,255,.35)!important;border-radius:20px!important;background:linear-gradient(145deg,#262c4a,#151b30)!important;box-shadow:0 22px 70px rgba(0,0,0,.5)!important}.duel-match-popup-icon{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 12px;border-radius:17px;background:rgba(134,115,247,.2);color:#d2caff;font-size:25px}.duel-match-popup>small{font-size:9px;letter-spacing:.16em;color:#b6aaff;font-weight:900}.duel-match-popup h3{margin:7px 0 14px;font-size:21px}.duel-popup-versus{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:13px 8px;margin:10px 0;border-radius:12px;background:rgba(0,0,0,.22)}.duel-popup-versus b{font-size:11px;overflow-wrap:anywhere}.duel-popup-versus span{font-size:10px;color:#f2cf83;font-weight:900}.duel-match-popup p{font-size:11px;color:var(--muted);line-height:1.55;margin:10px 0 17px}
@keyframes duelRadarPulse{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(143,123,245,.3)}50%{transform:scale(1.07);box-shadow:0 0 0 9px rgba(143,123,245,0)}}
@media(max-width:420px){.duel-number-grid button{min-height:56px!important}.duel-number-grid button span{font-size:19px}.duel-reset-clock{font-size:9px}.duel-trophy-strip small{font-size:9px}}

.duel-app-page{position:relative!important;min-height:100%;}


/* BUILD 164 — Duel Angka: isolated multiviews, bounded scrolling and centered round clock */
.duel-app-page{height:100%;min-height:0;max-height:100%;display:flex;flex-direction:column;overflow:hidden;position:relative;overscroll-behavior:contain}
.duel-view{height:100%;min-height:0;max-height:100%;display:flex;flex-direction:column;overflow:hidden;overscroll-behavior:contain}
.duel-menu-view{overflow-y:auto;padding-bottom:12px;scrollbar-width:none}.duel-menu-view::-webkit-scrollbar,.duel-game-scroll::-webkit-scrollbar,.duel-board-scroll::-webkit-scrollbar{display:none}
.duel-game-view,.duel-leaderboard-view{background:var(--bg)}
.duel-subnav{position:relative;z-index:5;flex:0 0 48px;min-height:48px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:4px 2px 10px;border-bottom:1px solid var(--line);background:var(--bg)}
.duel-subnav>strong{font-size:10px;letter-spacing:.12em;text-align:center;white-space:nowrap;color:#c9c0ff}.duel-subnav>span:last-child{justify-self:end}
.duel-back-button{display:inline-flex;align-items:center;justify-self:start;gap:7px;min-height:34px;padding:7px 11px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);font-size:10px;font-weight:800;white-space:nowrap}
.duel-round-clock{font-size:17px!important;font-weight:900!important;letter-spacing:.08em!important;color:#f2cf83!important;font-variant-numeric:tabular-nums;text-align:center;justify-self:center;min-width:62px}
.duel-game-scroll,.duel-board-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:12px 0 20px;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.duel-game-scroll .duel-play-board{margin:0}.duel-game-view .duel-round-banner{justify-content:center;position:relative}.duel-game-view .duel-round-banner small{display:none}
.duel-leaderboard-view .duel-leaderboard{margin:0}.duel-leaderboard-view .duel-leaderboard-head{flex-wrap:nowrap}
.duel-match-overlay{position:absolute!important;inset:0!important}
/* Virtual ID card is deliberately shorter and less oval; copy action sits beside the ID. */
.bank-card-id-panel{padding:12px 14px!important;border-radius:13px!important;min-height:0!important}
.bank-card-id-panel:after{width:105px;height:105px;right:-42px;top:-52px}
.bank-card-number{font-size:clamp(14px,3.5vw,19px)!important;letter-spacing:.09em!important;margin:0!important;line-height:1.2!important;overflow-wrap:anywhere}
.bank-card-id-row{display:flex;align-items:center;gap:9px;margin:12px 0 9px;max-width:100%;position:relative;z-index:1}
.bank-copy-card-id{flex:0 0 32px;width:32px;height:32px;display:grid;place-items:center;border:1px solid rgba(190,178,255,.28);border-radius:9px;background:rgba(255,255,255,.08);color:#d8d0ff}
.bank-card-holder b{font-size:11px!important}
/* A single persistent back control stays above the scrollable game content. */
.bank-quest-floating-back{position:absolute!important;z-index:85!important;top:59px!important;left:12px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;min-height:34px!important;padding:7px 11px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:10px!important;background:rgba(17,25,43,.96)!important;color:#e9eaff!important;box-shadow:0 7px 20px rgba(0,0,0,.3)!important;backdrop-filter:blur(14px)!important;font-size:10px!important;font-weight:800!important}
.bank-quest-floating-back:active{transform:scale(.98)}
.app-content:has(.game-back-link){padding-top:53px!important}
.app-content:has(.game-back-link) .game-back-link{visibility:hidden!important;pointer-events:none!important}
@media(max-width:480px){.duel-subnav{padding-left:0;padding-right:0}.duel-subnav>strong{font-size:9px}.duel-round-clock{font-size:16px!important}.duel-back-button{font-size:9px;padding:7px 9px}.bank-quest-floating-back{top:55px!important;left:9px!important}}

.duel-game-label{justify-self:end!important;text-align:right!important;font-size:9px!important}

/* Build 165 — official Facebook video embed in GyoWatch */
.gyowatch-facebook-wrap{background:#050505;min-height:200px}.gyowatch-facebook-wrap iframe{display:block}.gyowatch-facebook-note{display:block;color:var(--muted);font-size:9px;line-height:1.5;padding:0 10px 10px}

/* Build 166 responsive compact controls */
.builder-icon-guide{position:relative;clear:both;display:block;width:100%;max-width:100%;box-sizing:border-box;overflow:hidden;padding:14px!important;margin:16px 0!important}
.builder-icon-guide-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.builder-icon-guide-head h3{margin:0 0 4px;font-size:15px}.builder-icon-guide-head p{margin:0}.builder-icon-guide-count{font-size:10px;padding:5px 9px;border-radius:20px;background:var(--surface2);color:var(--muted);white-space:nowrap}
.builder-icon-tools{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(130px,1fr)!important;gap:9px!important;align-items:center;width:100%;margin:10px 0 12px}
.builder-icon-tools>*{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
.builder-icon-examples{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(112px,1fr))!important;gap:8px!important;width:100%;max-height:44vh;overflow-y:auto;overscroll-behavior:contain;padding:2px}
.builder-icon-choice{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;min-height:76px!important;padding:9px 6px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface)!important;color:var(--text)!important;text-align:center!important;overflow:hidden!important}
.builder-icon-choice i{display:block;font-size:20px;line-height:1.2;flex:0 0 auto}.builder-icon-choice span{display:block;max-width:100%;font-size:9px;line-height:1.25;overflow-wrap:anywhere;word-break:break-word}.builder-icon-choice.selected{border-color:var(--accent)!important;background:var(--surface2)!important}
.gyowatch-episode-tiles{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(42px,1fr))!important;gap:7px!important;align-items:start;width:100%}
.gyowatch-episode-tile{display:flex;align-items:center;justify-content:center;min-width:0;min-height:40px;padding:5px 3px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-size:12px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.gyowatch-episode-tile:hover,.gyowatch-episode-tile:focus-visible{border-color:var(--accent);background:var(--surface2);outline:none}
.gyowatch-episode-tile:active{transform:scale(.96)}
.gyo-persistent-audio-host{display:none!important;visibility:hidden!important;pointer-events:none!important;height:0!important;min-height:0!important;padding:0!important;border:0!important;overflow:hidden!important}
.gyomusic-skip-controls #musicPlayPause{width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;border:0;display:grid;place-items:center}
.wifi-app-blocked{min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;padding:24px}.wifi-app-blocked>i{font-size:30px;color:var(--muted)}
@media(max-width:560px){.builder-icon-tools{grid-template-columns:1fr!important}.builder-icon-examples{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:48vh}.builder-icon-choice{min-height:70px!important}.gyowatch-episode-tiles{grid-template-columns:repeat(auto-fill,minmax(38px,1fr))!important;gap:6px!important}.gyowatch-episode-tile{min-height:38px;font-size:11px}}

/* BUILD 168 — compact icon guide, animated music controls and neon Game Center */
.builder-icon-guide{padding:12px!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;max-height:none!important;overflow:visible!important}
.builder-icon-guide-head{display:block!important;margin:0 0 7px!important}
.builder-icon-guide-head h3{font-size:16px!important;font-weight:850!important;margin:0 0 5px!important}
.builder-icon-guide-head p{font-size:12px!important;margin:0!important}
.builder-icon-guide-count,.builder-icon-guide>p.tiny.muted:last-child{display:none!important}
.builder-icon-tools{margin:12px 0!important}
.builder-icon-examples{max-height:58vh!important;grid-template-columns:repeat(auto-fill,minmax(92px,1fr))!important}
.builder-icon-choice{min-height:76px!important;background:linear-gradient(145deg,var(--surface),var(--surface2))!important}
.builder-icon-choice:active{transform:scale(.96)}
@media(max-width:560px){.builder-icon-examples{grid-template-columns:repeat(3,minmax(0,1fr))!important;max-height:56vh!important}}

/* Music: custom-only controls; the persistent audio element stays hidden from native UI. */
.gyomusic-player{grid-template-columns:42px minmax(0,1fr)!important;align-items:center!important}
.gyomusic-now-meta{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important}
.gyomusic-progress-wrap{display:grid;grid-template-columns:30px minmax(0,1fr) 30px;align-items:center;gap:7px;margin-top:5px;font-size:9px;color:#aaa;font-variant-numeric:tabular-nums}
.gyomusic-progress-wrap input{width:100%;height:4px;accent-color:#ff8c66;cursor:pointer}
.gyomusic-skip-controls{display:flex!important;align-items:center!important;gap:8px!important;margin-top:4px!important}
.gyomusic-skip-controls button{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:9px!important;background:rgba(255,255,255,.045)!important;color:#f4d4c1!important;transition:transform .18s,background .18s,color .18s!important}
.gyomusic-skip-controls button:active{transform:scale(.88)!important}
.gyomusic-skip-controls #musicPlayPause{width:38px!important;height:38px!important;border-radius:50%!important;background:linear-gradient(135deg,#ff9b75,#f15c91)!important;color:#fff!important;box-shadow:0 0 0 0 rgba(255,126,139,.35)!important}
.gyomusic-skip-controls #musicPlayPause.is-playing{animation:musicPulse 1.7s infinite;transform:scale(1.02)}
.gyomusic-skip-controls #musicMute.is-muted{color:#ff8d8d!important;background:rgba(255,90,90,.13)!important}
@keyframes musicPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,126,139,.28)}50%{box-shadow:0 0 0 7px rgba(255,126,139,0)}}

/* Neon city arcade atmosphere */
.duel-app-page{background:radial-gradient(ellipse at 50% -15%,rgba(31,207,255,.15),transparent 48%),linear-gradient(180deg,#080e20 0%,#0b1024 55%,#080b18 100%)!important;color:#f4f7ff!important}
.duel-menu-view,.duel-game-view,.duel-leaderboard-view,.gc-prototype-view{background:transparent!important}
.duel-app-hero{border:1px solid rgba(54,216,255,.24)!important;background:linear-gradient(115deg,rgba(16,33,70,.96),rgba(32,18,67,.86)),repeating-linear-gradient(90deg,transparent 0 34px,rgba(50,214,255,.04) 35px 36px)!important;box-shadow:0 12px 35px rgba(0,0,0,.28),inset 0 0 24px rgba(36,180,255,.06)!important;color:#fff!important}
.duel-app-hero h2{font-size:22px!important;letter-spacing:.02em;text-shadow:0 0 18px rgba(49,207,255,.4)}
.duel-app-hero p{color:#a9b8d8!important}
.duel-app-hero small{display:none!important}
.duel-app-hero .duel-nav-icon{width:62px!important;height:48px!important;display:flex!important;flex-direction:column!important;gap:3px!important;border:1px solid rgba(56,223,255,.35)!important;border-radius:12px!important;background:rgba(13,31,61,.8)!important;color:#73e9ff!important;font-size:17px!important}
.duel-nav-icon small{display:block!important;font-size:8px!important;letter-spacing:.08em!important;color:#bcefff!important}
.duel-app-page .card{border:1px solid rgba(93,133,203,.18)!important;background:linear-gradient(145deg,rgba(17,28,54,.96),rgba(12,18,38,.96))!important;color:#edf4ff!important;box-shadow:0 12px 30px rgba(0,0,0,.2)!important}
.duel-app-page .tiny.muted,.duel-app-page .muted{color:#9aa9c8!important}
.game-center-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;margin-top:13px!important}
.gc-game-card{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;min-height:154px!important;overflow:hidden!important;padding:0!important;border:1px solid rgba(123,173,255,.22)!important;border-radius:15px!important;background:#111b34!important;color:#fff!important;text-align:left!important;box-shadow:0 9px 22px rgba(0,0,0,.25)!important;cursor:pointer!important;transition:transform .2s,border-color .2s,box-shadow .2s!important}
.gc-game-card:active{transform:scale(.975)!important}
.gc-game-art{position:relative!important;display:grid!important;place-items:center!important;height:94px!important;overflow:hidden!important;font-size:36px!important;color:#fff!important}
.gc-game-art:before,.gc-game-art:after{content:"";position:absolute;inset:0;pointer-events:none}
.gc-game-art:before{background:linear-gradient(180deg,transparent,rgba(5,9,24,.68))!important}
.gc-game-art i{position:relative;z-index:1;filter:drop-shadow(0 0 14px currentColor);transform:translateY(2px)}
.gc-game-info{display:flex!important;flex-direction:column!important;gap:3px!important;padding:9px 11px 10px!important;background:linear-gradient(180deg,rgba(9,15,31,.92),rgba(7,12,25,.98))!important}
.gc-game-info b{font-size:13px!important;letter-spacing:.02em!important}
.gc-game-info small{font-size:9px!important;color:#aebbd5!important}
.gc-game-info em{font-style:normal!important;font-size:8px!important;letter-spacing:.14em!important;color:#68e6ff!important;font-weight:900!important;margin-top:4px!important}
.gc-game-duel .gc-game-art{background:linear-gradient(135deg,#102e62,#1b8aa0 52%,#382568)!important}
.gc-game-element .gc-game-art{background:radial-gradient(circle at 20% 30%,#ffb44b,transparent 28%),linear-gradient(135deg,#5b1d37,#a83e37 55%,#241a4d)!important}
.gc-game-maze .gc-game-art{background:repeating-linear-gradient(90deg,rgba(39,238,255,.13) 0 1px,transparent 1px 20px),repeating-linear-gradient(0deg,rgba(39,238,255,.1) 0 1px,transparent 1px 20px),linear-gradient(135deg,#092b47,#173e70 55%,#281c59)!important}
.gc-game-memory .gc-game-art{background:radial-gradient(circle at 50% 45%,rgba(202,103,255,.5),transparent 38%),linear-gradient(135deg,#241b58,#542b7a 55%,#112a56)!important}
.gc-game-element .gc-game-art i{color:#ffd18a}.gc-game-maze .gc-game-art i{color:#77f2ff}.gc-game-memory .gc-game-art i{color:#e0a7ff}
.number-duel-card{border-color:rgba(55,215,255,.22)!important}
.duel-search-visual{background:linear-gradient(100deg,rgba(22,53,88,.9),rgba(37,28,76,.9))!important;border:1px solid rgba(66,212,255,.2)!important}
.duel-radar{color:#6deaff!important;animation:gcRadarGlow 1.8s infinite}
@keyframes gcRadarGlow{50%{filter:drop-shadow(0 0 13px #44dfff);transform:scale(1.08)}}
.duel-find-button,.duel-app-page .primary-btn{background:linear-gradient(100deg,#167bd0,#6c42d9)!important;border:1px solid rgba(109,230,255,.35)!important;box-shadow:0 8px 24px rgba(52,111,255,.2)!important;color:#fff!important}
.duel-leaderboard,.duel-leaderboard-view .duel-board-scroll{background:transparent!important}
.duel-subnav{background:rgba(8,14,31,.96)!important;border-bottom:1px solid rgba(86,191,255,.18)!important;backdrop-filter:blur(14px)!important}
.duel-subnav>strong{color:#7deaff!important}
.duel-rank-row{border-bottom-color:rgba(110,160,220,.12)!important}
.duel-rank-row:first-child{background:linear-gradient(90deg,rgba(255,203,91,.12),transparent)!important}
.gc-prototype-scroll{flex:1;min-height:0;overflow:auto;padding:12px 0 20px;overscroll-behavior:contain}
.gc-prototype-stage{min-height:100%;padding:16px;border:1px solid rgba(97,179,255,.2);border-radius:17px;background:radial-gradient(ellipse at 50% 0%,rgba(64,117,255,.19),transparent 55%),linear-gradient(145deg,#101b39,#0a1024);color:#f3f7ff;box-shadow:inset 0 0 35px rgba(40,167,255,.05)}
.gc-proto-head{text-align:center;margin-bottom:18px}.gc-proto-head>span{font-size:9px;letter-spacing:.2em;color:#75eaff;font-weight:900}.gc-proto-head h3{font-size:20px;margin:7px 0}.gc-proto-head p,.gc-prototype-intro p{font-size:11px;line-height:1.6;color:#aab9d8}
.gc-prototype-intro{text-align:center;padding:42px 10px}.gc-prototype-intro>i{font-size:38px;color:#75eaff;filter:drop-shadow(0 0 15px #258bff)}
.gc-proto-result{min-height:52px;margin:14px 0;padding:12px;border:1px solid rgba(110,200,255,.16);border-radius:12px;background:rgba(255,255,255,.045);text-align:center;color:#dbeaff;font-size:12px}
.gc-element-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.gc-element-options button{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:linear-gradient(145deg,#1d2d52,#111b36);color:#fff;font-size:22px}.gc-element-options button:first-child{color:#ffb16b}.gc-element-options button:nth-child(2){color:#73dcff}.gc-element-options button:nth-child(3){color:#91f0ad}.gc-element-options b{font-size:10px;letter-spacing:.12em}
.gc-element-versus{display:flex;justify-content:center;align-items:center;gap:18px;margin-bottom:9px;font-size:15px;color:#8beaff}.gc-proto-result>strong{display:block;font-size:20px;color:#f7d17b}.gc-proto-result>small{display:block;margin-top:5px;color:#aab9d8;font-size:10px}
.gc-maze-grid,.gc-memory-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-width:310px;margin:0 auto}.gc-maze-grid button,.gc-memory-grid button{aspect-ratio:1;border:1px solid rgba(87,213,255,.2);border-radius:8px;background:linear-gradient(145deg,#15274a,#101a34);color:#fff;font-size:20px}.gc-maze-grid button.wall{background:linear-gradient(145deg,#39405b,#20243b);border-color:#69718e}.gc-maze-grid button.exit{color:#72ffb2;box-shadow:inset 0 0 15px rgba(80,255,174,.2)}.gc-maze-grid button.player{background:linear-gradient(145deg,#1d9ac4,#6555db);box-shadow:0 0 14px rgba(60,207,255,.5)}.gc-maze-controls{display:grid;grid-template-columns:repeat(4,42px);justify-content:center;gap:7px;margin:14px auto}.gc-maze-controls button{height:38px;border:1px solid rgba(102,218,255,.3);border-radius:9px;background:#17294b;color:#8deaff;font-size:17px}
.gc-memory-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-width:270px}.gc-memory-grid button{aspect-ratio:1.2;background:linear-gradient(145deg,#222d57,#131d3b);transition:background .15s,box-shadow .15s}.gc-memory-grid button.lit{background:linear-gradient(145deg,#7b65ff,#35c8ff);box-shadow:0 0 22px rgba(89,194,255,.75)}.gc-prototype-tag{font-size:8px;color:#78eaff;letter-spacing:.1em}
@media(max-width:440px){.game-center-grid{gap:8px!important}.gc-game-card{min-height:142px!important}.gc-game-art{height:82px!important}.gc-game-info{padding:8px!important}.gc-game-info b{font-size:12px!important}.gc-prototype-stage{padding:11px}}

/* Build 169 — Spotify-like Gyo Music player and Game Center multiview */
.gyomusic-player{grid-template-columns:58px minmax(0,1fr)!important;gap:12px!important;padding:12px 14px!important;background:linear-gradient(110deg,#171a18,#101211 72%)!important;border-top:1px solid rgba(67,220,135,.22)!important;box-shadow:0 -8px 28px rgba(0,0,0,.28)!important}
.gyomusic-now-cover{width:58px!important;height:58px!important;flex-basis:58px!important;border-radius:9px!important;overflow:hidden!important;box-shadow:0 5px 18px #0008!important}
.gyomusic-now-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease,filter .45s ease}
.gyomusic-player:has(#musicPlayPause.is-playing) .gyomusic-now-cover img{animation:gyomusicCoverFloat 5s ease-in-out infinite;filter:saturate(1.12)}
@keyframes gyomusicCoverFloat{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.07) rotate(1.5deg)}}
.gyomusic-now-meta{gap:5px!important}.gyomusic-now-meta strong{font-size:13px!important;color:#fff!important}.gyomusic-now-meta small{font-size:11px!important;color:#a7b1aa!important}
.gyomusic-progress-wrap{grid-template-columns:32px minmax(0,1fr) 32px!important;gap:8px!important;margin-top:3px!important;color:#aab5ad!important}
.gyomusic-progress-wrap input{height:4px!important;accent-color:#1ed760!important;cursor:pointer;touch-action:pan-y}
.gyomusic-progress-wrap input::-webkit-slider-thumb{opacity:0;transition:opacity .15s}.gyomusic-progress-wrap input:hover::-webkit-slider-thumb{opacity:1}
.gyomusic-skip-controls{justify-content:center!important;gap:22px!important;margin-top:2px!important}
.gyomusic-skip-controls button{width:30px!important;height:30px!important;border:0!important;background:transparent!important;color:#d9e3dc!important;font-size:15px!important}
.gyomusic-skip-controls #musicPlayPause{width:39px!important;height:39px!important;background:#1ed760!important;color:#07130b!important;font-size:16px!important;box-shadow:0 0 18px rgba(30,215,96,.2)!important}
.gyomusic-skip-controls #musicPlayPause.is-playing{animation:musicPulse 1.8s infinite!important}
.gyomusic-player .gyomusic-audio-host{display:none!important}
@media(max-width:520px){.gyomusic-player{grid-template-columns:48px minmax(0,1fr)!important;gap:9px!important;padding:10px 11px!important}.gyomusic-now-cover{width:48px!important;height:48px!important;flex-basis:48px!important}.gyomusic-skip-controls{gap:18px!important}.gyomusic-skip-controls #musicPlayPause{width:36px!important;height:36px!important}}
.gc-top-actions{display:flex;gap:7px;flex:0 0 auto}.gc-top-actions .duel-nav-icon{width:58px!important}
.gc-profile-view{display:flex;flex-direction:column;min-height:100%;background:transparent!important}.gc-profile-scroll{padding:15px 13px 25px;overflow:auto;min-height:0}.gc-profile-card{display:flex;align-items:center;gap:14px;padding:19px;border:1px solid rgba(70,221,255,.25);border-radius:18px;background:radial-gradient(circle at 15% 20%,rgba(51,205,255,.2),transparent 45%),linear-gradient(135deg,#142b50,#211b48);color:#fff}.gc-profile-avatar{width:62px;height:62px;display:grid;place-items:center;border-radius:19px;background:linear-gradient(145deg,#41d9ff,#8060ff);font-size:27px;box-shadow:0 0 24px #3abfff66}.gc-profile-card small{font-size:9px;letter-spacing:.17em;color:#7deaff;font-weight:900}.gc-profile-card h3{font-size:19px;margin:4px 0}.gc-profile-card span{font-size:10px;color:#b6c6e4}.gc-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0}.gc-stat-grid article{padding:15px;border:1px solid rgba(102,165,231,.18);border-radius:14px;background:linear-gradient(145deg,#14213d,#11182f);display:flex;flex-direction:column;gap:7px}.gc-stat-grid small{font-size:10px;color:#a8b9d8}.gc-stat-grid strong{font-size:25px;color:#fff;text-shadow:0 0 14px #4bbcff66}.gc-profile-note{display:flex;gap:9px;padding:12px;border:1px solid rgba(105,188,255,.15);border-radius:12px;color:#aebcda;font-size:10px;line-height:1.6;margin-bottom:12px}.gc-profile-note i{color:#70eaff;font-size:15px}
.gc-element-arena{position:relative}.gc-element-rule-strip{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin:0 0 15px}.gc-element-rule-strip span{padding:6px 9px;border:1px solid rgba(106,220,255,.2);border-radius:30px;background:#142744;color:#9deeff;font-size:8px;font-weight:900;letter-spacing:.1em}.gc-element-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.gc-element-card{position:relative;min-height:145px;padding:15px 10px 13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:17px;background:#14203b;color:#fff;cursor:pointer;transition:transform .22s,border-color .22s,box-shadow .22s,filter .22s}.gc-element-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 0%,var(--glow),transparent 65%);opacity:.6;pointer-events:none}.gc-element-card:after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 22px var(--glow);opacity:.25;pointer-events:none}.gc-element-card>*{position:relative;z-index:1}.gc-element-card i{font-size:35px;filter:drop-shadow(0 0 13px currentColor);transition:transform .25s}.gc-element-card b{font-size:13px;letter-spacing:.12em}.gc-element-card small{font-size:9px;color:#c1cde0}.gc-element-card-index{position:absolute!important;top:9px;left:11px;font-size:8px;color:#ffffff77}.gc-element-card.fire{--glow:#ff763d;color:#ffb18b;background:linear-gradient(145deg,#492039,#21172f)}.gc-element-card.water{--glow:#36cfff;color:#85e7ff;background:linear-gradient(145deg,#123d60,#171e3d)}.gc-element-card.leaf{--glow:#52e58b;color:#9bffb8;background:linear-gradient(145deg,#174b3c,#142b35)}.gc-element-card.lightning{--glow:#b58aff;color:#d3b4ff;background:linear-gradient(145deg,#38245f,#1c1c43)}.gc-element-card.earth{--glow:#e0b35c;color:#f5d38a;background:linear-gradient(145deg,#4b3825,#28233b)}.gc-element-card:not(:disabled):hover,.gc-element-card:not(:disabled):focus-visible{transform:translateY(-4px) scale(1.025);border-color:var(--glow);box-shadow:0 0 23px color-mix(in srgb,var(--glow) 55%,transparent),inset 0 0 22px color-mix(in srgb,var(--glow) 18%,transparent);outline:none}.gc-element-card:not(:disabled):active{transform:scale(.96)}.gc-element-card.selected{border-color:#fff;box-shadow:0 0 0 2px var(--glow),0 0 28px var(--glow);filter:brightness(1.28)}.gc-element-card.locked{opacity:.78}.gc-element-card:disabled:not(.selected){cursor:default;filter:saturate(.7)}
.gc-element-arena-status{display:flex;align-items:center;gap:9px;min-height:44px;padding:11px 13px;margin:14px 0 10px;border:1px solid rgba(91,211,255,.18);border-radius:12px;background:rgba(15,32,58,.8);color:#a9eaff;font-size:11px}.gc-element-arena-status i{color:#7aeaff}.gc-element-arena-actions{display:grid;gap:8px}.gc-element-versus-board{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:13px 0;padding:14px;border:1px solid rgba(99,201,255,.18);border-radius:14px;background:rgba(13,25,48,.85);color:#fff;text-align:center}.gc-element-versus-board>div{display:flex;flex-direction:column;gap:5px;min-width:0}.gc-element-versus-board small{font-size:8px;color:#8ceaff;letter-spacing:.12em}.gc-element-versus-board b{font-size:10px;overflow:hidden;text-overflow:ellipsis}.gc-element-versus-board strong{font-size:28px;color:#b7eaff}.gc-element-versus-board>span{font-size:11px;color:#ffcb79;font-weight:900}.gc-element-footnote{font-size:9px;line-height:1.6;color:#8fa2c7;margin:13px 2px}.gc-element-modal{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:15px;background:rgba(3,7,19,.78);backdrop-filter:blur(9px);border-radius:16px;animation:gcModalIn .2s ease}.gc-element-modal-card{width:min(100%,340px);padding:23px 19px;border:1px solid rgba(98,224,255,.35);border-radius:20px;background:radial-gradient(circle at 50% 0%,rgba(69,190,255,.2),transparent 50%),linear-gradient(145deg,#17294b,#171735);text-align:center;box-shadow:0 18px 55px #0009,0 0 28px #4bcfff22;color:#fff}.gc-element-modal-card>small{display:block;margin:10px 0 5px;color:#7ceaff;font-size:8px;letter-spacing:.16em;font-weight:900}.gc-element-modal-card h3{font-size:21px;margin:5px 0 8px}.gc-element-modal-card p{font-size:11px;line-height:1.6;color:#b7c5df;margin:0 0 15px}.gc-element-modal-icon{width:55px;height:55px;margin:auto;display:grid;place-items:center;border-radius:17px;background:#193b61;color:#80eaff;font-size:23px;box-shadow:0 0 22px #48cfff44}.gc-element-modal-icon.success{background:#174c3b;color:#8dffb8}.gc-element-modal-icon.error{background:#55283e;color:#ff9caa}@keyframes gcModalIn{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@media(max-width:420px){.gc-element-card-grid{gap:8px}.gc-element-card{min-height:128px}.gc-element-card i{font-size:30px}.gc-top-actions .duel-nav-icon{width:49px!important}.gc-profile-card{padding:14px}.gc-stat-grid article{padding:12px}}
.gyomusic-now-cover.loading:after{content:"";position:absolute;width:18px;height:18px;border:2px solid rgba(255,255,255,.25);border-top-color:#1ed760;border-radius:50%;animation:gyomusicSpin .7s linear infinite}.gyomusic-now-cover{position:relative}.gyomusic-now-cover.loading img{opacity:.5}@keyframes gyomusicSpin{to{transform:rotate(360deg)}}

/* Build 170 · Game Center season layout */
.gc-home-tools{display:flex;align-items:center;gap:10px;margin:2px 0 14px;flex-wrap:wrap}
.gc-game-search{display:flex;align-items:center;gap:10px;flex:1 1 190px;min-width:0;padding:12px 14px;border:1px solid rgba(130,145,255,.25);border-radius:15px;background:linear-gradient(120deg,rgba(28,34,66,.96),rgba(16,20,39,.96));color:#aebcff}
.gc-game-search input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:var(--text);font:inherit}
.gc-home-nav{display:flex;gap:7px}.gc-home-nav .duel-nav-icon{min-width:58px;border:1px solid rgba(130,145,255,.2);border-radius:13px;background:rgba(28,34,66,.8);padding:8px 10px}
.game-center-grid{display:flex!important;flex-direction:column!important;gap:12px!important}
.gc-game-card{width:100%!important;min-height:104px!important;display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;align-items:center!important;text-align:left!important;border-radius:18px!important;overflow:hidden!important;position:relative!important;isolation:isolate!important;transition:transform .22s,box-shadow .22s,border-color .22s!important}
.gc-game-card:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.7;background:radial-gradient(circle at 85% 10%,rgba(255,255,255,.18),transparent 40%)}
.gc-game-card:active{transform:scale(.985)!important;filter:brightness(1.18)}
.gc-game-art{width:58px!important;height:58px!important;margin:auto!important;border-radius:17px!important;display:grid!important;place-items:center!important;font-size:25px!important;background:rgba(255,255,255,.13)!important;box-shadow:0 0 24px currentColor!important}
.gc-game-info{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important}.gc-game-info b{font-size:16px!important;letter-spacing:.02em!important}.gc-game-info small{opacity:.82!important}.gc-game-info em{font-size:9px!important;font-style:normal!important;letter-spacing:.14em!important;font-weight:900!important;padding:4px 8px!important;border-radius:999px!important;background:rgba(255,255,255,.14)!important}
.gc-game-duel{background:linear-gradient(110deg,#1c2c68,#273d92 58%,#121d46)!important;border:1px solid #617cff!important;box-shadow:0 8px 24px rgba(64,92,255,.16)!important;color:#dce4ff!important}
.gc-game-element{background:linear-gradient(110deg,#55204e,#9b3159 55%,#351b4d)!important;border:1px solid #e65d9a!important;color:#ffe3f0!important;box-shadow:0 8px 24px rgba(225,54,129,.15)!important}
.gc-game-maze{background:linear-gradient(110deg,#123c4b,#146a73 58%,#123345)!important;border:1px solid #41d4d0!important;color:#d9ffff!important}.gc-game-memory{background:linear-gradient(110deg,#3b285f,#62439a 58%,#271e51)!important;border:1px solid #aa85ff!important;color:#eee4ff!important}
.duel-lobby-content{padding:12px 0 22px;max-width:760px;margin:auto}.duel-lobby-content .number-duel-card{margin:0!important}.duel-subnav{position:sticky;top:0;z-index:4;backdrop-filter:blur(16px)}.duel-leaderboard-head{flex-wrap:wrap!important}
.gc-rank-info-row{display:flex;align-items:center;gap:12px;padding:10px 12px;border-bottom:1px solid var(--line)}.gc-rank-info-row b{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(130,145,255,.16)}.gc-rank-info-row span{display:grid;gap:2px}.gc-rank-info-row small{color:var(--muted)}
.gc-profile-view,.duel-leaderboard-view,.duel-lobby-view,.duel-game-view,.gc-prototype-view{min-height:100%}.duel-board-scroll,.gc-profile-scroll,.gc-prototype-scroll{overflow:auto;max-height:calc(100% - 52px);overscroll-behavior:contain}
.gyomusic-track.is-playing .gyomusic-track-action{color:#1ed760!important;background:rgba(30,215,96,.12)!important}.gyomusic-track.is-playing .gyomusic-track-info strong{color:#1ed760!important}.gyomusic-track-action{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.08);transition:transform .18s,background .18s}.gyomusic-track:active .gyomusic-track-action{transform:scale(.9)}
@media(max-width:520px){.gc-home-tools{align-items:stretch}.gc-game-card{min-height:92px!important;grid-template-columns:66px minmax(0,1fr)!important}.gc-game-art{width:50px!important;height:50px!important}.gc-home-nav .duel-nav-icon{min-width:52px}.duel-lobby-content{padding-top:8px}}

.gc-profile-rank{display:inline-flex!important;align-items:center!important;margin-top:8px!important;padding:5px 11px!important;border-radius:999px!important;border:1px solid rgba(159,132,255,.55)!important;background:linear-gradient(100deg,rgba(102,76,188,.3),rgba(30,42,92,.35))!important;color:#e7dcff!important;font-size:10px!important;letter-spacing:.16em!important;width:max-content!important}
#gyoPopupMessage{white-space:pre-line}

/* Build 171 */
.duel-menu-view{position:relative}.gc-home-tools{position:sticky!important;top:0!important;z-index:12!important;padding:9px 8px!important;margin:0 -4px 12px!important;background:rgba(10,14,28,.94)!important;backdrop-filter:blur(18px)!important;border:1px solid rgba(144,160,255,.16)!important;border-radius:16px!important;box-shadow:0 10px 26px rgba(0,0,0,.28)!important}.gc-game-search{flex:1 1 190px;min-width:0}.gc-game-search input{width:100%;min-width:0}.gc-profile-rank.rank-emblem{gap:8px!important}.gc-profile-rank.rank-diamond,.gc-profile-rank.rank-master{position:relative;isolation:isolate;overflow:visible!important;box-shadow:0 0 18px rgba(110,210,255,.28),inset 0 0 16px rgba(255,255,255,.1)!important}.gc-profile-rank.rank-diamond:after,.gc-profile-rank.rank-master:after{content:"✦  ·  ✧  ·  ✦";position:absolute;left:50%;top:-16px;transform:translateX(-50%);font-size:9px;letter-spacing:5px;white-space:nowrap;color:#a9eaff;animation:rankSparkle 2.4s ease-in-out infinite;text-shadow:0 0 8px currentColor}.gc-profile-rank.rank-master:after{color:#ffd77a;text-shadow:0 0 10px #ffb83d}.rank-diamond .gc-profile-avatar,.rank-master .gc-profile-avatar{filter:drop-shadow(0 0 12px rgba(120,210,255,.5))}@keyframes rankSparkle{0%,100%{opacity:.35;transform:translateX(-50%) translateY(2px)}50%{opacity:1;transform:translateX(-50%) translateY(-3px)}}.recent-card[data-resume-app]{cursor:pointer}.recent-card[data-resume-app]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* BUILD 172 — online skill arenas and refreshed Game Center hero */
.gc-home-tools{position:sticky!important;top:0;z-index:30;padding:10px 2px 12px!important;background:linear-gradient(180deg,var(--surface,#111827) 78%,transparent)!important;backdrop-filter:blur(16px)}
.duel-menu-view>.card:first-of-type{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.duel-mode-row{letter-spacing:.1em}
.game-center-grid{display:flex!important;flex-direction:column!important;gap:13px!important}
.gc-game-card{position:relative!important;display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;min-height:112px!important;overflow:hidden!important;border-radius:19px!important;border:1px solid rgba(159,174,255,.2)!important;background:linear-gradient(115deg,rgba(40,54,100,.92),rgba(12,17,35,.98))!important;box-shadow:0 12px 28px rgba(0,0,0,.18)!important;text-align:left!important}
.gc-game-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 50%,var(--gc-glow,rgba(104,120,255,.3)),transparent 48%);pointer-events:none}
.gc-game-card .gc-game-art{height:100%!important;min-height:110px!important;display:grid!important;place-items:center!important;background:linear-gradient(145deg,rgba(120,130,255,.25),rgba(30,40,80,.2))!important}
.gc-game-card .gc-game-art i{font-size:38px!important;filter:drop-shadow(0 0 15px var(--gc-glow,#8294ff))}
.gc-game-info{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:6px!important;padding:13px!important}
.gc-game-info b{font-size:16px!important;letter-spacing:.02em}.gc-game-info small{font-size:11px!important;color:#b7c2e1!important}.gc-game-info em{font-size:9px!important;font-style:normal!important;letter-spacing:.14em!important;color:#9fe9ff!important;font-weight:900!important}
.gc-game-duel{--gc-glow:rgba(74,170,255,.5)}.gc-game-element{--gc-glow:rgba(255,120,73,.5)}.gc-game-maze{--gc-glow:rgba(78,231,185,.45)}.gc-game-memory{--gc-glow:rgba(186,112,255,.5)}
.gc-skill-arena{padding:14px;border:1px solid rgba(131,154,255,.24);border-radius:22px;background:radial-gradient(circle at 50% 0,rgba(105,115,255,.2),transparent 48%),linear-gradient(145deg,#151d3b,#090f21);color:#f5f7ff;min-height:100%}
.gc-skill-vs{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;padding:14px;border:1px solid rgba(151,165,255,.2);border-radius:16px;background:rgba(255,255,255,.035);text-align:center}.gc-skill-vs div{display:grid;gap:4px;min-width:0}.gc-skill-vs small{font-size:9px;letter-spacing:.16em;color:#9aa8d1}.gc-skill-vs b{font-size:13px;overflow-wrap:anywhere}.gc-skill-vs>strong{color:#8ea1ff;font-size:13px}
.gc-skill-status{margin:13px 0;padding:11px 13px;border-radius:12px;background:rgba(104,129,255,.12);color:#cbd6ff;text-align:center;font-size:12px;min-height:42px;display:grid;place-items:center}
.gc-skill-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;max-width:390px;margin:14px auto}.gc-skill-grid button{aspect-ratio:1;border-radius:11px;border:1px solid rgba(135,164,255,.24);background:linear-gradient(145deg,#26365e,#141e3a);color:#fff;font-size:19px;transition:transform .15s,box-shadow .15s,background .15s}.gc-skill-grid button.wall{background:linear-gradient(145deg,#343a55,#20263c);border-color:#424c6d;box-shadow:inset 0 0 12px rgba(0,0,0,.3)}.gc-skill-grid button.player,.gc-skill-grid button.lit{background:linear-gradient(145deg,#8d7bff,#37c8ff);box-shadow:0 0 18px rgba(83,176,255,.65);transform:scale(1.04)}.gc-skill-grid button.exit{border-color:#52e9b3;color:#6bffc9;box-shadow:0 0 16px rgba(82,233,179,.25)}.gc-skill-grid button:disabled{opacity:.8}
.gc-skill-memory{max-width:310px;grid-template-columns:repeat(3,minmax(0,1fr))}.gc-skill-memory button{aspect-ratio:1.15}.gc-skill-controls{display:flex;justify-content:center;gap:8px}.gc-skill-controls button{width:46px;height:42px;border-radius:12px;background:#27355d;color:white;border:1px solid rgba(142,163,255,.35);font-size:18px}.gc-skill-progress{display:block;text-align:center;color:#b9c7ec;margin:12px}.gc-skill-foot{font-size:10px;line-height:1.6;color:#8898bf;text-align:center;margin-top:14px}
.gc-skill-actions{display:grid;gap:8px;margin-top:14px}
@media(max-width:480px){.gc-game-card{grid-template-columns:82px minmax(0,1fr)!important;min-height:98px!important}.gc-game-card .gc-game-art{min-height:98px!important}.gc-game-card .gc-game-art i{font-size:30px!important}.gc-game-info b{font-size:14px!important}.gc-skill-arena{padding:10px}.gc-skill-grid{gap:5px}}
.gc-rank-guide-overlay{position:absolute;inset:0;z-index:80;display:grid;place-items:center;padding:12px;background:rgba(3,6,18,.82);backdrop-filter:blur(12px)}.gc-rank-guide{width:min(100%,560px);max-height:94%;overflow:auto;border:1px solid rgba(151,166,255,.25);border-radius:22px;padding:16px;background:linear-gradient(150deg,#202747,#10172b);color:#f6f7ff;box-shadow:0 22px 70px #0009}.gc-rank-guide header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.gc-rank-guide header small{font-size:9px;letter-spacing:.18em;color:#9caeff}.gc-rank-guide h3{font-size:20px;margin:5px 0}.gc-rank-guide p,.gc-rank-guide footer{font-size:11px;line-height:1.6;color:#b4bfdc}.gc-rank-guide header button{width:34px;height:34px;border-radius:50%;border:1px solid #ffffff22;background:#ffffff0d;color:#fff}.gc-rank-cards{display:grid;gap:9px}.gc-rank-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #ffffff17;border-radius:15px;background:#ffffff08}.gc-rank-card.current{border-color:#a99aff;box-shadow:0 0 20px #8d7bff30}.gc-rank-emblem{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#8e83ff,#4a4e9d);color:#fff;font-size:20px;box-shadow:0 5px 16px #0004}.gc-rank-card.diamond .gc-rank-emblem,.gc-rank-card.master .gc-rank-emblem{animation:gcRankGlow 2.4s ease-in-out infinite;box-shadow:0 0 18px #8deeff66}.gc-rank-card.master .gc-rank-emblem{background:linear-gradient(145deg,#ffdf86,#a86dff)}.gc-rank-main{min-width:0;display:grid;gap:3px}.gc-rank-main b{font-size:13px}.gc-rank-main small,.gc-rank-reward small{font-size:9px;color:#aebada}.gc-rank-progress{height:5px;background:#ffffff17;border-radius:9px;overflow:hidden}.gc-rank-progress span{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#7b8cff,#63e5ff)}.gc-rank-reward{display:grid;justify-items:end;gap:2px;color:#ffe1a2}.gc-rank-reward b{font-size:11px}.gc-rank-guide footer{padding-top:12px}@keyframes gcRankGlow{50%{filter:brightness(1.35);transform:translateY(-2px);box-shadow:0 0 24px #8deeffa0}}

/* BUILD 174 — Game Center mobile navigation: readable segmented multiview */
.gc-home-tools{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:9px!important}
.gc-home-tools .gc-game-search{flex:1 1 100%!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
.gc-home-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;flex:1 1 100%!important;width:100%!important;min-width:0!important}
.gc-home-nav .duel-nav-icon{width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;min-height:42px!important;flex:1 1 0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:7px 10px!important;border-radius:12px!important;white-space:nowrap!important;overflow:hidden!important}
.gc-home-nav .duel-nav-icon i{flex:0 0 auto!important;font-size:14px!important;line-height:1!important}
.gc-home-nav .duel-nav-icon small{display:inline!important;flex:0 1 auto!important;font-size:11px!important;line-height:1!important;letter-spacing:.02em!important;white-space:nowrap!important;overflow:visible!important;word-break:normal!important;overflow-wrap:normal!important}
.gc-home-nav .duel-nav-icon:active{transform:scale(.985);filter:brightness(1.2)}
@media(min-width:600px){.gc-home-tools{flex-wrap:nowrap!important}.gc-home-tools .gc-game-search{flex:1 1 auto!important;width:auto!important}.gc-home-nav{flex:0 0 210px!important;width:210px!important}}


/* BUILD183 · Game Center unified matchmaking and visual refresh */
.gc-match-title{padding:22px 14px 18px!important;margin:0 0 10px!important;border:1px solid rgba(128,158,255,.18);border-radius:22px;background:radial-gradient(ellipse at 50% -30%,rgba(105,133,255,.30),transparent 68%),linear-gradient(145deg,rgba(21,35,70,.92),rgba(10,16,34,.96));box-shadow:inset 0 1px rgba(255,255,255,.08),0 12px 28px rgba(0,0,0,.18)}
.gc-match-title>span{font-size:9px!important;letter-spacing:.22em!important;color:#91eaff!important}
.gc-match-title h3{font-size:clamp(21px,4vw,28px)!important;letter-spacing:.035em;text-shadow:0 4px 20px rgba(100,150,255,.25)}
.gc-match-title p{max-width:430px;margin:7px auto 0!important;font-size:12px!important;color:#b8c7e5!important}
.gc-matchmaking-card{position:relative;display:grid;gap:14px;padding:18px;border:1px solid rgba(130,157,255,.25);border-radius:22px;background:radial-gradient(ellipse at 50% 0,rgba(87,108,220,.17),transparent 55%),linear-gradient(145deg,rgba(22,31,62,.98),rgba(10,15,32,.98));box-shadow:0 16px 36px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.06);overflow:hidden}
.gc-matchmaking-card:after{content:"";position:absolute;inset:-50% -20%;pointer-events:none;opacity:0;background:linear-gradient(110deg,transparent 38%,rgba(135,222,255,.11) 48%,rgba(255,255,255,.22) 50%,rgba(145,135,255,.12) 53%,transparent 64%);transform:translateX(-65%) rotate(8deg)}
.gc-matchmaking-card:has(.gc-match-search-clock.is-searching):after{opacity:1;animation:gcMatchShimmer 2.2s linear infinite}
.gc-match-search-clock{position:relative;z-index:1;display:grid;justify-items:center;gap:3px;width:max-content;min-width:150px;margin:0 auto 2px;padding:10px 24px 9px;border:1px solid rgba(112,224,255,.4);border-radius:18px;background:radial-gradient(circle,rgba(74,166,255,.22),rgba(46,48,104,.4));color:#b8f3ff;box-shadow:0 0 18px rgba(79,190,255,.18),inset 0 0 18px rgba(120,150,255,.12);font-variant-numeric:tabular-nums}
.gc-match-search-clock i{font-size:16px;filter:drop-shadow(0 0 8px #6be7ff)}
.gc-match-search-clock strong{font-size:26px;line-height:1.15;letter-spacing:.08em;color:#fff;text-shadow:0 0 15px rgba(100,213,255,.8)}
.gc-match-search-clock small{font-size:8px;letter-spacing:.22em;font-weight:900;color:#8eeaff}
.gc-match-search-clock.is-searching{animation:gcSearchGlow 1.45s ease-in-out infinite}
.gc-match-search-clock.is-searching i{animation:gcSearchSatellite 1.1s ease-in-out infinite}
@keyframes gcMatchShimmer{0%{transform:translateX(-65%) rotate(8deg)}100%{transform:translateX(65%) rotate(8deg)}}
@keyframes gcSearchGlow{0%,100%{box-shadow:0 0 12px rgba(79,190,255,.18),inset 0 0 12px rgba(120,150,255,.08)}50%{box-shadow:0 0 28px rgba(79,190,255,.48),0 0 48px rgba(123,103,255,.2),inset 0 0 20px rgba(120,150,255,.2)}}
@keyframes gcSearchSatellite{0%,100%{transform:scale(.9) rotate(-8deg);opacity:.8}50%{transform:scale(1.2) rotate(8deg);opacity:1}}
.gc-matchmaking-card .gc-skill-vs{position:relative;z-index:1;min-height:82px;padding:16px;border-radius:17px;background:linear-gradient(120deg,rgba(255,255,255,.055),rgba(120,140,255,.09));border-color:rgba(157,174,255,.22)}
.gc-matchmaking-card .gc-skill-vs>strong{font-size:17px;color:#9daeff;text-shadow:0 0 12px rgba(127,147,255,.45)}
.gc-matchmaking-card .gc-skill-vs small{font-size:9px;letter-spacing:.2em}
.gc-matchmaking-card .gc-skill-vs b{font-size:14px}
.gc-matchmaking-card .gc-skill-status,.gc-matchmaking-card .gc-element-arena-status{position:relative;z-index:1;margin:0;min-height:52px;border:1px solid rgba(133,151,255,.12);background:rgba(93,112,201,.12);border-radius:14px;font-size:12px}
.gc-matchmaking-card .gc-element-arena-actions,.gc-matchmaking-card .gc-skill-actions{position:relative;z-index:1;display:grid;gap:9px}
.gc-matchmaking-card .primary-btn{min-height:52px;border-radius:15px;font-weight:800;letter-spacing:.01em;box-shadow:0 8px 22px rgba(80,104,225,.24)}
.gc-matchmaking-card .secondary-btn{min-height:44px;border-radius:13px}
.gc-element-match-board{margin-top:16px;padding:15px;border:1px solid rgba(117,217,255,.2);border-radius:20px;background:linear-gradient(145deg,rgba(17,32,58,.9),rgba(10,17,34,.96));animation:gcModalIn .25s ease}
.gc-element-match-board .gc-element-card-grid{margin-top:8px}
.gc-skill-arena{display:grid;gap:10px}
.gc-skill-arena .gc-skill-foot{margin:4px 4px 0;text-align:center}
.gc-skill-arena .gc-skill-timer{width:max-content;min-width:118px;margin:0 auto;padding:9px 22px;border-radius:30px;border:1px solid rgba(112,224,255,.28);background:rgba(40,58,111,.48);font-size:25px;font-weight:900;color:#f2f5ff;text-align:center;font-variant-numeric:tabular-nums}
.gc-skill-arena .gc-skill-timer.is-urgent{color:#ff9cae;border-color:rgba(255,112,140,.5);box-shadow:0 0 20px rgba(255,80,120,.18)}
/* Main Game Center dashboard */
.duel-menu-view{padding:4px 2px 18px!important}
.duel-menu-view .gc-home-tools{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:12px!important;margin:0 0 13px!important;border:1px solid rgba(136,158,255,.16)!important;border-radius:19px!important;background:linear-gradient(120deg,rgba(23,34,67,.92),rgba(13,20,41,.96))!important;box-shadow:0 10px 24px rgba(0,0,0,.15)!important}
.duel-menu-view .gc-game-search{min-height:44px!important;border-radius:13px!important;background:rgba(3,9,23,.42)!important;border:1px solid rgba(143,165,255,.17)!important}
.duel-menu-view .gc-home-nav{gap:7px!important}
.duel-menu-view .gc-home-nav .duel-nav-icon{width:55px!important;min-width:55px!important;height:48px!important;border-radius:13px!important;background:linear-gradient(145deg,rgba(73,92,167,.28),rgba(26,37,73,.65))!important;border:1px solid rgba(144,166,255,.2)!important}
.duel-menu-view .gc-home-nav .duel-nav-icon i{font-size:17px!important;color:#a8dfff!important}
.duel-menu-view .gc-home-nav .duel-nav-icon small{font-size:8px!important}
.duel-menu-view>.card:first-of-type{padding:15px!important;border:1px solid rgba(139,160,255,.2)!important;border-radius:21px!important;background:radial-gradient(ellipse at 50% 0,rgba(88,117,230,.16),transparent 56%),linear-gradient(145deg,#131e3b,#0b1227)!important;box-shadow:0 14px 30px rgba(0,0,0,.2)!important}
.duel-menu-view .duel-mode-row{margin-bottom:13px!important;color:#c8d8ff!important;font-size:10px!important;letter-spacing:.12em!important}
.duel-menu-view .game-center-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
.duel-menu-view .gc-game-card{min-height:154px!important;grid-template-columns:1fr!important;grid-template-rows:76px auto!important;border-radius:17px!important;background:linear-gradient(145deg,rgba(30,46,86,.98),rgba(12,19,39,.98))!important;border:1px solid rgba(151,173,255,.22)!important;box-shadow:0 10px 24px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.05)!important}
.duel-menu-view .gc-game-card:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.06),transparent 75%)}
.duel-menu-view .gc-game-card .gc-game-art{width:auto!important;min-height:0!important;height:76px!important;background:radial-gradient(circle at 50% 50%,var(--gc-glow,rgba(126,151,255,.4)),transparent 66%)!important}
.duel-menu-view .gc-game-card .gc-game-art i{font-size:34px!important;filter:drop-shadow(0 0 13px var(--gc-glow,#8294ff))}
.duel-menu-view .gc-game-duel{--gc-glow:rgba(99,170,255,.7)}.duel-menu-view .gc-game-element{--gc-glow:rgba(255,133,91,.65)}.duel-menu-view .gc-game-maze{--gc-glow:rgba(105,232,187,.62)}.duel-menu-view .gc-game-memory{--gc-glow:rgba(177,133,255,.68)}
.duel-menu-view .gc-game-info{display:grid!important;gap:4px!important;padding:0 10px 11px!important;text-align:center!important}
.duel-menu-view .gc-game-info b{font-size:13px!important;font-weight:900!important;letter-spacing:.015em}
.duel-menu-view .gc-game-info small{font-size:9px!important;color:#aebfe0!important;line-height:1.35!important}
.duel-menu-view .gc-game-info em{margin-top:3px!important;font-size:8px!important;letter-spacing:.12em!important;color:#91eaff!important;font-style:normal!important;font-weight:900!important}
.duel-menu-view .number-duel-card{padding:14px!important;border:1px solid rgba(130,158,255,.18)!important;border-radius:19px!important;background:linear-gradient(145deg,rgba(17,29,57,.95),rgba(10,16,32,.98))!important}
.duel-menu-view .duel-search-visual{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:7px!important;min-height:128px!important;padding:17px 14px!important;text-align:center!important;border-radius:17px!important;overflow:hidden!important}
.duel-menu-view .duel-search-visual>div{flex:0 1 auto!important;align-items:center!important}
.duel-menu-view .duel-countdown{order:-1!important;position:relative!important;display:block!important;margin:0 auto 3px!important;padding:7px 19px!important;border-radius:30px!important;border:1px solid rgba(112,224,255,.32)!important;background:rgba(38,57,111,.62)!important;color:#fff!important;font-size:23px!important;font-weight:900!important;letter-spacing:.08em!important}
.duel-menu-view .duel-search-visual.searching .duel-countdown{animation:gcSearchGlow 1.45s ease-in-out infinite}
.duel-menu-view .number-duel-card .duel-actions .primary-btn{min-height:49px;border-radius:14px}
/* Leaderboard podium and consistent trophy icon */
.duel-leaderboard{padding:16px!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(19,29,57,.98),rgba(9,15,31,.98))!important;border:1px solid rgba(139,160,255,.2)!important}
.duel-leaderboard-head{padding-bottom:12px!important;border-bottom:1px solid rgba(143,163,255,.14)!important;margin-bottom:8px!important}
.duel-rank-row{min-height:66px!important;padding:12px 9px!important;border-bottom:1px solid rgba(151,168,255,.09)!important;border-radius:12px!important;grid-template-columns:42px minmax(0,1fr) auto!important}
.duel-rank-number{display:grid!important;justify-items:center!important;gap:3px!important;font-size:10px!important;color:#aebbe0!important}
.duel-rank-number i{font-size:17px!important;color:#9daeff!important}
.duel-rank-row.podium-1{margin:7px 0!important;padding:15px 10px!important;background:linear-gradient(100deg,rgba(255,203,104,.17),rgba(255,203,104,.035))!important;border:1px solid rgba(255,210,117,.28)!important}
.duel-rank-row.podium-1 .duel-rank-number i{font-size:23px!important;color:#ffd36e!important;filter:drop-shadow(0 0 9px rgba(255,202,94,.6))}
.duel-rank-row.podium-2{background:linear-gradient(100deg,rgba(187,205,232,.1),transparent)!important}
.duel-rank-row.podium-2 .duel-rank-number i{color:#d2e0f5!important}
.duel-rank-row.podium-3{background:linear-gradient(100deg,rgba(205,143,96,.1),transparent)!important}
.duel-rank-row.podium-3 .duel-rank-number i{color:#dfa77e!important}
.duel-rank-player strong{font-size:12px!important;color:#f0f4ff!important}
.duel-rank-player small{font-size:9px!important;color:#9eafd2!important}
.duel-rank-score{font-size:15px!important;color:#ffda88!important;white-space:nowrap!important}
.duel-rank-score small{font-size:8px!important;letter-spacing:.12em}
@media(max-width:520px){.duel-menu-view .gc-home-tools{grid-template-columns:minmax(0,1fr) auto!important;padding:9px!important}.duel-menu-view .gc-home-nav .duel-nav-icon{width:48px!important;min-width:48px!important}.duel-menu-view .gc-game-card{min-height:145px!important;grid-template-rows:68px auto!important}.duel-menu-view .gc-game-card .gc-game-art{height:68px!important}.gc-matchmaking-card{padding:13px!important}.gc-match-search-clock{min-width:140px}.gc-element-card{min-height:125px!important}}
@media(max-width:360px){.duel-menu-view .gc-game-info b{font-size:11px!important}.duel-menu-view .gc-game-info small{font-size:8px!important}.duel-menu-view .gc-home-nav .duel-nav-icon{width:43px!important;min-width:43px!important}.gc-matchmaking-card .gc-skill-vs{padding:12px 8px!important}}

.duel-lobby-view .number-duel-card{max-width:680px;margin:12px auto!important;padding:14px!important;border:1px solid rgba(135,158,255,.2)!important;border-radius:22px!important;background:linear-gradient(145deg,rgba(17,29,57,.96),rgba(9,15,31,.98))!important}
.duel-lobby-view .number-duel-card>.duel-mode-row{margin-bottom:12px!important}
.duel-lobby-view .gc-matchmaking-card{padding:14px!important}
.duel-lobby-view .duel-search-visual{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:104px!important;padding:8px!important;border:0!important;background:transparent!important;text-align:center!important}
.duel-lobby-view .duel-search-visual>div{display:flex!important;align-items:center!important;flex:0 1 auto!important}
.duel-lobby-view .duel-search-visual .duel-radar{width:36px!important;height:36px!important}
.duel-lobby-view .duel-search-visual .duel-countdown{order:-1!important;display:block!important;position:relative!important;margin:0 auto 4px!important;padding:7px 19px!important;border:1px solid rgba(112,224,255,.32)!important;border-radius:30px!important;background:rgba(38,57,111,.62)!important;color:#fff!important;font-size:24px!important;font-weight:900!important}
.duel-lobby-view .duel-search-visual.searching .duel-countdown{animation:gcSearchGlow 1.45s ease-in-out infinite}
.duel-lobby-view .duel-trophy-strip{margin:0!important}
.duel-lobby-view .duel-status{margin:0!important;text-align:center!important}


/* Build194 — Element Clash advantage labels */
.gc-element-advantage{display:flex;flex-direction:column;gap:3px;margin-top:9px;padding:7px 9px;border:1px solid rgba(255,255,255,.16);border-radius:9px;background:rgba(5,10,20,.24);width:100%;box-sizing:border-box}
.gc-element-advantage strong{font-size:9px;letter-spacing:.11em;font-weight:900;opacity:.9}
.gc-element-advantage small{font-size:11px;font-weight:800;line-height:1.25;opacity:1}
.gc-element-card{min-width:0}

/* Build195: profile layout follows the Cloud Phone app viewport, not the outer desktop width. */
.gc-profile-scroll{container-type:inline-size;min-width:0;overflow-x:hidden!important}
.gc-profile-moba-card{display:grid!important;grid-template-columns:minmax(76px,104px) minmax(0,1fr)!important;grid-template-areas:"avatar identity" "trophy trophy" "season season";gap:12px!important;width:100%;max-width:100%;box-sizing:border-box;align-items:center!important}
.gc-profile-moba-card .gc-profile-avatar{grid-area:avatar;width:100%;max-width:104px;aspect-ratio:1;height:auto;min-width:0}
.gc-profile-moba-card .gc-profile-identity{grid-area:identity;min-width:0;max-width:100%;overflow-wrap:anywhere}
.gc-profile-moba-card .gc-profile-trophy-box{grid-area:trophy;display:flex;align-items:center;gap:10px;min-width:0}
.gc-profile-moba-card .gc-profile-season-tag{grid-area:season;min-width:0}
.gc-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%;min-width:0}
.gc-stat-grid article{min-width:0;overflow:hidden;box-sizing:border-box}
.gc-stat-grid article small{font-size:clamp(9px,2.4cqw,11px);line-height:1.35;overflow-wrap:anywhere}
.gc-stat-grid article strong{font-size:clamp(22px,7cqw,32px)!important;line-height:1.05;white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
@container (min-width:560px){.gc-profile-moba-card{grid-template-columns:minmax(110px,150px) minmax(0,1fr) minmax(90px,130px)!important;grid-template-areas:"avatar identity trophy" "season season season"}.gc-profile-moba-card .gc-profile-avatar{max-width:150px}.gc-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.gc-stat-grid article strong{font-size:clamp(20px,4cqw,30px)!important}}
/* Build195: moving light sweep on every Game Center title card. */
.duel-menu-view .gc-game-card{isolation:isolate!important;overflow:hidden!important}
.duel-menu-view .gc-game-card:after{content:"";position:absolute;inset:-45% auto -45% -65%;width:42%;transform:rotate(18deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),rgba(140,220,255,.16),transparent);pointer-events:none;z-index:3;animation:gcCardLightSweep 4.8s ease-in-out infinite}
.duel-menu-view .gc-game-card:nth-child(2n):after{animation-delay:1.4s}.duel-menu-view .gc-game-card:nth-child(3n):after{animation-delay:2.7s}
@keyframes gcCardLightSweep{0%,55%{left:-65%;opacity:0}65%{opacity:.9}100%{left:135%;opacity:0}}
@media(prefers-reduced-motion:reduce){.duel-menu-view .gc-game-card:after{animation:none!important}}
/* Build195: clearer Memory Trap and Mind Maze boards. */
.gc-skill-memory button{background:linear-gradient(145deg,#202d50,#111a32)!important;border:1px solid rgba(137,167,255,.42)!important;box-shadow:inset 0 1px rgba(255,255,255,.08),0 5px 12px rgba(0,0,0,.2)!important}
.gc-skill-memory button.lit{background:linear-gradient(145deg,#fff1a6,#68dfff 55%,#8d7bff)!important;border-color:#fff!important;box-shadow:0 0 12px #68dfff,0 0 30px #8d7bff!important}
.gc-skill-maze button.wall{background:repeating-linear-gradient(135deg,#303a56,#303a56 7px,#202940 7px,#202940 14px)!important;border:1px solid #64708f!important}
.gc-skill-maze button.player{background:linear-gradient(145deg,#8d7bff,#35dcff)!important;box-shadow:0 0 20px #35dcff!important}
.gc-skill-maze button.exit{background:linear-gradient(145deg,#0b765e,#123e3c)!important;border:2px solid #65ffd0!important;color:#caffed!important}


/* BUILD 196: profile layout follows the actual Game Center viewport, not the desktop browser width. */
.gc-profile-scroll{container-type:inline-size;min-width:0;overflow-x:hidden!important;box-sizing:border-box}
.gc-profile-moba-card{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-areas:"avatar identity" "trophy trophy" "season season";align-items:center!important;gap:12px!important;width:100%;max-width:100%;box-sizing:border-box;}
.gc-profile-moba-card .gc-profile-avatar{grid-area:avatar;width:76px!important;height:76px!important;max-width:76px!important;min-width:0;aspect-ratio:1;}
.gc-profile-moba-card .gc-profile-identity{grid-area:identity;min-width:0!important;width:100%;max-width:100%;overflow-wrap:normal!important;word-break:normal!important;}
.gc-profile-moba-card .gc-profile-identity small{display:block;line-height:1.35;letter-spacing:.12em;overflow-wrap:normal;}
.gc-profile-moba-card .gc-profile-identity h3{font-size:clamp(18px,5cqw,26px)!important;line-height:1.12;white-space:normal;overflow-wrap:anywhere;word-break:normal;margin:5px 0!important;}
.gc-profile-moba-card .gc-profile-idline{display:block;line-height:1.4;overflow-wrap:anywhere;}
.gc-profile-moba-card .gc-profile-rank{display:inline-flex!important;max-width:100%;margin-top:8px;white-space:nowrap;}
.gc-profile-moba-card .gc-profile-trophy-box{grid-area:trophy;justify-self:stretch;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;width:100%;box-sizing:border-box;}
.gc-profile-moba-card .gc-profile-season-tag{grid-area:season;min-width:0;width:100%;box-sizing:border-box;}
.gc-stat-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;width:100%;min-width:0;box-sizing:border-box;}
.gc-stat-grid article{min-width:0!important;max-width:100%;overflow:hidden;box-sizing:border-box;}
.gc-stat-grid article small{font-size:clamp(9px,2.5cqw,11px)!important;line-height:1.3;overflow-wrap:normal!important;word-break:normal!important;}
.gc-stat-grid article strong{display:block;font-size:clamp(22px,6.8cqw,34px)!important;line-height:1.05!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;font-variant-numeric:tabular-nums;}
@container (min-width:430px){.gc-profile-moba-card{grid-template-columns:minmax(90px,112px) minmax(0,1fr) minmax(92px,112px)!important;grid-template-areas:"avatar identity trophy" "season season season";gap:12px!important}.gc-profile-moba-card .gc-profile-avatar{width:100%!important;height:auto!important;max-width:112px!important}.gc-profile-moba-card .gc-profile-trophy-box{display:flex;flex-direction:column;gap:4px;justify-self:stretch;padding:12px 7px}.gc-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}.gc-stat-grid article{padding:12px 8px!important}.gc-stat-grid article strong{font-size:clamp(20px,5.3cqw,30px)!important}}
@container (max-width:360px){.gc-profile-moba-card{padding:12px!important;grid-template-columns:64px minmax(0,1fr)!important;gap:9px!important}.gc-profile-moba-card .gc-profile-avatar{width:64px!important;height:64px!important}.gc-stat-grid article{padding:10px 8px!important}}

/* BUILD 196: Number Duel matchmaking controls share the same full-width action stack as the other online arenas. */
.duel-lobby-view .duel-lobby-content{width:100%;max-width:760px;box-sizing:border-box;padding:14px 12px 24px!important;margin:0 auto!important}
.duel-lobby-view .gc-matchmaking-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:16px!important;border-radius:22px!important;border:1px solid rgba(130,157,255,.25)!important;background:radial-gradient(ellipse at 50% 0,rgba(87,108,220,.17),transparent 55%),linear-gradient(145deg,rgba(22,31,62,.98),rgba(10,15,32,.98))!important;box-shadow:0 16px 36px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.06)!important}
.duel-lobby-view .gc-matchmaking-card .duel-actions,.duel-lobby-view .gc-matchmaking-card .gc-skill-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;width:100%!important}
.duel-lobby-view .gc-matchmaking-card .duel-actions button,.duel-lobby-view .gc-matchmaking-card .gc-skill-actions button{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-width:0!important;min-height:50px!important;box-sizing:border-box;border-radius:14px!important}
.duel-lobby-view .gc-matchmaking-card .duel-actions .hidden{display:none!important}
.duel-lobby-view .gc-matchmaking-card .gc-skill-vs{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;min-height:82px;padding:16px;border-radius:17px;background:linear-gradient(120deg,rgba(255,255,255,.055),rgba(120,140,255,.09));border:1px solid rgba(157,174,255,.22)}
.duel-lobby-view .gc-matchmaking-card .gc-skill-vs>div{min-width:0;text-align:center}.duel-lobby-view .gc-matchmaking-card .gc-skill-vs b{display:block;overflow-wrap:anywhere;font-size:14px}

/* BUILD 197 — unify every online arena with Element Clash visual language. */
.gc-skill-arena-unified{width:100%;max-width:760px;margin:0 auto;padding:14px;box-sizing:border-box;border:1px solid rgba(130,157,255,.22);border-radius:24px;background:linear-gradient(145deg,rgba(20,31,62,.96),rgba(9,14,30,.98));}
.gc-skill-arena-unified .gc-proto-head{margin:0 0 14px!important;border-radius:22px!important;}
.gc-skill-arena-unified .gc-matchmaking-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;padding:18px!important;border-radius:22px!important;background:radial-gradient(ellipse at 50% 0,rgba(87,108,220,.17),transparent 55%),linear-gradient(145deg,rgba(22,31,62,.98),rgba(10,15,32,.98))!important;border:1px solid rgba(130,157,255,.25)!important;box-shadow:0 16px 36px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.06)!important;}
.gc-skill-arena-unified .gc-skill-vs{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:82px!important;padding:16px!important;border-radius:17px!important;background:linear-gradient(120deg,rgba(255,255,255,.055),rgba(120,140,255,.09))!important;border:1px solid rgba(157,174,255,.22)!important;}
.gc-skill-arena-unified .gc-skill-vs>div{min-width:0!important;text-align:center!important}.gc-skill-arena-unified .gc-skill-vs b{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:14px!important}.gc-skill-arena-unified .gc-element-arena-status{position:relative!important;z-index:1!important;display:flex!important;align-items:center!important;gap:9px!important;min-height:52px!important;margin:0!important;padding:13px 15px!important;border:1px solid rgba(133,151,255,.16)!important;border-radius:14px!important;background:rgba(93,112,201,.12)!important;color:#b7eaff!important;font-size:13px!important;line-height:1.5!important;}
.gc-skill-arena-unified .gc-element-arena-status i{flex:0 0 auto;color:#7aeaff!important}.gc-skill-arena-unified .gc-element-arena-status span{min-width:0;overflow-wrap:anywhere}
.gc-skill-arena-unified .gc-element-arena-actions{position:relative!important;z-index:1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;width:100%!important}.gc-skill-arena-unified .gc-element-arena-actions button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:52px!important;box-sizing:border-box!important;border-radius:15px!important;font-weight:800!important}.gc-skill-arena-unified .gc-element-arena-actions .hidden{display:none!important}
.gc-skill-arena-unified .gc-match-search-clock{justify-self:center!important;min-width:160px!important}.gc-skill-arena-unified .gc-skill-timer{margin:14px auto!important}.gc-skill-arena-unified .gc-skill-board{margin:14px auto!important;width:100%!important;max-width:520px!important;padding:16px!important;border:1px solid rgba(130,157,255,.22)!important;border-radius:20px!important;background:linear-gradient(145deg,rgba(22,31,62,.96),rgba(10,15,32,.98))!important;box-sizing:border-box!important}.gc-skill-arena-unified .gc-skill-foot{margin:12px 4px 2px!important;color:#91a1c4!important;font-size:11px!important;line-height:1.65!important}
/* Number Duel navigation: keep the back control and title on one stable line. */
.duel-lobby-view .duel-subnav{display:grid!important;grid-template-columns:minmax(104px,auto) minmax(0,1fr)!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;min-height:62px!important;}
.duel-lobby-view .duel-subnav .duel-back-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:max-content!important;max-width:100%!important;min-width:104px!important;min-height:48px!important;padding:0 12px!important;white-space:nowrap!important;word-break:keep-all!important;line-height:1!important;font-size:12px!important;}
.duel-lobby-view .duel-subnav>strong{min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:left!important;font-size:clamp(10px,2.4vw,13px)!important;letter-spacing:.1em!important;}
.duel-lobby-view .duel-subnav>span{display:none!important}
.duel-lobby-view .duel-lobby-content .number-duel-card{width:100%!important;max-width:760px!important;margin:0 auto!important;padding:14px!important;box-sizing:border-box!important;border:1px solid rgba(130,157,255,.22)!important;border-radius:24px!important;background:linear-gradient(145deg,rgba(20,31,62,.96),rgba(9,14,30,.98))!important}
.duel-lobby-view .number-duel-card .gc-match-title{margin:0 0 14px!important;border-radius:22px!important}
.duel-lobby-view .number-duel-card .gc-matchmaking-unified{padding:18px!important}
.duel-lobby-view .number-duel-card .gc-number-rules{margin:0!important;padding:0 2px!important;color:#aab9d7!important;font-size:12px!important;line-height:1.65!important}
/* Profile: avoid desktop card overflow when the phone viewport is nested in a desktop browser. */
.gc-profile-scroll{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;padding:16px clamp(12px,2.2cqw,24px) 26px!important;container-type:inline-size!important;overflow-x:hidden!important;}
.gc-profile-moba-card{display:grid!important;grid-template-columns:clamp(72px,18cqw,112px) minmax(0,1fr)!important;grid-template-areas:"avatar identity" "trophy trophy" "season season"!important;align-items:center!important;gap:12px!important;width:100%!important;max-width:100%!important;min-width:0!important;padding:clamp(12px,2.4cqw,22px)!important;box-sizing:border-box!important;}
.gc-profile-moba-card .gc-profile-avatar{grid-area:avatar!important;width:100%!important;height:auto!important;aspect-ratio:1!important;min-width:0!important;max-width:112px!important;}
.gc-profile-moba-card .gc-profile-identity{grid-area:identity!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;}
.gc-profile-moba-card .gc-profile-identity small{display:block!important;max-width:100%!important;font-size:clamp(8px,1.8cqw,11px)!important;line-height:1.35!important;letter-spacing:.1em!important;overflow-wrap:normal!important;}
.gc-profile-moba-card .gc-profile-identity h3{display:block!important;width:100%!important;max-width:100%!important;margin:2px 0!important;font-size:clamp(18px,4.2cqw,30px)!important;line-height:1.12!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:normal!important;word-break:normal!important;}
.gc-profile-moba-card .gc-profile-idline{display:block!important;max-width:100%!important;font-size:clamp(9px,1.8cqw,12px)!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.gc-profile-moba-card .gc-profile-rank{display:inline-flex!important;max-width:100%!important;white-space:nowrap!important;margin-top:5px!important;}
.gc-profile-moba-card .gc-profile-trophy-box{grid-area:trophy!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:100%!important;min-width:0!important;padding:12px!important;box-sizing:border-box!important;}
.gc-profile-moba-card .gc-profile-trophy-box strong{font-size:clamp(22px,5cqw,34px)!important;line-height:1!important;white-space:nowrap!important;}
.gc-profile-moba-card .gc-profile-season-tag{grid-area:season!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.gc-profile-section-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;}
.gc-profile-section-title span,.gc-profile-section-title small{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.gc-stat-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.gc-stat-grid article{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;min-width:0!important;max-width:100%!important;padding:12px!important;overflow:hidden!important;box-sizing:border-box!important;}
.gc-stat-grid article small{max-width:100%!important;font-size:clamp(9px,2.2cqw,12px)!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;}
.gc-stat-grid article strong{display:block!important;max-width:100%!important;font-size:clamp(23px,6cqw,36px)!important;line-height:1!important;white-space:nowrap!important;overflow:visible!important;word-break:keep-all!important;font-variant-numeric:tabular-nums!important;}
@container (min-width:560px){.gc-profile-moba-card{grid-template-columns:minmax(100px,132px) minmax(0,1fr) minmax(110px,140px)!important;grid-template-areas:"avatar identity trophy" "season season season"!important;gap:16px!important}.gc-profile-moba-card .gc-profile-avatar{max-width:132px!important}.gc-profile-moba-card .gc-profile-trophy-box{flex-direction:column!important;gap:5px!important;padding:12px 8px!important}.gc-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.gc-stat-grid article{padding:14px 10px!important}.gc-stat-grid article strong{font-size:clamp(22px,4.5cqw,34px)!important}}
@media(max-width:420px){.duel-lobby-view .duel-subnav{grid-template-columns:100px minmax(0,1fr)!important;gap:7px!important;padding:8px!important}.duel-lobby-view .duel-subnav .duel-back-button{min-width:0!important;padding:0 8px!important;font-size:10px!important}.gc-skill-arena-unified{padding:10px!important}.gc-skill-arena-unified .gc-matchmaking-card{padding:13px!important}}


/* Build198: dedicated game-in-progress screens and consistent arena UI */
.gc-gameplay-screen{display:block;width:100%;margin:18px 0 0;padding:18px;border:1px solid rgba(115,153,235,.34);border-radius:26px;background:linear-gradient(145deg,rgba(36,49,91,.78),rgba(9,14,31,.96));box-shadow:0 18px 44px rgba(0,0,0,.28);}
.gc-gameplay-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin-bottom:16px;border:1px solid rgba(133,177,255,.24);border-radius:16px;background:rgba(7,13,29,.72);color:#9be8ff;font-size:12px;font-weight:900;letter-spacing:.12em;}
.gc-gameplay-head b{font-size:22px;color:#f5f7ff;letter-spacing:.06em;font-variant-numeric:tabular-nums;}
.gc-gameplay-vs{margin:12px 0 18px;}
.gc-gameplay-screen .gc-skill-board{display:block;min-height:210px;margin-top:18px;}
.gc-gameplay-screen .gc-element-card-grid{margin-top:16px;}
.gc-gameplay-screen .gc-element-footnote{margin-top:18px;}
.gc-matchmaking-card{width:100%;box-sizing:border-box;}
.gc-matchmaking-card .gc-skill-vs{width:100%;box-sizing:border-box;}
.gc-element-arena-status,.gc-skill-status{overflow-wrap:anywhere;}
@media(min-width:900px){
 .gc-profile-scroll{width:100%;max-width:1120px;margin:0 auto;padding:28px 34px 42px;box-sizing:border-box;}
 .gc-profile-card.gc-profile-moba-card{display:grid;grid-template-columns:minmax(150px,190px) minmax(0,1fr) minmax(150px,190px);grid-template-areas:"avatar identity trophy" "season season season";align-items:center;gap:20px;min-height:300px;padding:34px 40px;box-sizing:border-box;}
 .gc-profile-avatar{grid-area:avatar;justify-self:center;width:clamp(130px,15vw,180px);height:clamp(130px,15vw,180px);}
 .gc-profile-identity{grid-area:identity;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;}
 .gc-profile-identity h3{max-width:100%;font-size:clamp(28px,3vw,42px);line-height:1.12;overflow-wrap:anywhere;word-break:normal;}
 .gc-profile-idline{max-width:100%;white-space:normal;overflow-wrap:anywhere;}
 .gc-profile-rank{max-width:100%;white-space:nowrap;}
 .gc-profile-trophy-box{grid-area:trophy;justify-self:end;width:100%;max-width:180px;min-width:0;box-sizing:border-box;}
 .gc-profile-season-tag{grid-area:season;position:static;width:100%;box-sizing:border-box;margin-top:6px;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);}
 .gc-profile-section-title{max-width:1120px;margin:28px auto 14px;}
 .gc-stat-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
 .gc-stat-grid article{min-width:0;min-height:170px;padding:18px 12px;box-sizing:border-box;overflow:hidden;}
 .gc-stat-grid article small{display:block;min-height:34px;line-height:1.25;overflow-wrap:anywhere;}
 .gc-stat-grid article strong{display:block;max-width:100%;font-size:clamp(28px,3.2vw,46px);line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:clip;font-variant-numeric:tabular-nums;}
}
@media(min-width:900px) and (max-width:1100px){.gc-profile-card.gc-profile-moba-card{grid-template-columns:130px minmax(0,1fr) 145px;padding:26px;gap:14px;}.gc-stat-grid{gap:10px;}}
@media(max-width:899px){.gc-gameplay-screen{padding:14px;border-radius:22px;}.gc-gameplay-head{font-size:10px;letter-spacing:.08em;}}


/* BUILD 199 — profile desktop responsive + Number Duel parity */
.gc-profile-scroll{container-type:inline-size;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow-x:hidden!important;overflow-y:auto!important;}
.gc-profile-card.gc-profile-moba-card{width:100%;max-width:100%;min-width:0;box-sizing:border-box;grid-template-columns:minmax(76px,112px) minmax(0,1fr) minmax(76px,112px)!important;grid-template-areas:"avatar identity trophy" "season season season"!important;gap:12px!important;padding:clamp(14px,2.2cqw,24px)!important;min-height:0!important;}
.gc-profile-avatar{width:clamp(68px,10cqw,112px)!important;height:clamp(68px,10cqw,112px)!important;max-width:100%;}
.gc-profile-identity{min-width:0!important;width:100%;overflow:hidden;gap:6px!important;}
.gc-profile-identity h3{font-size:clamp(17px,3.2cqw,27px)!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.gc-profile-idline{font-size:clamp(9px,1.5cqw,11px)!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.gc-profile-rank{white-space:normal!important;max-width:100%;}
.gc-profile-trophy-box{width:100%!important;max-width:112px!important;min-width:0!important;justify-self:end;}
.gc-profile-season-tag{position:static!important;grid-area:season!important;width:100%!important;min-width:0!important;box-sizing:border-box;margin:5px 0 0!important;}
.gc-stat-grid{width:100%!important;max-width:100%!important;min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:12px 0!important;}
.gc-stat-grid article{min-width:0!important;width:100%;padding:12px 10px!important;overflow:hidden!important;}
.gc-stat-grid article strong{font-size:clamp(19px,5cqw,29px)!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;}
@container (min-width:680px){.gc-profile-card.gc-profile-moba-card{grid-template-columns:minmax(100px,140px) minmax(0,1fr) minmax(100px,140px)!important;padding:22px 26px!important;gap:18px!important}.gc-profile-avatar{width:clamp(100px,12cqw,140px)!important;height:clamp(100px,12cqw,140px)!important}.gc-profile-identity h3{font-size:clamp(23px,3cqw,34px)!important}.gc-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.gc-stat-grid article{padding:15px 10px!important}}
.duel-lobby-view{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;}
.duel-lobby-content{flex:1 1 auto;min-height:0;width:100%;max-width:760px;margin:0 auto;padding:12px 12px max(24px,env(safe-area-inset-bottom));box-sizing:border-box;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;}
.duel-lobby-content .number-duel-card{width:100%;min-width:0;box-sizing:border-box;}
.duel-lobby-content .gc-skill-arena{width:100%;min-width:0;box-sizing:border-box;}
.duel-lobby-content .gc-skill-actions.duel-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%;}
.duel-lobby-content .duel-find-button,.duel-lobby-content #duelCancelMatch{display:flex;align-items:center;justify-content:center;gap:9px;width:100%!important;min-height:48px;white-space:normal;line-height:1.2;text-align:center;box-sizing:border-box;}
.duel-lobby-content .gc-skill-status.duel-status{display:flex;align-items:center;justify-content:center;gap:9px;color:#79baff!important;background:rgba(55,145,255,.12)!important;border:1px solid rgba(80,160,255,.25);line-height:1.4;}
.duel-lobby-content .gc-skill-status.duel-status:before{content:"";display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#49a5ff;box-shadow:0 0 12px #49a5ff;}
.duel-subnav strong{font-size:clamp(11px,2.2cqw,14px)!important;letter-spacing:.07em;line-height:1.2;text-align:center;white-space:nowrap;}
@media(max-width:520px){.duel-lobby-content{padding-left:10px;padding-right:10px}.duel-subnav strong{font-size:11px!important;}}

/* BUILD 200 — real gameplay popup layer, desktop profile layout, and actual Number Duel menu controls */
/* #appWindow keeps its original absolute phone-viewport positioning. */
.gc-game-popup-layer{position:absolute!important;inset:0!important;z-index:180!important;display:grid!important;place-items:center!important;padding:clamp(8px,2vw,20px)!important;box-sizing:border-box!important;background:rgba(3,7,18,.82)!important;backdrop-filter:blur(10px)!important;}
.gc-game-popup-panel{display:flex!important;flex-direction:column!important;width:min(100%,920px)!important;height:min(100%,860px)!important;min-width:0!important;min-height:0!important;overflow:hidden!important;border:1px solid rgba(112,190,255,.38)!important;border-radius:22px!important;background:linear-gradient(150deg,#101d39 0%,#090f21 100%)!important;box-shadow:0 24px 80px rgba(0,0,0,.6),0 0 35px rgba(66,166,255,.13)!important;}
.gc-game-popup-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex:0 0 auto!important;padding:12px 16px!important;border-bottom:1px solid rgba(135,176,255,.2)!important;background:rgba(15,29,56,.96)!important;color:#bceaff!important;font-size:10px!important;font-weight:900!important;letter-spacing:.1em!important;}
.gc-game-popup-head span{display:flex;align-items:center;gap:9px;min-width:0}.gc-game-popup-head span i{font-size:15px;color:#78dfff}.gc-game-popup-head b{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:rgba(54,213,157,.13);color:#76f0bd;font-size:9px}
.gc-game-popup-body{flex:1 1 auto;min-height:0;overflow:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:clamp(10px,2vw,20px)!important;box-sizing:border-box!important;}
.gc-game-popup-body>.gc-gameplay-screen{display:block!important;width:100%!important;max-width:100%!important;min-height:100%!important;margin:0!important;overflow:visible!important;box-sizing:border-box!important;border-radius:16px!important;}
.gc-game-popup-layer .gc-element-modal{position:absolute!important;inset:0!important;z-index:30!important;border-radius:22px!important;}
.duel-app-page{position:relative!important;height:100%!important;min-height:0!important;overflow:hidden!important;}
.duel-menu-view{flex:1 1 auto!important;min-height:0!important;max-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;padding-bottom:max(28px,env(safe-area-inset-bottom))!important;}
.duel-menu-view .gc-skill-actions.duel-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;}
.duel-menu-view .duel-find-button,.duel-menu-view #duelCancelMatch{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;min-width:0!important;min-height:50px!important;padding:12px 14px!important;white-space:nowrap!important;word-break:keep-all!important;line-height:1.15!important;text-align:center!important;box-sizing:border-box!important;font-size:clamp(12px,3vw,14px)!important;}
.duel-menu-view .duel-find-button i,.duel-menu-view #duelCancelMatch i{display:inline-block!important;flex:0 0 auto!important;line-height:1!important;}
.duel-game-view:not(.hidden){position:absolute!important;inset:0!important;z-index:150!important;width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;padding:0!important;background:rgba(4,8,20,.98)!important;box-shadow:0 0 0 100vmax rgba(3,7,18,.78)!important;}
.duel-game-view .duel-game-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;}
@media(min-width:900px){
 .gc-profile-view{width:100%!important;max-width:none!important;min-height:0!important;}
 .gc-profile-scroll{width:100%!important;max-width:100%!important;margin:0!important;padding:clamp(22px,3vw,42px) clamp(20px,3.2vw,54px) 42px!important;box-sizing:border-box!important;}
 .gc-profile-card.gc-profile-moba-card{display:grid!important;grid-template-columns:clamp(104px,12vw,158px) minmax(0,1fr) clamp(112px,13vw,170px)!important;grid-template-areas:"avatar identity trophy" "season season season"!important;align-items:center!important;gap:clamp(14px,2vw,28px)!important;width:100%!important;max-width:100%!important;min-height:230px!important;padding:clamp(22px,2.8vw,38px)!important;box-sizing:border-box!important;}
 .gc-profile-moba-card .gc-profile-avatar{width:clamp(100px,12vw,158px)!important;height:clamp(100px,12vw,158px)!important;max-width:100%!important;justify-self:center!important;}
 .gc-profile-moba-card .gc-profile-identity{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:8px!important;min-width:0!important;width:100%!important;overflow:visible!important;}
 .gc-profile-moba-card .gc-profile-identity small{font-size:clamp(9px,.8vw,12px)!important;letter-spacing:.15em!important;}
 .gc-profile-moba-card .gc-profile-identity h3{font-size:clamp(24px,2.5vw,38px)!important;line-height:1.12!important;white-space:normal!important;overflow-wrap:anywhere!important;}
 .gc-profile-moba-card .gc-profile-idline{font-size:clamp(10px,.9vw,13px)!important;white-space:normal!important;overflow-wrap:anywhere!important;}
 .gc-profile-moba-card .gc-profile-rank{font-size:11px!important;padding:7px 13px!important;}
 .gc-profile-moba-card .gc-profile-trophy-box{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;max-width:none!important;min-width:0!important;min-height:130px!important;padding:16px 10px!important;box-sizing:border-box!important;}
 .gc-profile-moba-card .gc-profile-trophy-box strong{font-size:clamp(28px,3vw,42px)!important;}
 .gc-profile-moba-card .gc-profile-season-tag{grid-area:season!important;position:static!important;width:100%!important;margin:8px 0 0!important;padding-top:16px!important;border-top:1px solid rgba(255,255,255,.15)!important;}
 .gc-profile-section-title{width:100%!important;max-width:100%!important;margin:24px 0 12px!important;}
 .gc-stat-grid{width:100%!important;max-width:100%!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(10px,1.3vw,18px)!important;margin:0 0 16px!important;}
 .gc-stat-grid article{min-height:142px!important;padding:18px!important;}
 .gc-stat-grid article strong{font-size:clamp(24px,2.4vw,38px)!important;}
 .gc-profile-note{font-size:12px!important;padding:15px!important;}
}
@media(max-width:899px){.gc-game-popup-panel{width:100%!important;height:100%!important;border-radius:16px!important}.gc-game-popup-head{padding:10px 12px!important}.gc-game-popup-body{padding:10px!important}.duel-menu-view{padding-bottom:32px!important}}


/* BUILD 201 HOTFIX — target the real Number Duel card location (moved into lobbyContent). */
.duel-lobby-content .gc-skill-actions.duel-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;}
.duel-lobby-content .duel-find-button,
.duel-lobby-content #duelCancelMatch{
 display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;
 gap:9px!important;width:100%!important;min-width:0!important;min-height:50px!important;padding:12px 14px!important;
 white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;line-height:1.15!important;text-align:center!important;box-sizing:border-box!important;
}
.duel-lobby-content .duel-find-button>i,.duel-lobby-content #duelCancelMatch>i{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important;}
.duel-lobby-content .duel-find-button>.duel-find-label,.duel-lobby-content #duelCancelMatch>.duel-find-label{display:inline-block!important;flex:0 0 auto!important;white-space:nowrap!important;word-break:keep-all!important;line-height:1.15!important;}
/* The simulated phone remains narrow on laptop browsers: do not force four tiny statistic columns. */
@media(min-width:801px){
 .gc-profile-view{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;height:100%!important;min-height:0!important;overflow:hidden!important;}
 .gc-profile-scroll{flex:1 1 auto!important;min-height:0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:14px 13px 24px!important;box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;}
 .gc-profile-card.gc-profile-moba-card{display:grid!important;grid-template-columns:76px minmax(0,1fr) 78px!important;grid-template-areas:"avatar identity trophy" "season season season"!important;align-items:center!important;gap:9px!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;padding:13px 11px!important;box-sizing:border-box!important;}
 .gc-profile-moba-card .gc-profile-avatar{grid-area:avatar!important;width:68px!important;height:68px!important;min-width:0!important;justify-self:center!important;border-radius:17px!important;font-size:24px!important;}
 .gc-profile-moba-card .gc-profile-identity{grid-area:identity!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:4px!important;min-width:0!important;width:100%!important;overflow:visible!important;}
 .gc-profile-moba-card .gc-profile-identity small{font-size:7px!important;letter-spacing:.09em!important;line-height:1.25!important;}
 .gc-profile-moba-card .gc-profile-identity h3{font-size:clamp(15px,4vw,19px)!important;line-height:1.15!important;white-space:normal!important;overflow-wrap:anywhere!important;margin:2px 0!important;}
 .gc-profile-moba-card .gc-profile-idline{font-size:8px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;}
 .gc-profile-moba-card .gc-profile-rank{font-size:8px!important;padding:5px 8px!important;line-height:1.1!important;}
 .gc-profile-moba-card .gc-profile-trophy-box{grid-area:trophy!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:78px!important;min-width:0!important;min-height:76px!important;padding:7px 4px!important;box-sizing:border-box!important;}
 .gc-profile-moba-card .gc-profile-trophy-box strong{font-size:23px!important;line-height:1!important;}
 .gc-profile-moba-card .gc-profile-trophy-box small{font-size:7px!important;letter-spacing:.08em!important;}
 .gc-profile-moba-card .gc-profile-season-tag{grid-area:season!important;position:static!important;width:100%!important;margin:7px 0 0!important;padding-top:8px!important;border-top:1px solid rgba(255,255,255,.15)!important;}
 .gc-profile-section-title{width:100%!important;margin:15px 0 8px!important;}
 .gc-stat-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0 0 10px!important;}
 .gc-stat-grid article{min-width:0!important;min-height:76px!important;padding:10px!important;gap:5px!important;}
 .gc-stat-grid article small{font-size:9px!important;line-height:1.25!important;}
 .gc-stat-grid article strong{font-size:clamp(19px,5vw,25px)!important;white-space:nowrap!important;}
 .gc-profile-note{font-size:9px!important;line-height:1.45!important;padding:10px!important;margin-bottom:9px!important;}
}

/* BUILD 212 — GyoWatch active episode and claimable Inbox rewards */
.gyowatch-episode-tile.is-playing,
.gyowatch-episode-tile[aria-current="true"]{border-color:var(--accent)!important;background:linear-gradient(135deg,var(--accent),#6d5ce7)!important;color:#fff!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 24%,transparent),0 7px 20px color-mix(in srgb,var(--accent) 24%,transparent)!important;transform:translateY(-1px)}

.watch-row-searches{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}
.watch-row-searches .btn{font-size:11px;padding:7px 9px}
.inbox-reward{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--accent) 45%,var(--line));border-radius:12px;background:color-mix(in srgb,var(--accent) 10%,transparent)}
.inbox-reward span{color:var(--muted);font-size:12px}.inbox-reward b{color:var(--accent);font-size:14px}.inbox-reward button{margin-left:auto;border:0;border-radius:8px;padding:8px 12px;background:var(--accent);color:#fff;font-weight:800;cursor:pointer}.inbox-reward button:disabled{opacity:.55;cursor:default}


/* Build215 R3 — Inbox redesign: tappable message cards and a full message reader */
.website-inbox{width:min(430px,calc(100vw - 24px));max-height:min(78vh,720px);padding:16px;border-radius:20px;background:linear-gradient(155deg,#202a3d,#151d2d);border:1px solid #394760;box-shadow:0 24px 80px #0009}
.website-inbox-head{padding:2px 2px 13px;border-bottom:1px solid #ffffff14;margin-bottom:13px}
.website-inbox-head strong{font-size:16px;letter-spacing:-.02em}
.website-inbox-items{gap:10px}
.website-inbox-item{display:block;width:100%;padding:13px 14px;border-radius:15px;background:#ffffff06;border:1px solid #ffffff14;cursor:pointer;transition:transform .16s,border-color .16s,background .16s;outline:none}
.website-inbox-item:hover,.website-inbox-item:focus-visible{transform:translateY(-1px);border-color:#9b8cff88;background:#9b8cff12}
.website-inbox-item.unread{border-color:#9b8cff99;background:linear-gradient(120deg,#9b8cff17,#ffffff05)}
.website-inbox-item-top,.website-inbox-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.website-inbox-item-type{font-size:9px;letter-spacing:.12em;font-weight:850;color:#b8adff}
.website-inbox-unread-dot{width:7px;height:7px;border-radius:50%;background:#a99aff;box-shadow:0 0 0 4px #a99aff20}
.website-inbox-item>strong{display:block;font-size:14px;margin-top:9px;line-height:1.35}
.website-inbox-item p{font-size:12px;line-height:1.55;margin:6px 0 12px;color:#b6c0d2;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.website-inbox-item-bottom{font-size:10px;color:#8e9bb2}
.website-inbox-item-bottom>span{color:#b9adff;font-weight:750}
.website-inbox-item-bottom i{font-size:9px;margin-left:3px}
.inbox-reward-preview{display:flex;align-items:center;gap:8px;padding:9px 10px;margin-top:11px;border-radius:10px;background:linear-gradient(100deg,#8e79ff20,#e4b65d14);border:1px solid #b9a5ff2e;color:#e9e1ff}
.inbox-reward-preview>i{color:#f0c76d}
.inbox-reward-preview span{font-size:11px;font-weight:800}
.inbox-reward-preview b{margin-left:auto;font-size:9px;color:#d9cfff}
.website-inbox-empty{display:grid;justify-items:center;gap:8px;padding:34px 16px;text-align:center;color:#aeb9cb}
.website-inbox-empty>i{font-size:27px;color:#a99aff}
.website-inbox-empty strong{color:#f1f4fb;font-size:14px}
.website-inbox-empty span{font-size:11px;line-height:1.5;max-width:240px}
.website-inbox-detail{position:fixed;inset:0;z-index:10020;display:grid;place-items:center;padding:18px;background:#050914bd;backdrop-filter:blur(9px)}
.website-inbox-detail.hidden{display:none}
.website-inbox-detail-card{width:min(100%,560px);max-height:min(88vh,760px);overflow:auto;border:1px solid #46536d;border-radius:23px;background:linear-gradient(150deg,#202b40,#121b2c);color:#f3f5fb;box-shadow:0 30px 100px #000b;padding:22px}
.website-inbox-detail-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.website-inbox-detail-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#a99aff20;color:#c3b8ff;font-size:17px}
.website-inbox-detail-close{width:36px;height:36px;border:1px solid #ffffff1b;border-radius:11px;background:#ffffff08;color:#eaf0fb;font-size:23px;cursor:pointer}
.website-inbox-detail-kicker{font-size:9px;font-weight:850;letter-spacing:.16em;color:#b9adff}
.website-inbox-detail-content h2{font-size:clamp(20px,4vw,27px);line-height:1.22;letter-spacing:-.035em;margin:9px 0}
.website-inbox-detail-meta{display:flex;align-items:center;gap:7px;color:#98a7be;font-size:11px;margin-bottom:22px}
.website-inbox-detail-body{font-size:14px;line-height:1.8;color:#d6deeb;white-space:normal;overflow-wrap:anywhere;padding:17px 0 22px;border-top:1px solid #ffffff12}
.website-inbox-detail-reward{display:flex;align-items:center;gap:13px;flex-wrap:wrap;padding:15px;border:1px solid #c4a45c55;border-radius:16px;background:linear-gradient(110deg,#b38a321c,#8d78ff16);margin:3px 0 20px}
.website-inbox-reward-icon{width:43px;height:43px;display:grid;place-items:center;flex:0 0 43px;border-radius:13px;background:#e6bd5b20;color:#f2cd72;font-size:18px}
.website-inbox-reward-copy{display:grid;gap:4px;flex:1;min-width:150px}
.website-inbox-reward-copy small{font-size:9px;letter-spacing:.12em;color:#e5c779;font-weight:850}
.website-inbox-reward-copy strong{font-size:18px;color:#fff0c4}
.website-inbox-reward-copy span{font-size:10px;color:#b9c3d4;line-height:1.4}
.website-inbox-claim-btn{border:0;border-radius:10px;padding:10px 14px;background:#e6bd5b;color:#211a0b;font-weight:850;font-size:11px;cursor:pointer}
.website-inbox-claim-btn:disabled{background:#34415a;color:#aebbd0;cursor:default}
.website-inbox-detail-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid #ffffff12;color:#8291aa;font-size:10px}
.website-inbox-detail-done{border:1px solid #ffffff20;border-radius:10px;padding:8px 13px;background:#ffffff0a;color:#e6eaf2;cursor:pointer}
@media(max-width:560px){.website-inbox{right:12px;top:64px;width:calc(100vw - 24px);max-height:80vh}.website-inbox-detail{padding:10px}.website-inbox-detail-card{padding:17px;border-radius:19px}.website-inbox-detail-reward{align-items:flex-start}.website-inbox-claim-btn{width:100%}}

/* Build217 Inbox refresh: large, accessible message cards and clearer detail hierarchy */
.website-inbox-items{gap:12px!important}
.website-inbox-item{position:relative;display:block;width:100%;padding:16px 16px 14px!important;border:1px solid #35435c!important;border-radius:17px!important;background:linear-gradient(145deg,#18243a,#111a2b)!important;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.website-inbox-item:hover,.website-inbox-item:focus-visible{transform:translateY(-2px);border-color:#9587ff!important;box-shadow:0 12px 30px #0004;outline:none}
.website-inbox-item.unread{border-color:#8c7df0!important;background:linear-gradient(145deg,#242448,#131d31)!important}
.website-inbox-item-top,.website-inbox-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.website-inbox-item-type{font-size:10px;font-weight:850;letter-spacing:.12em;color:#bcb0ff}
.website-inbox-unread-dot{width:8px;height:8px;border-radius:50%;background:#a99aff;box-shadow:0 0 0 4px #a99aff20}
.website-inbox-item>strong{display:block;margin:10px 0 5px;font-size:15px!important;line-height:1.35;color:#f4f6ff}
.website-inbox-item p{margin:0 0 13px!important;font-size:12px!important;line-height:1.65!important;color:#aebbd0!important}
.website-inbox-item-bottom{padding-top:10px;border-top:1px solid #ffffff12}
.website-inbox-item-bottom span{font-weight:750;color:#c1b7ff;font-size:11px}
.inbox-reward-preview{display:flex;align-items:center;gap:9px;margin-top:12px;padding:11px 12px;border:1px solid #7a673b;border-radius:12px;background:linear-gradient(100deg,#382f1c,#252333);color:#ffe2a0}
.inbox-reward-preview span{font-size:12px;font-weight:800}
.inbox-reward-preview b{margin-left:auto;font-size:10px;color:#ffe9bc}
.website-inbox-detail-card{border-radius:25px!important;background:radial-gradient(circle at 100% 0,#3a3268 0,transparent 38%),linear-gradient(150deg,#202b40,#101827)!important}
.website-inbox-detail-body{padding:17px;border:1px solid #ffffff14;border-radius:15px;background:#080f1d55;color:#e0e7f4;line-height:1.8;font-size:14px;overflow-wrap:anywhere}
.website-inbox-detail-reward{display:grid;grid-template-columns:auto 1fr;gap:12px;margin-top:16px;padding:15px;border:1px solid #8a7445;border-radius:17px;background:linear-gradient(130deg,#44371d,#27263a)}
.website-inbox-claim-btn{grid-column:1/-1;width:100%;min-height:43px;border:0;border-radius:12px;background:linear-gradient(100deg,#c5a45c,#f0d48e);color:#241b0b;font-weight:850;cursor:pointer}
.website-inbox-claim-btn:disabled{opacity:.6;cursor:default}
@media(max-width:520px){.website-inbox-item{padding:14px!important}.website-inbox-detail{padding:10px}.website-inbox-detail-card{padding:17px;max-height:92vh}}

/* BUILD231 — Gyo Files modern layout, fixed quota bubble and nested folders */
.gyofiles-modern{position:relative;padding-bottom:12px}.gyofiles-modern .gyofiles-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.gyofiles-head-actions{display:flex;gap:8px;align-items:center}.gyofiles-storage-fixed{position:sticky;top:0;z-index:8;margin:10px 0 14px;padding:12px 14px;border:1px solid var(--line);border-radius:15px;background:var(--surface, #151d30);box-shadow:0 8px 24px #0003;backdrop-filter:blur(14px)}.gyofiles-storage-fixed small{display:block;margin-top:6px;color:var(--muted);font-size:10px}.gyofiles-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:9px;margin:10px 0}.gyofiles-folder{display:flex;align-items:center;gap:9px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface2);color:var(--text);text-align:left}.gyofiles-folder i{color:#a99aff;font-size:18px}.gyofiles-folder span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.gyofiles-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}.gyofiles-item{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:12px;margin:7px 0;background:var(--surface2)}.gyofiles-fileinfo{min-width:0;flex:1}.gyofiles-fileinfo strong{display:block;overflow-wrap:anywhere;font-size:11px}.gyofiles-fileinfo small{display:block;color:var(--muted);font-size:9px;margin-top:3px}@media(max-width:520px){.gyofiles-modern .gyofiles-head{align-items:flex-start;flex-wrap:wrap}.gyofiles-head-actions{width:100%}.gyofiles-head-actions>*{flex:1;justify-content:center}.gyofiles-storage-fixed{top:0}}

/* Build235 — Gyo Files fixed header with independently scrollable contents */
.app-content:has(.gyofiles-shell){display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important;padding:0!important;overscroll-behavior:contain!important}
.gyofiles-modern{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;height:100%!important;gap:0!important;padding:13px 13px 8px!important;overflow:hidden!important;background:radial-gradient(ellipse at 10% 0%,rgba(117,133,255,.12),transparent 48%),var(--bg,#0b0e19)}
.gyofiles-modern .gyofiles-storage-fixed{position:relative!important;top:auto!important;z-index:2;flex:0 0 auto;margin:0 0 11px!important;padding:13px 15px!important;border-radius:17px;background:linear-gradient(135deg,rgba(111,126,239,.19),var(--surface,#151d30) 72%)!important;box-shadow:0 5px 16px rgba(0,0,0,.13)!important;backdrop-filter:none!important}
.gyofiles-modern .gyofiles-storage-top{align-items:flex-start;margin-bottom:10px;gap:8px}
.gyofiles-modern .gyofiles-storage-top strong{font-size:12px;flex:0 0 84px;line-height:1.35}
.gyofiles-modern .gyofiles-storage-top span{max-width:none;flex:1;font-size:12px;line-height:1.45;text-align:right;overflow-wrap:anywhere}
.gyofiles-modern .gyofiles-meter{height:7px;margin-bottom:7px}
.gyofiles-modern .gyofiles-storage small{font-size:10px;margin-top:0}
.gyofiles-modern .gyofiles-toolbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 9px;padding:0 1px}
.gyofiles-modern .gyofiles-toolbar>strong{font-size:14px;font-weight:800;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gyofiles-modern .gyofiles-head-actions{display:flex;flex:0 0 auto;align-items:center;gap:7px}
.gyofiles-modern .gyofiles-head-actions .secondary-btn,.gyofiles-modern .gyofiles-upload{min-height:40px;padding:9px 12px!important;border-radius:12px!important;font-size:11px;white-space:nowrap}
.gyofiles-modern .gyofiles-upload{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.gyofiles-scroll{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(145,155,190,.42) transparent;padding:1px 2px 18px 0}
.gyofiles-modern .gyofiles-folder-grid{flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 9px}
.gyofiles-modern .gyofiles-folder{min-height:54px;padding:11px 12px;border-radius:14px;background:linear-gradient(145deg,var(--surface2,#1b2439),rgba(112,126,190,.09));box-shadow:0 3px 10px rgba(0,0,0,.08);font-size:12px}
.gyofiles-modern .gyofiles-folder i{font-size:19px;flex:0 0 auto}
.gyofiles-modern .gyofiles-list{display:flex;flex:0 0 auto;flex-direction:column;gap:8px;min-width:0}
.gyofiles-modern .gyofiles-item{display:grid;grid-template-columns:42px minmax(0,1fr) 37px 37px;align-items:center;gap:8px;margin:0;padding:10px;border-radius:15px;background:linear-gradient(145deg,var(--surface2,#1b2439),rgba(112,126,190,.07));box-shadow:0 4px 13px rgba(0,0,0,.09)}
.gyofiles-modern .gyofiles-fileicon{width:42px;height:42px;border-radius:13px}
.gyofiles-modern .gyofiles-fileinfo{min-width:0;gap:4px}
.gyofiles-modern .gyofiles-fileinfo strong{font-size:11px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}
.gyofiles-modern .gyofiles-fileinfo small{font-size:9px;line-height:1.35;overflow-wrap:anywhere}
.gyofiles-modern .gyofiles-item .secondary-btn{width:36px;height:36px;min-width:36px;padding:0!important;display:grid;place-items:center;border-radius:11px}
.gyofiles-modern .gyofiles-item .gyofiles-delete{color:#f08a9a}
.gyofiles-modern .gyofiles-empty{margin:8px 0;padding:30px 14px;border-radius:16px}
.gyofiles-modern #gyofilesStatus{flex:0 0 auto;padding:5px 2px 0;font-size:10px;line-height:1.4}
@media(max-width:390px){.gyofiles-modern{padding:10px 10px 7px!important}.gyofiles-modern .gyofiles-storage-fixed{padding:11px 12px!important}.gyofiles-modern .gyofiles-storage-top strong{flex-basis:76px}.gyofiles-modern .gyofiles-storage-top span{font-size:11px}.gyofiles-modern .gyofiles-head-actions{gap:5px}.gyofiles-modern .gyofiles-head-actions .secondary-btn,.gyofiles-modern .gyofiles-upload{min-height:38px;padding:8px 9px!important;font-size:10px}.gyofiles-modern .gyofiles-item{grid-template-columns:38px minmax(0,1fr) 34px 34px;gap:6px;padding:8px}.gyofiles-modern .gyofiles-fileicon{width:38px;height:38px}.gyofiles-modern .gyofiles-item .secondary-btn{width:33px;height:34px;min-width:33px}}

/* BUILD238 — GyoWatch independent row scrollers */
.gyowatch-page .gyowatch-row-track{cursor:grab!important;user-select:none!important}
.gyowatch-page .gyowatch-row-track.is-dragging{cursor:grabbing!important;scroll-snap-type:none!important}
.gyowatch-page .gyowatch-row-track img{-webkit-user-drag:none!important;user-drag:none!important}

/* Build240: restore the original Cloud Phone GyoWatch poster cards.
   Compact 10-column layout is scoped to the admin catalogue only. */
.gyowatch-page .gyowatch-row-track{display:flex!important;flex-flow:row nowrap!important;gap:9px!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 2px 8px!important;touch-action:pan-x pan-y!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
.gyowatch-page .gyowatch-row-track::-webkit-scrollbar{display:none!important}
.gyowatch-page .gyowatch-card{flex:0 0 104px!important;width:104px!important;min-width:104px!important;max-width:104px!important}
.gyowatch-page .gyowatch-card img{width:104px!important;height:148px!important;min-height:148px!important;max-height:148px!important;object-fit:cover!important}
.gyowatch-page .gyowatch-card>span{padding:7px!important}
.gyowatch-page .gyowatch-card strong{font-size:10px!important;line-height:1.3!important}
.gyowatch-page .gyowatch-card small{font-size:9px!important;line-height:1.3!important}
#adminWatchList .watch-admin-list{position:relative;z-index:2;pointer-events:auto}
#adminWatchList .watch-admin-content,#adminWatchList button,#adminWatchList [data-watch-expand],#adminWatchList [data-watch-edit],#adminWatchList [data-watch-group-edit],#adminWatchList [data-watch-delete]{position:relative;z-index:2;pointer-events:auto;cursor:pointer}
.gyoweb-shell{position:relative;min-height:100%;}
.gyoweb-site-modal{position:absolute!important;inset:0!important;z-index:10050!important;background:#05070b;display:flex;flex-direction:column;padding:6px;box-sizing:border-box;}
.gyoweb-site-modal.hidden{display:none!important}
.gyoweb-site-modal-head{flex:0 0 42px}
.gyoweb-site-modal iframe{flex:1;width:100%;height:100%;min-height:0;border:0;border-radius:8px;background:#fff}
.gyowatch-season-filters{display:flex;gap:8px;flex-wrap:wrap}.gyowatch-season-filters select,.gyowatch-movie-hub input,.gyowatch-movie-hub select{min-width:0;border:1px solid var(--line);border-radius:9px;padding:9px;background:var(--surface);color:var(--text);font:inherit}.gyowatch-movie-hub{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.gyowatch-movie-hub label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:var(--muted)}.gyowatch-movie-intro strong{font-size:15px}.gyowatch-movie-intro p{font-size:11px;color:var(--muted)}.gyowatch-movie-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gyowatch-movie-player{display:flex;flex-direction:column;gap:8px}.gyowatch-movie-player-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.gyowatch-movie-player .gyowatch-iframe-wrap{min-height:220px}.gyoweb-site-modal{position:fixed;inset:0;z-index:10050;background:#05070b;display:flex;flex-direction:column;padding:8px;box-sizing:border-box}.gyoweb-site-modal.hidden{display:none}.gyoweb-site-modal-head{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:42px;color:#fff}.gyoweb-site-modal iframe{flex:1;width:100%;min-height:0;border:0;border-radius:8px;background:#fff}
@media(max-width:420px){.gyowatch-movie-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}

.gyowatch-movie-player.is-open{position:fixed;inset:0;z-index:10060;background:#05070b;padding:10px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}.gyowatch-movie-player.is-open .gyowatch-iframe-wrap{width:min(100%,1200px);margin:0 auto;aspect-ratio:16/9;max-height:calc(100vh - 90px);min-height:0}.gyowatch-movie-player.is-open .gyowatch-movie-player-head,.gyowatch-movie-player.is-open>small{width:min(100%,1200px);margin:0 auto;color:#fff}


/* BUILD243 — GyoWeb single-scroll fullscreen browser inside Cloud Phone */
.app-content:has(.gyoweb-shell){position:relative;min-height:0;height:100%;overflow-y:auto;overscroll-behavior:contain}
.gyoweb-shell{position:relative;min-height:100%;}
.app-content.gyoweb-modal-open{overflow:hidden!important;overscroll-behavior:none!important}
.gyoweb-shell:has(.gyoweb-site-modal:not(.hidden)){height:100%;min-height:0;overflow:hidden}
.gyoweb-site-modal{position:absolute!important;inset:0!important;z-index:10050!important;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;padding:0!important;margin:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#05070b!important;box-sizing:border-box}
.gyoweb-site-modal.hidden{display:none!important}
.gyoweb-site-modal-head{display:flex;flex:0 0 44px!important;min-height:44px!important;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;background:#101727;border-bottom:1px solid #29364e}
.gyoweb-site-modal iframe{display:block;flex:1 1 auto!important;width:100%!important;height:0!important;min-height:0!important;overflow:auto!important;border:0!important;border-radius:0!important;background:#fff}
/* BUILD243 — storage title must shrink before wrapping into narrow syllables */
.gyofiles-modern .gyofiles-storage-top{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important}
.gyofiles-modern .gyofiles-storage-top strong{min-width:0!important;flex:initial!important;font-size:clamp(10px,3.1vw,12px)!important;line-height:1.25!important;overflow-wrap:normal!important;word-break:normal!important}
.gyofiles-modern .gyofiles-storage-top span{min-width:0!important;max-width:58%!important;font-size:clamp(9px,2.8vw,12px)!important;line-height:1.3!important;overflow-wrap:anywhere!important}
/* BUILD243 — Settings multiview and storage/RAM summaries fit narrow phones */
.app-content:has(#settingsPanel)>.store-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:clamp(3px,1vw,7px)!important;overflow:hidden!important}
.app-content:has(#settingsPanel)>.store-tabs button{min-width:0!important;padding:clamp(7px,2.2vw,11px) clamp(2px,1vw,8px)!important;font-size:clamp(8px,2.55vw,12px)!important;line-height:1.15!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important}
#settingsPanel>.card>.row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important}
#settingsPanel>.card>.row>div{min-width:0!important}
#settingsPanel>.card>.row h3{font-size:clamp(13px,3.6vw,20px)!important;line-height:1.2!important;overflow-wrap:normal!important;word-break:normal!important}
#settingsPanel>.card>.row>strong{font-size:clamp(15px,4vw,22px)!important;white-space:nowrap!important;text-align:right!important}
#settingsPanel .stat-row{gap:8px;min-width:0}
#settingsPanel .stat-row>*{min-width:0;overflow-wrap:anywhere}
@media(max-width:380px){.gyofiles-modern{padding-inline:9px!important}.gyofiles-modern .gyofiles-storage-fixed{padding:9px 10px!important}.gyofiles-modern .gyofiles-storage-top strong{font-size:10px!important}.gyofiles-modern .gyofiles-storage-top span{font-size:9px!important}.app-content:has(#settingsPanel)>.store-tabs button{font-size:8px!important;padding-inline:1px!important}#settingsPanel>.card>.row h3{font-size:13px!important}#settingsPanel>.card>.row>strong{font-size:15px!important}}


/* BUILD248: GyoFiles storage summary is a strict vertical stack on every viewport */
.app-content .gyofiles-modern .gyofiles-storage-top{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:5px!important;width:100%!important;min-width:0!important;margin:0 0 10px!important;position:relative!important;z-index:2!important;box-sizing:border-box!important}
.app-content .gyofiles-modern .gyofiles-storage-top strong{display:block!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;font-size:clamp(12px,3.2vw,15px)!important;line-height:1.35!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;text-align:left!important}
.app-content .gyofiles-modern .gyofiles-storage-top strong i{display:inline-block!important;margin-right:6px!important}
.app-content .gyofiles-modern .gyofiles-storage-top span{display:block!important;flex:0 0 auto!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;font-size:clamp(10px,2.8vw,13px)!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;text-align:left!important}
@media(max-width:380px){.app-content .gyofiles-modern .gyofiles-storage-fixed{padding:10px!important}.app-content .gyofiles-modern .gyofiles-storage-top strong{font-size:12px!important}.app-content .gyofiles-modern .gyofiles-storage-top span{font-size:10px!important}}

/* BUILD248: year and season stay on one responsive row */
.app-content .gyowatch-season-filters{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important}
.app-content .gyowatch-season-filters select{display:block!important;flex:1 1 0!important;width:50%!important;min-width:0!important;max-width:50%!important;padding:8px clamp(5px,1.6vw,10px)!important;font-size:clamp(9px,2.6vw,12px)!important;line-height:1.25!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;box-sizing:border-box!important}
@media(min-width:700px){.app-content .gyowatch-season-filters{gap:10px!important}.app-content .gyowatch-season-filters select{font-size:12px!important;padding:9px 12px!important}}

/* BUILD249 — Gyo Files visual polish */
.app-content .gyofiles-modern .gyofiles-storage-fixed{padding:15px 16px!important;border:1px solid rgba(151,143,255,.24)!important;border-radius:19px!important;background:radial-gradient(circle at 94% 8%,rgba(148,133,255,.18),transparent 34%),linear-gradient(145deg,#202744 0%,#151c30 58%,#121a2b 100%)!important;box-shadow:0 12px 26px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.055)!important}
.app-content .gyofiles-modern .gyofiles-storage-top strong{display:flex!important;align-items:center!important;gap:8px!important;font-size:13px!important;font-weight:800!important;letter-spacing:.01em!important;color:#f3f4ff!important}
.app-content .gyofiles-modern .gyofiles-storage-top strong i{width:27px!important;height:27px!important;display:inline-grid!important;place-items:center!important;margin:0!important;border-radius:9px!important;background:rgba(157,145,255,.17)!important;color:#b8adff!important;font-size:13px!important}
.app-content .gyofiles-modern .gyofiles-storage-top span{font-size:12px!important;font-weight:650!important;color:#cbd4f0!important;line-height:1.5!important}
.app-content .gyofiles-modern .gyofiles-meter{height:8px!important;margin:11px 0 8px!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.035)!important}
.app-content .gyofiles-modern .gyofiles-meter span{background:linear-gradient(90deg,#8b8cff,#b69cff 65%,#8dd7e7)!important;box-shadow:0 0 12px rgba(153,145,255,.32)!important}
.app-content .gyofiles-modern .gyofiles-storage>small{font-size:10px!important;color:#9eacd0!important;letter-spacing:.015em!important}
.app-content .gyofiles-modern .gyofiles-toolbar>strong{font-size:13px!important;letter-spacing:.01em!important}
.app-content .gyofiles-modern .gyofiles-head-actions .secondary-btn,.app-content .gyofiles-modern .gyofiles-upload{border-radius:11px!important;box-shadow:0 4px 12px rgba(0,0,0,.12)!important}
.app-content .gyofiles-modern .gyofiles-item{border-color:rgba(149,160,205,.13)!important;background:linear-gradient(145deg,rgba(32,42,67,.96),rgba(23,31,50,.98))!important;box-shadow:0 5px 14px rgba(0,0,0,.11)!important}
.app-content .gyofiles-modern .gyofiles-fileicon{background:linear-gradient(145deg,rgba(143,135,255,.22),rgba(93,146,202,.12))!important;color:#b9adff!important}

/* Build256: GyoWatch release-year badge and Anime-only season filters. */
.gyowatch-page .gyowatch-card{position:relative!important}
.gyowatch-page .gyowatch-year-badge{position:absolute!important;z-index:3!important;top:6px!important;left:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:34px!important;padding:4px 6px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:7px!important;background:rgba(10,16,28,.88)!important;color:#fff!important;font-size:10px!important;font-weight:800!important;line-height:1!important;box-shadow:0 2px 8px rgba(0,0,0,.3)!important;pointer-events:none!important}
.gyowatch-page .gyowatch-season-filters.hidden{display:none!important}

.gyowatch-page .gyowatch-movie-result{position:relative!important}
.gyowatch-page .gyowatch-movie-result .gyowatch-year-badge{top:6px!important;left:6px!important}
/* Build262: empty provider state centered in the episode area */
.gyowatch-page .gyowatch-no-source{grid-column:1/-1;width:100%;min-height:120px;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px 14px;color:var(--muted);font-size:12px;line-height:1.5;border:1px dashed var(--line);border-radius:12px;background:var(--surface);}
/* Build277: custom GyoWatch launcher artwork */
.glyph-gyowatch{background:linear-gradient(145deg,#15245e,#6b2ad1 58%,#e83cb2);border:1px solid #8defff;box-shadow:0 7px 22px #6c38d477,inset 0 0 12px #ffffff20}.glyph-gyowatch img{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 2px 5px #08051caa)}
/* Build285: app icons are SVG images (api/app-icon.php). The Font Awesome glyph underneath is only a fallback. */
.app-glyph.has-icon-img{position:relative;overflow:hidden;background:transparent!important;border:0!important;padding:0!important;box-shadow:0 6px 16px rgba(0,0,0,.30)!important}
.app-glyph.has-icon-img>i{visibility:hidden}
.app-glyph.has-icon-img>img.app-icon-img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;border-radius:inherit;filter:none!important;pointer-events:none;-webkit-user-drag:none;user-select:none}
