/* Shuton UI R40 — premium AI surface */
:root{--shuton-night:#050b15;--shuton-deep:#071526;--shuton-panel:#0b1b30;--shuton-panel-2:#10243f;--shuton-cyan:#43d8ff;--shuton-blue:#5a86ff;--shuton-violet:#8a63ff;--shuton-mint:#5ce7bd;--shuton-text:#f5f9ff;--shuton-soft:#b8c7dc;--shuton-line:rgba(151,190,235,.18);--shuton-glow:0 20px 60px rgba(0,20,54,.42)}
body:has(.home-screen.active){background:radial-gradient(circle at 50% -15%,#17375f 0,#071426 36%,#030812 78%);color:var(--shuton-text)}
body:has(.home-screen.active) .shell{background:linear-gradient(180deg,rgba(5,13,25,.98),rgba(4,10,20,.98));box-shadow:0 0 80px rgba(0,0,0,.38)}
body:has(.home-screen.active) .home-screen{background:radial-gradient(circle at 12% 2%,rgba(67,216,255,.12),transparent 24%),radial-gradient(circle at 88% 13%,rgba(138,99,255,.16),transparent 28%),linear-gradient(180deg,#071424,#050b14);color:var(--shuton-text)}
body:has(.home-screen.active) .avatar-stage.immersive{border:1px solid rgba(127,190,255,.14);border-top:0;background:#030914;box-shadow:0 26px 74px rgba(0,0,0,.48),inset 0 -1px rgba(255,255,255,.04)}
body:has(.home-screen.active) .avatar-live-toolbar{border:1px solid var(--shuton-line);border-left:0;border-right:0;background:linear-gradient(90deg,rgba(8,22,40,.96),rgba(13,28,50,.96));color:var(--shuton-soft)}
body:has(.home-screen.active) .avatar-live-selector,body:has(.home-screen.active) .avatar-live-notice{color:var(--shuton-soft)}
body:has(.home-screen.active) .avatar-live-selector select{background:#0c1d33;color:#eef7ff;border-color:rgba(135,186,240,.22)}
body:has(.home-screen.active) .avatar-live-promo{background:linear-gradient(135deg,rgba(67,216,255,.16),rgba(138,99,255,.2));border-color:rgba(102,201,255,.36);color:#eaf9ff}
.premium-action-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:12px 0 0;padding:9px;border:1px solid var(--shuton-line);border-radius:22px;background:linear-gradient(135deg,rgba(13,30,52,.94),rgba(8,18,33,.94));box-shadow:var(--shuton-glow);backdrop-filter:blur(22px)}
.premium-action{position:relative;min-width:0;min-height:62px;border:1px solid transparent;border-radius:16px;background:transparent;color:#ecf7ff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 3px;cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease,box-shadow .16s ease}
.premium-action:hover,.premium-action:focus-visible{background:linear-gradient(145deg,rgba(67,216,255,.10),rgba(138,99,255,.12));border-color:rgba(106,198,255,.28);outline:none}.premium-action:active{transform:scale(.96)}
.premium-action .premium-action-icon{font-size:20px}.premium-action strong{font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.premium-action[data-action="live"]{background:linear-gradient(145deg,rgba(87,70,190,.25),rgba(32,140,204,.18));border-color:rgba(138,99,255,.32)}.premium-action[data-action="live"]::after{content:"LIVE";position:absolute;top:5px;right:5px;font-size:6px;letter-spacing:.08em;padding:2px 4px;border-radius:999px;background:linear-gradient(90deg,var(--shuton-violet),var(--shuton-cyan));color:#fff}

.premium-live-card{margin:10px 0 0;padding:12px;border:1px solid rgba(129,178,240,.18);border-radius:20px;background:radial-gradient(circle at 88% 0%,rgba(138,99,255,.22),transparent 35%),linear-gradient(145deg,#0b1c31,#091526);box-shadow:0 18px 48px rgba(0,0,0,.24)}
.premium-live-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.premium-live-head div{min-width:0}.premium-live-head strong{display:block;color:#f6fbff;font-size:14px}.premium-live-head small{display:block;color:var(--shuton-soft);font-size:10px;line-height:1.35;margin-top:2px}
.premium-live-orb{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#b5f4ff 0,#49cfff 18%,#7564ff 58%,#291e5f 100%);box-shadow:0 0 26px rgba(84,181,255,.34)}
.premium-live-cta{width:100%;min-height:42px;border:1px solid rgba(108,190,255,.32);border-radius:14px;background:linear-gradient(135deg,rgba(74,126,255,.34),rgba(138,99,255,.34));color:#f4fbff;font-weight:800;cursor:pointer;box-shadow:0 10px 26px rgba(18,78,165,.18)}.premium-live-cta:hover,.premium-live-cta:focus-visible{border-color:rgba(107,221,255,.56);background:linear-gradient(135deg,rgba(67,216,255,.25),rgba(138,99,255,.38));outline:none}
body:has(.home-screen.active) .home-commerce-strip{border-color:rgba(112,180,239,.18);background:linear-gradient(145deg,rgba(13,30,51,.88),rgba(8,19,34,.88));box-shadow:0 14px 40px rgba(0,0,0,.20)}body:has(.home-screen.active) .home-commerce-strip strong{color:#f3f8ff}body:has(.home-screen.active) .home-commerce-strip small{color:#9fb0c5}body:has(.home-screen.active) .home-commerce-strip button{border-color:rgba(115,184,244,.24);background:rgba(255,255,255,.06);color:#e8f7ff}
body:has(.home-screen.active) .ask-shell{border-color:rgba(118,181,238,.18);background:linear-gradient(180deg,rgba(13,29,49,.96),rgba(7,17,31,.96));box-shadow:0 20px 58px rgba(0,0,0,.30)}body:has(.home-screen.active) .ask-title strong{color:#f4f9ff}body:has(.home-screen.active) .ask-title small{color:#9fb1c8}
body:has(.home-screen.active) .command-composer{padding:6px;border:1px solid rgba(129,184,236,.20);border-radius:20px;background:#071526;box-shadow:inset 0 1px rgba(255,255,255,.03),0 8px 28px rgba(0,0,0,.18)}body:has(.home-screen.active) .command-composer input{border:0;background:transparent;color:#f7fbff;outline:none}body:has(.home-screen.active) .command-composer input::placeholder{color:#778ba7}
body:has(.home-screen.active) .command-composer button{border:1px solid rgba(134,190,241,.14);box-shadow:none}body:has(.home-screen.active) .command-composer .voice-inline{background:linear-gradient(145deg,#5a86ff,#7d5cff);box-shadow:0 0 22px rgba(100,111,255,.22)}body:has(.home-screen.active) #sendBtn{background:linear-gradient(145deg,#3cc9f6,#4d83ff)}
body:has(.home-screen.active) .smart-shortcuts button{background:rgba(255,255,255,.045);border-color:rgba(136,187,235,.14);color:#c6d6e9}body:has(.home-screen.active) .smart-shortcuts button:hover{background:rgba(67,216,255,.09);color:#f4fbff}

body:has(.home-screen.active) .assistant-tools,body:has(.home-screen.active) .chat-panel,body:has(.home-screen.active) .scene-card,body:has(.home-screen.active) .ecosystem-panel{border-color:rgba(122,181,235,.16);background:linear-gradient(180deg,rgba(12,27,47,.97),rgba(7,17,30,.97));color:#edf6ff;box-shadow:0 20px 56px rgba(0,0,0,.28)}
body:has(.home-screen.active) .assistant-tools strong,body:has(.home-screen.active) .assistant-tools h3,body:has(.home-screen.active) .ecosystem-panel h3{color:#f5f9ff}body:has(.home-screen.active) .assistant-tools .small,body:has(.home-screen.active) .ecosystem-panel .small{color:#9aabc1}
body:has(.home-screen.active) .quick-card,body:has(.home-screen.active) .ecosystem-card{background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.025));border-color:rgba(132,188,240,.14);color:#edf6ff}body:has(.home-screen.active) .quick-card strong,body:has(.home-screen.active) .ecosystem-card strong{color:#f3f8ff}body:has(.home-screen.active) .quick-card small,body:has(.home-screen.active) .ecosystem-card small{color:#9fb1c8}
body:has(.home-screen.active) .transcript-sheet .bubble.bot{background:#10243d;color:#eaf5ff}body:has(.home-screen.active) .transcript-sheet .bubble.user{background:linear-gradient(135deg,#4a82f4,#695ee7)}
body:has(.home-screen.active) .tabs,body:has(.home-screen.active) .shell:has(.home-screen.active) .tabs.show{border:1px solid rgba(113,174,230,.18);background:rgba(7,17,31,.90);box-shadow:0 12px 44px rgba(0,0,0,.38);backdrop-filter:blur(24px)}
body:has(.home-screen.active) .tab{color:#8295ae}body:has(.home-screen.active) .tab.active{background:linear-gradient(145deg,rgba(67,216,255,.12),rgba(138,99,255,.14));color:#ecf9ff}
body:has(.home-screen.active) .usage-popover{background:#0a1a2e;border-color:rgba(122,183,238,.22);color:#eef7ff;box-shadow:0 22px 70px rgba(0,0,0,.52)}body:has(.home-screen.active) .usage-popover .small,body:has(.home-screen.active) .usage-popover small{color:#9eb0c6}
body:has(.home-screen.active) .usage-popover .choice,body:has(.home-screen.active) .usage-wallet-card,body:has(.home-screen.active) .credit-pack{background:#10233c!important;border-color:rgba(127,184,237,.18)!important;color:#eef7ff!important}body:has(.home-screen.active) .usage-popover .choice strong,body:has(.home-screen.active) .usage-popover .choice span{color:inherit}
@media(max-width:520px){.premium-action-rail{grid-template-columns:repeat(3,1fr);gap:6px}.premium-action{min-height:56px}.premium-live-card{padding:10px}.home-screen{padding-left:10px!important;padding-right:10px!important}.presence-shell{margin-left:-10px!important;margin-right:-10px!important}}
@media(min-width:720px){.premium-action-rail{grid-template-columns:repeat(6,1fr)}.premium-action{min-height:68px}.premium-action strong{font-size:11px}.premium-live-card{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:center;gap:14px}.premium-live-head{margin:0}}
@media(prefers-reduced-motion:reduce){.premium-action{transition:none}.premium-live-orb{box-shadow:none}}

body:has([data-screen="welcome"].active){background:radial-gradient(circle at 50% -10%,#1a426e 0,#081729 34%,#040a13 76%);color:#f6fbff}
body:has([data-screen="welcome"].active) .shell{background:radial-gradient(circle at 16% 8%,rgba(67,216,255,.13),transparent 28%),radial-gradient(circle at 85% 25%,rgba(138,99,255,.16),transparent 30%),linear-gradient(180deg,#071526,#050b14)}
body:has([data-screen="welcome"].active) .top{border-bottom-color:rgba(145,190,235,.12);background:rgba(6,16,30,.72);backdrop-filter:blur(18px)}
body:has([data-screen="welcome"].active) .brand{color:#f4fbff}body:has([data-screen="welcome"].active) .top-clock{background:rgba(255,255,255,.05);border-color:rgba(143,190,234,.16);color:#dbeaff}
body:has([data-screen="welcome"].active) [data-screen="welcome"]{background:transparent;padding-top:10px}
body:has([data-screen="welcome"].active) .hero-kicker{color:#72ddff}body:has([data-screen="welcome"].active) .hero .logo{background:linear-gradient(90deg,#f7fbff 10%,#66dfff 45%,#9a7cff 88%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 32px rgba(80,188,255,.14)}
body:has([data-screen="welcome"].active) .hero .smile{border-color:#50d7ff;filter:drop-shadow(0 0 12px rgba(67,216,255,.34))}
body:has([data-screen="welcome"].active) .hero h1{color:#f4f9ff}body:has([data-screen="welcome"].active) .hero .tagline{color:#b2c3d8}
body:has([data-screen="welcome"].active) .hero .primary{background:linear-gradient(135deg,#42d4ff,#527dff 52%,#7b5dff);box-shadow:0 14px 38px rgba(64,127,255,.28)}body:has([data-screen="welcome"].active) .hero .secondary{background:rgba(255,255,255,.055);border-color:rgba(142,190,235,.18);color:#eef8ff}
body:has([data-screen="welcome"].active) .trust-row span{background:rgba(255,255,255,.045);border-color:rgba(140,188,233,.14);color:#aebfd4}body:has([data-screen="welcome"].active) .hero-foot{color:#8094ad}
.boot-splash{background:radial-gradient(circle at 50% 30%,#153b64,#071426 52%,#030812)!important}.boot-logo{color:#eefaff!important;text-shadow:0 0 28px rgba(67,216,255,.24)}.boot-pulse{border-color:#4bd8ff!important}

/* R40 global premium shell */
.shuton-premium-ui{background:radial-gradient(circle at 50% -10%,#16395f 0,#071426 34%,#030812 76%);color:#edf6ff}
.shuton-premium-ui .shell{background:linear-gradient(180deg,rgba(6,16,29,.98),rgba(5,11,20,.99));box-shadow:0 0 70px rgba(0,0,0,.34)}
.shuton-premium-ui .top{border-bottom-color:rgba(130,181,231,.12);background:rgba(6,16,29,.72);backdrop-filter:blur(20px)}
.shuton-premium-ui .brand,.shuton-premium-ui .title,.shuton-premium-ui h1,.shuton-premium-ui h2,.shuton-premium-ui h3{color:#f5f9ff}
.shuton-premium-ui .subtitle,.shuton-premium-ui .small,.shuton-premium-ui small{color:#9fb1c8}
.shuton-premium-ui .screen:not(.home-screen):not([data-screen="welcome"]){background:radial-gradient(circle at 88% 0%,rgba(138,99,255,.08),transparent 28%),linear-gradient(180deg,#071526,#050b14)}
.shuton-premium-ui .panel,.shuton-premium-ui .setting,.shuton-premium-ui .goal-card,.shuton-premium-ui .path-summary>div,.shuton-premium-ui .legal-check{background:linear-gradient(145deg,rgba(15,34,57,.96),rgba(8,19,34,.96));border-color:rgba(126,183,235,.16);box-shadow:0 12px 34px rgba(0,0,0,.18);color:#eef7ff}
.shuton-premium-ui .panel strong,.shuton-premium-ui .setting>span:first-child,.shuton-premium-ui .goal-card strong{color:#eef7ff}
.shuton-premium-ui input,.shuton-premium-ui select,.shuton-premium-ui textarea{background:#09182a!important;border-color:rgba(131,184,234,.18)!important;color:#eef7ff!important;box-shadow:inset 0 1px rgba(255,255,255,.025)}
.shuton-premium-ui input::placeholder,.shuton-premium-ui textarea::placeholder{color:#71849e}
.shuton-premium-ui .secondary,.shuton-premium-ui .mini,.shuton-premium-ui .text-button{background:rgba(255,255,255,.045);border-color:rgba(128,181,232,.18);color:#dcecff}
.shuton-premium-ui .primary{background:linear-gradient(135deg,#43d8ff,#5580ff 54%,#7e61ff);box-shadow:0 12px 32px rgba(64,126,255,.23)}
.shuton-premium-ui .choice{background:linear-gradient(145deg,rgba(17,39,65,.96),rgba(10,24,42,.96));border-color:rgba(126,183,235,.16);color:#eef7ff}.shuton-premium-ui .choice strong,.shuton-premium-ui .choice span{color:inherit}
.shuton-premium-ui .choice.selected{border-color:#54cbff;background:linear-gradient(145deg,rgba(34,73,111,.98),rgba(35,45,92,.98));box-shadow:0 0 0 1px rgba(84,203,255,.25),0 12px 32px rgba(0,0,0,.22)}
.shuton-premium-ui .pill{background:rgba(73,129,196,.13);color:#cce7ff;border:1px solid rgba(113,177,234,.14)}.shuton-premium-ui .pill.good{background:rgba(49,180,139,.12);color:#98efd1;border-color:rgba(92,231,189,.18)}
.shuton-premium-ui .notice{background:rgba(165,118,30,.12);color:#e6c98e;border-color:rgba(218,170,77,.18)}.shuton-premium-ui .success{background:rgba(44,166,120,.12);color:#9ae6c9;border-color:rgba(92,231,189,.18)}
.shuton-premium-ui .tabs{border:1px solid rgba(113,174,230,.18);background:rgba(7,17,31,.92);box-shadow:0 12px 44px rgba(0,0,0,.38);backdrop-filter:blur(24px)}.shuton-premium-ui .tab{color:#8295ae}.shuton-premium-ui .tab.active{background:linear-gradient(145deg,rgba(67,216,255,.12),rgba(138,99,255,.14));color:#ecf9ff}
.shuton-premium-ui a{color:#72dfff}.shuton-premium-ui hr{border-color:rgba(126,183,235,.14)}

/* R40 commerce UX */
.shuton-premium-ui .usage-popover{background:linear-gradient(180deg,#0d2139,#081729);border-color:rgba(116,183,242,.22);color:#eef8ff;box-shadow:0 26px 80px rgba(0,0,0,.5)}
.shuton-premium-ui .usage-popover-head{padding-bottom:4px}.shuton-premium-ui .usage-meter{background:#132a45}.shuton-premium-ui .usage-meter span{background:linear-gradient(90deg,#5ce7bd,#43d8ff,#7d61ff)}
.shuton-premium-ui .usage-plan-column{background:linear-gradient(180deg,rgba(18,43,72,.96),rgba(11,27,47,.96));border-color:rgba(119,183,241,.17)}
.shuton-premium-ui .usage-live-column{background:radial-gradient(circle at 85% 0%,rgba(138,99,255,.18),transparent 40%),linear-gradient(180deg,rgba(18,40,72,.98),rgba(13,25,47,.98));border-color:rgba(138,99,255,.25)}
.shuton-premium-ui .usage-plan-heading>strong,.shuton-premium-ui .usage-wallet-card strong{color:#f2f8ff}.shuton-premium-ui .usage-plan-heading>small,.shuton-premium-ui .usage-wallet-card small{color:#9eb1c7}
.shuton-premium-ui .live-badge{background:linear-gradient(90deg,#7f61ff,#3ecfff);color:white}
.shuton-premium-ui .usage-addon-note{background:rgba(255,255,255,.035);border-color:rgba(126,183,235,.14);color:#b8c8db}
.shuton-premium-ui .usage-wallet-card{background:linear-gradient(145deg,#10243d,#0a1a2e);border-color:rgba(121,185,242,.18)}.shuton-premium-ui .usage-wallet-card span{color:#6edfff}
.shuton-premium-ui .usage-wallet-card button,.shuton-premium-ui #usageMembershipDetails{background:linear-gradient(135deg,rgba(67,216,255,.13),rgba(126,97,255,.16));border-color:rgba(102,196,255,.25);color:#eefaff}
.shuton-premium-ui .premium-addon-block{margin-top:16px;padding:14px;border:1px solid rgba(123,183,238,.16);border-radius:18px;background:linear-gradient(145deg,rgba(16,37,63,.9),rgba(9,23,41,.9))}
.shuton-premium-ui .premium-addon-block .live-plan-grid,.shuton-premium-ui #subscriptionPanel .plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.shuton-premium-ui #subscriptionPanel .plan-grid .choice,.shuton-premium-ui .premium-addon-block .choice{min-width:0}
.shuton-premium-ui .premium-credit-packs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}
.shuton-premium-ui .live-price{color:#75ddff!important}
.shuton-premium-ui #accountUsageCard{border-color:rgba(67,216,255,.18);background:radial-gradient(circle at 90% 0%,rgba(67,216,255,.11),transparent 36%),linear-gradient(145deg,#10243d,#09192b)}
.shuton-premium-ui #accountUsagePercent{font-size:24px;background:linear-gradient(90deg,#64e6ff,#9275ff);-webkit-background-clip:text;background-clip:text;color:transparent}
@media(max-width:520px){.shuton-premium-ui .usage-plan-columns{grid-template-columns:1fr}.shuton-premium-ui #subscriptionPanel .plan-grid,.shuton-premium-ui .premium-addon-block .live-plan-grid,.shuton-premium-ui .premium-credit-packs{grid-template-columns:1fr}.shuton-premium-ui .usage-popover{top:12px;bottom:calc(12px + env(safe-area-inset-bottom));max-height:none;height:auto;overflow:auto}}

/* R40 narrow-screen polish */
.shuton-premium-ui [data-screen="welcome"]{overflow-x:hidden}
.shuton-premium-ui .hero-rc20{max-width:100%;padding-left:4px;padding-right:4px}
.shuton-premium-ui .hero-rc20 h1{width:100%;max-width:100%;padding:0 2px;font-size:clamp(30px,8.4vw,37px);line-height:1.06;letter-spacing:-1.2px;overflow-wrap:normal;word-break:normal}
.shuton-premium-ui .hero-rc20 .tagline{width:100%;max-width:360px;padding:0 4px;font-size:clamp(16px,4.2vw,18px);overflow-wrap:anywhere}
.shuton-premium-ui .hero-actions{width:min(100%,390px);margin-left:auto;margin-right:auto}
.shuton-premium-ui .trust-row{max-width:100%;padding:0 4px}.shuton-premium-ui .hero-foot{max-width:100%;padding:0 8px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:430px){.shuton-premium-ui .screen[data-screen="welcome"]{padding-left:14px;padding-right:14px}.shuton-premium-ui .hero-rc20 h1{font-size:clamp(29px,8.2vw,34px)}.shuton-premium-ui .hero-rc20::before{width:220px;height:220px}}
@media(max-width:360px){.shuton-premium-ui .hero-rc20 h1{font-size:28px}.shuton-premium-ui .hero-rc20 .tagline{font-size:15px}.shuton-premium-ui .trust-row span{font-size:9px;padding:5px 7px}}

.premium-action .premium-action-icon{display:grid;place-items:center;width:24px;height:24px;color:#dff6ff;filter:drop-shadow(0 0 12px rgba(67,216,255,.18))}
.premium-action .premium-action-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.premium-action[data-action="create"] .premium-action-icon,.premium-action[data-action="live"] .premium-action-icon{color:#cbbcff}

/* R40.1 mobile conversation hierarchy: avatar first, then talk/write, then commerce. */
.shuton-premium-ui #stage .caption-copy{display:none!important}
.shuton-premium-ui #stage #callModeBtn{display:none!important}
.shuton-premium-ui .sound-dock{position:static!important;inset:auto!important;max-width:none!important;margin:0!important;background:transparent!important;display:flex;align-items:center}
.shuton-premium-ui .sound-dock button{width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;margin:0!important;border-radius:999px!important;font-size:17px!important;display:grid!important;place-items:center!important;line-height:1!important;box-shadow:none!important;white-space:nowrap!important}
.shuton-premium-ui .ask-shell{position:relative;z-index:5;margin:10px 0 0!important;padding:13px!important}
.shuton-premium-ui .ask-title{margin-bottom:6px}.shuton-premium-ui .ask-title strong{font-size:17px}.shuton-premium-ui .ask-title small{font-size:11px;line-height:1.35}
.shuton-premium-ui #voiceBtn::after{content:attr(data-label);font-size:13px;font-weight:800;margin-left:7px}
.shuton-premium-ui #voiceBtn{display:flex;align-items:center;justify-content:center;gap:2px}
.shuton-premium-ui .premium-action-rail{margin-top:9px}
.shuton-premium-ui .premium-live-card{margin-top:9px}.shuton-premium-ui .home-commerce-strip{margin-top:9px}
@media(max-width:520px){
 .shuton-premium-ui .rc20-presence .avatar-stage.immersive{height:clamp(360px,50dvh,460px)!important;min-height:0!important;max-height:460px!important}
 .shuton-premium-ui .home-screen .ask-shell{margin:8px 0 0!important;padding:12px!important;border-radius:20px!important}
 .shuton-premium-ui .command-composer{display:grid!important;grid-template-columns:48px minmax(0,1fr) 48px!important;grid-template-rows:50px 50px!important;gap:8px!important;margin-top:9px!important}
 .shuton-premium-ui .command-composer #voiceBtn{grid-column:1/-1!important;grid-row:1!important;width:100%!important;min-width:0!important;height:50px!important;border-radius:16px!important;font-size:20px!important;background:linear-gradient(135deg,#428df7,#725fff)!important;box-shadow:0 10px 26px rgba(76,111,244,.28)!important}
 .shuton-premium-ui .command-composer #toolsToggleBtn{grid-column:1!important;grid-row:2!important;width:48px!important;min-width:48px!important;height:50px!important}
 .shuton-premium-ui .command-composer #chatInput{grid-column:2!important;grid-row:2!important;width:100%!important;height:50px!important;min-height:50px!important}
 .shuton-premium-ui .command-composer #sendBtn{grid-column:3!important;grid-row:2!important;width:48px!important;min-width:48px!important;height:50px!important}
 .shuton-premium-ui .smart-shortcuts{margin-top:9px!important}
 .shuton-premium-ui .premium-action-rail{grid-template-columns:repeat(6,minmax(0,1fr))!important;overflow-x:auto!important;scrollbar-width:none!important;padding:7px!important}
 .shuton-premium-ui .premium-action-rail::-webkit-scrollbar{display:none}.shuton-premium-ui .premium-action{min-width:62px!important;min-height:54px!important}
}
@media(max-width:390px){.shuton-premium-ui .rc20-presence .avatar-stage.immersive{height:clamp(340px,48dvh,420px)!important}.shuton-premium-ui .ask-title small{font-size:10px}}


/* R41 competitive UX: fast work modes and source-first research presentation. */
.shuton-premium-ui .premium-mode-rail{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:8px 0 0;padding:2px 1px 3px;overscroll-behavior-x:contain}
.shuton-premium-ui .premium-mode-rail::-webkit-scrollbar{display:none}
.shuton-premium-ui .premium-mode{flex:0 0 auto;min-height:36px;padding:7px 11px;border:1px solid rgba(126,183,235,.14);border-radius:999px;background:rgba(255,255,255,.035);color:#aebfd3;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
.shuton-premium-ui .premium-mode span{font-size:12px;color:#72dfff}
.shuton-premium-ui .premium-mode:hover,.shuton-premium-ui .premium-mode:focus-visible{outline:none;background:rgba(67,216,255,.08);border-color:rgba(91,207,255,.30);color:#eef9ff}
.shuton-premium-ui .premium-mode:active{transform:scale(.97)}
.shuton-premium-ui .premium-mode.active{background:linear-gradient(135deg,rgba(67,216,255,.16),rgba(126,97,255,.20));border-color:rgba(92,208,255,.36);color:#f5fbff;box-shadow:0 8px 24px rgba(34,116,200,.12)}
.shuton-premium-ui .bubble.bot .sources{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:10px;padding-top:9px;border-top:1px solid rgba(133,190,239,.12);font-size:10px;color:#8297b2}
.shuton-premium-ui .bubble.bot .sources a{display:inline-flex;align-items:center;max-width:210px;min-height:28px;padding:5px 9px;border:1px solid rgba(109,190,242,.20);border-radius:999px;background:rgba(67,216,255,.055);color:#aeeaff;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shuton-premium-ui .bubble.bot .sources a:hover,.shuton-premium-ui .bubble.bot .sources a:focus-visible{outline:none;background:rgba(67,216,255,.11);border-color:rgba(96,211,255,.38);color:#effcff}
.shuton-premium-ui .response-provenance{margin-top:8px;padding:7px 9px;border:1px solid rgba(126,183,235,.12);border-radius:12px;background:rgba(255,255,255,.025);color:#aebfd3}
.shuton-premium-ui .response-provenance summary{cursor:pointer;font-size:10px;font-weight:800;color:#cfe6fb}
.shuton-premium-ui .response-provenance ul{margin:7px 0 0;padding-left:18px;font-size:10px;line-height:1.45}
@media(max-width:520px){.shuton-premium-ui .premium-mode-rail{margin-top:7px}.shuton-premium-ui .premium-mode{min-height:34px;padding:6px 10px}.shuton-premium-ui .bubble.bot .sources{gap:5px}.shuton-premium-ui .bubble.bot .sources a{max-width:180px}}
@media(prefers-reduced-motion:reduce){.shuton-premium-ui .premium-mode{transition:none}}

.shuton-premium-ui .premium-project-context{display:flex;align-items:center;gap:7px;margin:5px 0 0;padding:7px 10px;border:1px solid rgba(138,99,255,.22);border-radius:13px;background:linear-gradient(135deg,rgba(86,73,190,.12),rgba(49,153,218,.08));color:#dfe9ff;font-size:10px;min-width:0}
.shuton-premium-ui .premium-project-context.hidden{display:none}
.shuton-premium-ui .premium-project-context>span{color:#c8b9ff;font-size:13px}.shuton-premium-ui .premium-project-context strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.shuton-premium-ui .premium-project-context button{width:24px;height:24px;min-width:24px;border:1px solid rgba(145,184,235,.16);border-radius:999px;background:rgba(255,255,255,.045);color:#cbd9ea;display:grid;place-items:center;cursor:pointer}
.shuton-premium-ui .premium-project-context button:hover,.shuton-premium-ui .premium-project-context button:focus-visible{outline:none;background:rgba(255,255,255,.09);color:#fff}


/* R42 discoverability: mode-aware prompt starters inspired by leading AI assistants. */
.shuton-premium-ui .premium-suggestion-rail{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;margin:5px 0 0;padding:2px 1px 3px;overscroll-behavior-x:contain}
.shuton-premium-ui .premium-suggestion-rail::-webkit-scrollbar{display:none}
.shuton-premium-ui .premium-suggestion{flex:0 0 auto;max-width:260px;min-height:31px;padding:6px 10px;border:1px solid rgba(126,183,235,.12);border-radius:11px;background:linear-gradient(145deg,rgba(255,255,255,.035),rgba(67,216,255,.025));color:#9fb4cc;font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.shuton-premium-ui .premium-suggestion::before{content:'?';margin-right:6px;color:#65dfff}
.shuton-premium-ui .premium-suggestion:hover,.shuton-premium-ui .premium-suggestion:focus-visible{outline:none;color:#eefaff;border-color:rgba(96,211,255,.30);background:rgba(67,216,255,.075)}
@media(max-width:520px){.shuton-premium-ui .premium-suggestion-rail{margin-top:4px}.shuton-premium-ui .premium-suggestion{max-width:220px;min-height:30px;padding:6px 9px}}


/* R43 artifact outputs: polished, file-type-aware result cards. */
.shuton-premium-ui .shuton-artifact-stack{gap:8px;padding:10px 0 0;border-top:1px solid rgba(116,180,232,.14)}
.shuton-premium-ui .shuton-artifact-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:1px}.shuton-premium-ui .shuton-artifact-head>strong{font-size:11px;color:#d9ebfb}.shuton-premium-ui .shuton-artifact-head>small{font-size:9px;color:#7890aa;text-align:right}
.shuton-premium-ui .shuton-artifact-card{width:100%;min-height:56px;padding:9px 10px;border:1px solid rgba(113,187,239,.16);border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(53,147,220,.045));color:#e9f6ff;display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:9px;text-align:left;cursor:pointer;box-shadow:0 8px 24px rgba(5,21,43,.10);transition:transform .16s ease,border-color .16s ease,background .16s ease}
.shuton-premium-ui .shuton-artifact-card:hover,.shuton-premium-ui .shuton-artifact-card:focus-visible{outline:none;transform:translateY(-1px);border-color:rgba(93,210,255,.34);background:linear-gradient(145deg,rgba(67,216,255,.08),rgba(126,97,255,.08))}
.shuton-premium-ui .shuton-artifact-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(62,206,255,.13),rgba(118,93,245,.15));border:1px solid rgba(115,204,255,.18);font-size:15px;color:#8ee8ff}
.shuton-premium-ui .shuton-artifact-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.shuton-premium-ui .shuton-artifact-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#f4fbff}.shuton-premium-ui .shuton-artifact-copy small{font-size:9px;color:#8399b2}
.shuton-premium-ui .shuton-artifact-action{width:26px;height:26px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.045);color:#82e2ff;font-size:15px}
@media(max-width:520px){.shuton-premium-ui .shuton-artifact-head{align-items:flex-start;flex-direction:column;gap:2px}.shuton-premium-ui .shuton-artifact-head>small{text-align:left}.shuton-premium-ui .shuton-artifact-card{min-height:54px;grid-template-columns:32px minmax(0,1fr) 26px}}
@media(prefers-reduced-motion:reduce){.shuton-premium-ui .shuton-artifact-card{transition:none}}

/* R43: readable dark learning/diagnostic surfaces and AvatarLive showcase. */
.shuton-premium-ui .learning-tools button{background:linear-gradient(145deg,#10243d,#09192c)!important;border-color:rgba(126,183,235,.18)!important;color:#eef7ff!important;box-shadow:0 10px 28px rgba(0,0,0,.16)}
.shuton-premium-ui .learning-tools button strong{color:#eef7ff!important}
.shuton-premium-ui .learning-tools button span{color:#9fb1c8!important}
.shuton-premium-ui .learning-tools button:hover,.shuton-premium-ui .learning-tools button:focus-visible{outline:none;border-color:rgba(91,207,255,.38)!important;background:linear-gradient(145deg,#153252,#102442)!important;box-shadow:0 0 0 1px rgba(91,207,255,.10),0 12px 30px rgba(0,0,0,.22)}
.shuton-premium-ui .learning-studio .field>span,.shuton-premium-ui .screen[data-screen="settings"] .field>span{color:#cfe6fb!important;font-weight:800}
.shuton-premium-ui .knowledge-map{background:linear-gradient(145deg,#10243d,#09192c)!important;border:1px solid rgba(126,183,235,.15)}
.shuton-premium-ui .knowledge-node{background:#0b1d33!important;color:#eef7ff!important;border-color:#618fd0}.shuton-premium-ui .knowledge-node strong{color:#eef7ff!important}
.shuton-premium-ui .provenance-panel{background:#0b1d33!important;border-left-color:#54cfff!important;color:#b8c8dc!important}
.shuton-premium-ui .diagnostics{background:#09182a!important;color:#cfe6fb!important;border:1px solid rgba(126,183,235,.16);box-shadow:inset 0 1px rgba(255,255,255,.025);min-height:0}
.shuton-premium-ui .diagnostics:empty{display:none!important}
.shuton-premium-ui .screen[data-screen="settings"] .panel .button-row .secondary{background:rgba(255,255,255,.045)!important;color:#dcecff!important;border-color:rgba(128,181,232,.18)!important}
.live-showcase-open{overflow:hidden}
.avatar-live-showcase{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom));background:rgba(2,7,14,.78);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.avatar-live-showcase.hidden{display:none!important}
.avatar-live-showcase-card{width:min(100%,430px);max-height:calc(100dvh - 36px);overflow:auto;padding:16px;border:1px solid rgba(133,190,242,.24);border-radius:26px;background:radial-gradient(circle at 85% 0%,rgba(138,99,255,.20),transparent 34%),linear-gradient(180deg,#0d2038,#071525);color:#eef8ff;box-shadow:0 34px 100px rgba(0,0,0,.58)}
.avatar-live-showcase-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.avatar-live-showcase-head h3{margin:3px 0 0;color:#f7fbff;font-size:21px;line-height:1.12}.avatar-live-showcase-head .mini{width:38px;min-width:38px;height:38px;margin:0;border-radius:999px;font-size:20px}
.avatar-live-showcase-preview{position:relative;height:210px;margin:14px 0;border:1px solid rgba(105,192,255,.22);border-radius:22px;overflow:hidden;background:radial-gradient(circle at 50% 26%,rgba(81,197,255,.23),transparent 26%),radial-gradient(circle at 52% 82%,rgba(129,91,255,.30),transparent 35%),linear-gradient(145deg,#07182a,#0d2240)}
.avatar-live-showcase-preview::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,.055) 44%,transparent 63%);transform:translateX(-120%);animation:liveShowcaseSweep 4.2s ease-in-out infinite}
.showcase-live-badge{position:absolute;top:12px;left:12px;z-index:3;padding:5px 8px;border-radius:999px;background:linear-gradient(90deg,#7f61ff,#3ecfff);font-size:9px;font-weight:900;letter-spacing:.12em;color:#fff}
.showcase-preview-label{position:absolute;left:12px;bottom:10px;z-index:3;font-size:9px;font-weight:850;letter-spacing:.12em;color:#a9c8e6}
.showcase-human{position:absolute;left:50%;top:28px;width:120px;height:176px;transform:translateX(-50%);filter:drop-shadow(0 18px 26px rgba(0,0,0,.34))}
.showcase-head{position:absolute;left:50%;top:0;width:60px;height:72px;transform:translateX(-50%);border-radius:46% 46% 42% 42%;background:linear-gradient(160deg,#d8b096,#b47f6a 56%,#8d5e4c);box-shadow:inset 0 -12px 18px rgba(71,38,28,.16)}
.showcase-head::before{content:"";position:absolute;left:11px;right:11px;top:-7px;height:30px;border-radius:70% 70% 35% 35%;background:#38271f}
.showcase-head::after{content:"";position:absolute;left:23px;bottom:16px;width:14px;height:3px;border-radius:999px;background:#6d3d39;animation:liveShowcaseTalk .72s ease-in-out infinite}
.showcase-body{position:absolute;left:50%;bottom:0;width:112px;height:112px;transform:translateX(-50%);border-radius:50% 50% 18% 18%/38% 38% 12% 12%;background:linear-gradient(160deg,#20509e,#3f69c9 55%,#273f86)}
.showcase-speech{position:absolute;right:35px;top:74px;display:flex;align-items:center;gap:4px;height:52px}.showcase-speech i{display:block;width:4px;border-radius:999px;background:linear-gradient(180deg,#62e4ff,#9b79ff);animation:liveShowcaseWave 1s ease-in-out infinite}.showcase-speech i:nth-child(1){height:15px}.showcase-speech i:nth-child(2){height:31px;animation-delay:.1s}.showcase-speech i:nth-child(3){height:45px;animation-delay:.2s}.showcase-speech i:nth-child(4){height:28px;animation-delay:.3s}.showcase-speech i:nth-child(5){height:18px;animation-delay:.4s}
.live-showcase-copy,.live-showcase-human{margin:9px 0;color:#c8d6e8;line-height:1.45;font-size:13px}.live-showcase-human{padding:10px 12px;border:1px solid rgba(126,183,235,.13);border-radius:14px;background:rgba(255,255,255,.03);color:#aeeaff}
.live-showcase-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.live-showcase-actions button{margin-top:0!important;min-height:48px}.live-showcase-note{margin:10px 2px 0!important;line-height:1.4;color:#849ab5!important}
.live-showcase-link{width:100%;min-height:40px;margin:8px 0 10px;border:1px solid rgba(91,207,255,.30);border-radius:13px;background:linear-gradient(135deg,rgba(67,216,255,.10),rgba(138,99,255,.14));color:#dff7ff;font-weight:800}
@keyframes liveShowcaseWave{0%,100%{transform:scaleY(.55);opacity:.6}50%{transform:scaleY(1.08);opacity:1}}@keyframes liveShowcaseTalk{0%,100%{transform:scaleY(.65)}50%{transform:scaleY(1.8)}}@keyframes liveShowcaseSweep{0%,55%{transform:translateX(-120%)}80%,100%{transform:translateX(130%)}}
@media(max-width:430px){.avatar-live-showcase-card{padding:14px;border-radius:23px}.avatar-live-showcase-preview{height:190px}.showcase-human{transform:translateX(-50%) scale(.9);transform-origin:50% 100%}.live-showcase-actions{grid-template-columns:1fr}.avatar-live-showcase-head h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.avatar-live-showcase-preview::before,.showcase-head::after,.showcase-speech i{animation:none!important}}

@media(max-width:520px){.shuton-premium-ui .premium-action[data-action="live"] strong{font-size:9px;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.05;text-align:center}.shuton-premium-ui .premium-action[data-action="live"]{min-width:66px!important}}


/* R44 iPhone viewport integrity + persistent conversation access. */
@media(max-width:719px){
 html,body{width:100%;max-width:100%;overflow-x:hidden!important;overscroll-behavior-x:none;background:#050b15}
 body{min-height:100dvh}
 .shuton-premium-ui .shell{width:100%!important;max-width:100%!important;min-width:0!important;margin-inline:0!important;overflow-x:clip!important}
 .shuton-premium-ui .screen,.shuton-premium-ui .home-screen,.shuton-premium-ui .top,.shuton-premium-ui .presence-shell,.shuton-premium-ui .ask-shell,.shuton-premium-ui .panel,.shuton-premium-ui .premium-live-card,.shuton-premium-ui .home-commerce-strip{max-width:100%;min-width:0}
 .shuton-premium-ui input,.shuton-premium-ui textarea,.shuton-premium-ui select{font-size:16px!important}
 .shuton-premium-ui .premium-action-rail,.shuton-premium-ui .premium-mode-rail,.shuton-premium-ui .premium-suggestion-rail,.shuton-premium-ui .smart-shortcuts{width:100%;max-width:100%;min-width:0;overscroll-behavior-x:contain}
 .shuton-premium-ui .premium-action-rail,.shuton-premium-ui .premium-mode-rail,.shuton-premium-ui .premium-suggestion-rail{overflow-x:auto!important;overflow-y:hidden}
 .shuton-premium-ui .premium-mode,.shuton-premium-ui .premium-suggestion,.shuton-premium-ui .premium-action{max-width:min(78vw,260px)}
 .shuton-premium-ui .tabs,.shuton-premium-ui .tabs.show,.shuton-premium-ui .shell:has(.home-screen.active) .tabs.show{width:calc(100% - 16px)!important;max-width:464px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;margin:0!important}
 .shuton-premium-ui .screen,.shuton-premium-ui .home-screen.active{padding-bottom:calc(164px + env(safe-area-inset-bottom))!important}
 .shuton-premium-ui.conversation-dock-visible .home-screen.active{padding-bottom:calc(220px + env(safe-area-inset-bottom))!important}
 .shuton-premium-ui #transcriptSheet{width:100%;max-width:100%;min-width:0}
 .shuton-premium-ui #transcriptSheet:not(.collapsed){max-height:min(72dvh,700px);overflow:hidden}
 .shuton-premium-ui #transcriptSheet .chat{max-height:min(46dvh,520px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-right:2px}
 .shuton-premium-ui #transcriptSheet .chat-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
 .shuton-premium-ui #transcriptSheet .chat-actions .mini{flex:0 0 auto;white-space:nowrap!important;overflow-wrap:normal!important}
 .shuton-premium-ui #transcriptSheet .chat-actions .small{min-width:0;flex:1 1 140px;overflow-wrap:anywhere}
 .shuton-premium-ui #transcriptSheet:not(.collapsed){scroll-margin-top:18px;scroll-margin-bottom:calc(118px + env(safe-area-inset-bottom));box-shadow:0 18px 48px rgba(0,0,0,.22)}
 .shuton-premium-ui #transcriptToggle.active{border-color:rgba(73,190,255,.72);background:linear-gradient(135deg,rgba(50,148,226,.24),rgba(112,82,225,.22));color:#eef8ff}
 .shuton-premium-ui .ai-disclaimer{max-width:100%;overflow-wrap:anywhere}
}

.shuton-premium-ui .notification-drawer{z-index:12000!important;overscroll-behavior:contain;padding-top:env(safe-area-inset-top)}
.shuton-premium-ui .notification-drawer-card{width:min(100%,480px);max-height:calc(100dvh - env(safe-area-inset-top));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;background:linear-gradient(180deg,#0d2038,#071525)!important;color:#eef8ff!important;border:1px solid rgba(126,183,235,.18);box-shadow:0 -22px 70px rgba(0,0,0,.5)}
.shuton-premium-ui .notification-drawer-card h3{color:#f5f9ff}
.shuton-premium-ui .notification-drawer-card .small{color:#a8bad0!important}
.shuton-premium-ui .notification-drawer-card .notification-item{background:#10243d;border-color:rgba(126,183,235,.16);color:#eaf5ff}
.shuton-premium-ui .notification-drawer-card .notification-item-head{color:#f2f8ff}
.shuton-premium-ui .notification-drawer-card .notification-item-head small{color:#93a8c0}
.shuton-premium-ui .notification-drawer-card .secondary{background:rgba(255,255,255,.055)!important;color:#eaf5ff!important;border-color:rgba(126,183,235,.20)!important}
body:has(.notification-drawer:not(.hidden)),body:has(.avatar-live-showcase:not(.hidden)){overflow:hidden!important}
body:has(.notification-drawer:not(.hidden)) .tabs,body:has(.notification-drawer:not(.hidden)) .persistent-conversation-dock,body:has(.avatar-live-showcase:not(.hidden)) .persistent-conversation-dock{visibility:hidden!important;pointer-events:none!important}

.persistent-conversation-dock{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(90px + env(safe-area-inset-bottom));z-index:950;width:min(calc(100% - 24px),456px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:8px;border:1px solid rgba(113,180,239,.22);border-radius:20px;background:rgba(7,20,38,.94);box-shadow:0 18px 48px rgba(0,0,0,.42);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.persistent-conversation-dock.hidden{display:none!important}
.persistent-conversation-dock button{min-width:0;min-height:46px;margin:0;border-radius:14px;border:1px solid rgba(120,184,241,.18);font-weight:850;font-size:13px}
.persistent-conversation-dock .persistent-talk{background:linear-gradient(135deg,#428df7,#725fff);color:#fff}
.persistent-conversation-dock .persistent-write{background:#10243d;color:#e9f6ff}
@media(min-width:720px){.persistent-conversation-dock{display:none!important}}

/* R43.1: creation hub and clearer live visual states. */
.shuton-premium-ui .creator-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}
.shuton-premium-ui .creator-choice-grid button{min-height:92px;padding:12px;border:1px solid rgba(126,183,235,.18);border-radius:16px;background:linear-gradient(145deg,#10243d,#09192c);color:#eef7ff;text-align:left;box-shadow:0 10px 28px rgba(0,0,0,.16)}
.shuton-premium-ui .creator-choice-grid button:hover,.shuton-premium-ui .creator-choice-grid button:focus-visible{outline:none;border-color:rgba(91,207,255,.38);background:linear-gradient(145deg,#153252,#102442)}
.shuton-premium-ui .creator-choice-grid button>span{display:block;margin-bottom:7px;color:#74defc;font-size:21px}.shuton-premium-ui .creator-choice-grid button strong{display:block;color:#f4fbff;font-size:13px}.shuton-premium-ui .creator-choice-grid button small{display:block;margin-top:4px;color:#9fb1c8;font-size:10px;line-height:1.35}.shuton-premium-ui .creator-choice-note{margin-top:8px!important}
@media(max-width:390px){.shuton-premium-ui .creator-choice-grid{grid-template-columns:1fr 1fr;gap:7px}.shuton-premium-ui .creator-choice-grid button{min-height:86px;padding:10px}}


/* R45 mobile control visibility: one prominent voice button + five always-visible tools. */
@media(max-width:520px){
 .shuton-premium-ui .premium-action-rail{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;overflow:hidden!important;scrollbar-width:none!important;padding:6px!important}
 .shuton-premium-ui .premium-action[data-action="voice"]{display:none!important}
 .shuton-premium-ui .premium-action{min-width:0!important;min-height:54px!important;padding:6px 2px!important}
 .shuton-premium-ui .premium-action strong{font-size:9px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.08!important;text-align:center!important}
 .shuton-premium-ui .premium-mode-rail{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important;margin-top:7px!important;overflow:visible!important;padding-inline:0!important}
 .shuton-premium-ui .premium-mode{min-width:0!important;min-height:38px!important;padding:5px 2px!important;justify-content:center!important;text-align:center!important}
 .shuton-premium-ui .premium-mode strong{font-size:8.5px!important;line-height:1.05!important;white-space:normal!important}
 .shuton-premium-ui .premium-live-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:9px 10px!important;border-radius:16px!important}
 .shuton-premium-ui .premium-live-head{margin:0!important;min-width:0}.shuton-premium-ui .premium-live-orb{display:none!important}
 .shuton-premium-ui .premium-live-head strong{font-size:12px!important}.shuton-premium-ui .premium-live-head small{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:9px!important;line-height:1.25!important}
 .shuton-premium-ui .premium-live-cta{width:auto!important;min-width:104px!important;min-height:40px!important;padding:8px 10px!important;font-size:10px!important;line-height:1.15!important}
}
.shuton-premium-ui .creator-choice-grid button:disabled{opacity:.48;cursor:not-allowed;filter:saturate(.55);box-shadow:none}
.shuton-premium-ui .live-billing-plan[aria-busy="true"],.shuton-premium-ui .credit-pack[aria-busy="true"]{opacity:.72!important;cursor:progress!important;filter:saturate(.8)}
.shuton-premium-ui .live-billing-plan[aria-busy="true"]::after,.shuton-premium-ui .credit-pack[aria-busy="true"]::after{content:'Procesando…';display:block;margin-top:5px;font-size:10px;font-weight:800;color:#9fdcff}
/* R46: reliable session-history bottom sheet on iPhone/mobile. */
.shuton-premium-ui.transcript-open{overflow:hidden!important}
.shuton-premium-ui.transcript-open::before{content:"";position:fixed;inset:0;z-index:12450;background:rgba(1,7,15,.58);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);pointer-events:auto}
.shuton-premium-ui #transcriptSheet:not(.collapsed){
 position:fixed!important;z-index:12500!important;
 left:50%!important;right:auto!important;bottom:calc(12px + env(safe-area-inset-bottom))!important;
 transform:translateX(-50%)!important;
 width:min(480px,calc(100vw - 20px))!important;max-width:480px!important;
 max-height:min(76dvh,720px)!important;margin:0!important;padding:14px!important;
 overflow:hidden!important;border:1px solid rgba(118,183,241,.24)!important;border-radius:24px!important;
 background:linear-gradient(180deg,#0d2139,#071526)!important;
 box-shadow:0 28px 90px rgba(0,0,0,.62)!important;opacity:1!important;pointer-events:auto!important;
}
.shuton-premium-ui #transcriptSheet:not(.collapsed) .sheet-handle{background:rgba(170,204,235,.42)}
.shuton-premium-ui #transcriptSheet:not(.collapsed) .chat{max-height:calc(min(76dvh,720px) - 132px)!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch}
.shuton-premium-ui.transcript-open .tabs,.shuton-premium-ui.transcript-open .persistent-conversation-dock{visibility:hidden!important;pointer-events:none!important}
.shuton-premium-ui #transcriptToggle.active{border-color:rgba(83,210,255,.42)!important;background:linear-gradient(135deg,rgba(67,216,255,.14),rgba(126,97,255,.18))!important;color:#f3fbff!important}
@media(max-width:520px){
 .shuton-premium-ui #transcriptSheet:not(.collapsed){bottom:calc(8px + env(safe-area-inset-bottom))!important;width:calc(100vw - 14px)!important;max-height:82dvh!important;border-radius:22px!important}
 .shuton-premium-ui #transcriptSheet:not(.collapsed) .chat{max-height:calc(82dvh - 132px)!important}
}

/* R46.1: explicit active state for AvatarLive. */
.shuton-premium-ui .premium-action[data-action="live"].active{border-color:rgba(108,216,255,.55)!important;background:linear-gradient(145deg,rgba(51,184,232,.18),rgba(126,92,255,.24))!important;box-shadow:0 0 0 1px rgba(98,205,255,.12),0 8px 24px rgba(64,86,220,.18)!important}

/* R46.2: clean commerce hierarchy on narrow phones. */
.shuton-premium-ui .live-billing-plan>div{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:3px!important;width:100%!important;min-width:0!important}
.shuton-premium-ui .live-billing-plan>div>strong,.shuton-premium-ui .live-billing-plan>div>span,.shuton-premium-ui .live-billing-plan>div>small{display:block!important;width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere}
.shuton-premium-ui .live-billing-plan .live-price{margin:1px 0 0!important;line-height:1.25!important}
.shuton-premium-ui .live-billing-plan .live-availability{margin-top:4px!important;padding-top:4px!important;border-top:1px solid rgba(126,183,235,.12);line-height:1.3!important}
.shuton-premium-ui .credit-pack-panel .credit-pack{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:3px!important}
.shuton-premium-ui .credit-pack-panel .credit-pack strong,.shuton-premium-ui .credit-pack-panel .credit-pack span{width:100%!important;text-align:left!important}
.shuton-premium-ui #transcriptToggle,.shuton-premium-ui #transcriptCloseBtn,.shuton-premium-ui .premium-live-cta,.shuton-premium-ui .premium-action[data-action="live"],.shuton-premium-ui .live-billing-plan,.shuton-premium-ui .credit-pack{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.shuton-premium-ui .live-billing-plan,.shuton-premium-ui .credit-pack{min-height:52px!important}
