/* SS AI H5: shared presentation. Business state and semantic reward colours remain in their modules. */
:root {
  --ss-purple: #b0b3ff;
  --ss-purple-soft: #c7b8f2;
  --ss-page: #0e0e0e;
  --ss-card: #191919;
  --ss-border: #ffffff24;
  --ss-glass: linear-gradient(180deg, #161616 0%, #373737 100%);
  --ss-glass-shadow: inset 0 1px 3px #ffffffb3, inset 0 -1px 3px #ffffff30;
  --task-app-tabbar-height: 82px;
  color-scheme: dark;
}
body[data-ss-page] { background: #000; color: #fffefb; }
body[data-ss-page] :focus-visible { outline: 2px solid var(--ss-purple); outline-offset: 3px; }
body[data-ss-page] .phone { border-radius: 0; }
body[data-ss-page] .task-tabbar-host { height: var(--task-app-tabbar-height); flex-basis: var(--task-app-tabbar-height); padding: 0 16px 16px; z-index: 50; }
body[data-ss-page] .task-app-tabbar { height: 64px; border: 1px solid #ffffff25; border-top-color: #ffffff80; border-radius: 999px; background: linear-gradient(180deg, #0a0a0ac4, #050505e8); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 #ffffff0d; }
body[data-ss-page] .task-app-tab { padding-top: 9px; gap: 4px; color: #737373; font-size: 10px; }
body[data-ss-page] .task-app-tab svg { width: 23px; height: 23px; }
body[data-ss-page] .task-app-tab.is-active { color: #fff; font-weight: 600; }
body[data-ss-page] .task-app-tab.is-active svg { stroke-width: 2.3; }
body[data-ss-page] .phone > .status,
body[data-ss-page] .scroll > .status,
body[data-ss-page] .app > .status { display: none; }
body[data-ss-page="tasks"] .task-center-frame,
body[data-ss-page="guild"] .scroll,
body[data-ss-page="invite"] .scroll,
body[data-ss-page="me"] .phone { background: url("assets/ss/guild-top-glow.png") center top / 100% auto no-repeat, #000; }
body[data-ss-page="tasks"] .task-title { background: none; color: #fff; }
body[data-ss-page="tasks"] .task-title-region { padding-top: 12px; height: 76px; }
body[data-ss-page="tasks"] .task-sticky-head { background: linear-gradient(180deg, #34264d44, #000); }
body[data-ss-page="tasks"] .collaboration-tabs { background: #ffffff29; box-shadow: inset 0 1px 0 #ffffff20; }
body[data-ss-page="tasks"] .collaboration-tab.is-active { background: #fff; color: #151515; }
body[data-ss-page="tasks"] .view-tabs-row { height: 62px; }
body[data-ss-page="tasks"] .view-tab { height: 36px; border: 1px solid #ffffff14; padding: 0 16px; }
body[data-ss-page="tasks"] .view-tab.is-active { background: #333; }
body[data-ss-page="tasks"] .task-card { background: var(--ss-card); border-color: transparent; padding: 22px 16px; }
body[data-ss-page="tasks"] .task-card-logo { width: 40px; height: 40px; }
body[data-ss-page="tasks"] .task-card-title { font-size: 15px; }
body[data-ss-page="tasks"] .task-card-desc { color: #8b8b8b; }
body[data-ss-page="guild"] .page-head { padding-top: 24px; min-height: 86px; }
body[data-ss-page="guild"] .guild-panel { border: 1px solid #ffffff66; border-radius: 16px; background: linear-gradient(150deg, #1414149c, #15151555); }
body[data-ss-page="guild"] .stat-card { border: 1px solid #ffffff35; border-radius: 14px; background: linear-gradient(150deg, #0a0a0a, #242424); }
body[data-ss-page="guild"] .role-option.is-active { background: #251e33; border-color: #8871bd; }
body[data-ss-page="guild"] .role-trigger { background: #211b2cf0; border-color: #8d77af70; color: #ddd0ff; }
body[data-ss-page="guild"] .section-title { color: #929292; }
body[data-ss-page="invite"] .page-head { position: relative; min-height: 190px; margin: 0 -16px; padding: 25px 16px 15px; overflow: hidden; }
body[data-ss-page="invite"] .title { position: relative; z-index: 1; font-size: 30px; line-height: 1.4; letter-spacing: -.04em; }
body[data-ss-page="invite"] .title span { color: #b3b6d4; }
.invite-hero-art { position: absolute; height: 205px; width: 100%; object-fit: contain; object-position: right bottom; mix-blend-mode: screen; right: -8px; bottom: -4px; pointer-events: none; }
body[data-ss-page="invite"] .invite-card { border: 1px solid #a99bc475; border-radius: 24px; background: linear-gradient(145deg, #1d123699, #100a23); padding: 16px 14px; }
body[data-ss-page="invite"] .points-label,
body[data-ss-page="invite"] .points-value { display: inline-block; font-size: 12px; margin: 0 4px 12px 0; }
body[data-ss-page="invite"] .points-value { color: var(--ss-purple); font-weight: 700; }
body[data-ss-page="invite"] .invite-field { border: 1px solid #ffffff14; border-radius: 999px; padding: 9px 44px 9px 22px; margin-bottom: 12px; }
body[data-ss-page="invite"] .copy-button { background: transparent; bottom: 14px; right: 16px; }
body[data-ss-page="invite"] .field-value { font-weight: 400; color: #8e889d; }
body[data-ss-page="invite"] .share-button { min-height: 54px; background: linear-gradient(180deg, #151220, #434050); }
body[data-ss-page="invite"] .talent-entry { min-height: 112px; padding: 15px 14px 15px 94px; border-color: #a59ab080; border-radius: 14px; background: url("assets/ss/talent-entry.png") 4px center / 88px auto no-repeat, linear-gradient(145deg, #27212e, #0c0b10); box-shadow: inset 0 1px 6px #ded0ff88; }
body[data-ss-page="invite"] .talent-entry > svg { display: none; }
body[data-ss-page="invite"] .talent-entry p { font-size: 12px; line-height: 18px; margin-top: 5px; }
body[data-ss-page="invite"] .talent-entry span { margin-top: 8px; font-size: 12px; }
body[data-ss-page="invite"] .item { background: linear-gradient(130deg, #121212, #070707); border: 1px solid #ffffff30; }
body[data-ss-page="invite"] .reward { color: var(--ss-purple); }
body[data-ss-page="me"] .account-head { min-height: 115px; }
body[data-ss-page="me"] .me-scroll { padding-top: 16px; }
body[data-ss-page="me"] .profile { margin-top: 22px; }
body[data-ss-page="me"] .avatar { width: 60px; height: 60px; border-color: #a789d7; background: linear-gradient(145deg, #382050, #0e0a15); }
body[data-ss-page="me"] .profile-name { font-size: 22px; }
body[data-ss-page="me"] .balance-card { padding: 26px 20px; border-radius: 22px; border-color: #ffffff50; background: linear-gradient(145deg, #101010a0, #050505); }
body[data-ss-page="me"] .asset-grid { gap: 6px; }
body[data-ss-page="me"] .asset-tile { min-height: 94px; padding: 14px 12px; border-radius: 16px; border-color: #ffffff35; background: linear-gradient(145deg, #111, #050505); }
body[data-ss-page="me"] .asset-value { font-size: 24px; }
body[data-ss-page="me"] .credits-card { border-radius: 13px; border-color: #b2a4bf; box-shadow: inset 0 3px 12px #c3b2d58a; background: linear-gradient(180deg, #292137, #08070b 60%); }
body[data-ss-page="me"] .credits-value strong { color: var(--ss-purple); }
body[data-ss-page="me"] .me-menu { overflow: visible; border: 0; background: none; }
body[data-ss-page="me"] .menu-row { margin-top: 12px; border: 1px solid #ffffff45; border-radius: 14px; background: linear-gradient(140deg, #101010, #050505); }
body[data-ss-page] :is(.manage-link,.share-button,.asset-button.primary,.mini-button,.save-button,.submit-button.is-ready,.sticky-submit button,.detail-primary,.primary-button,.action-button.primary,.subscription-submit) { border: 1px solid #ffffff6e; background: var(--ss-glass); box-shadow: var(--ss-glass-shadow); color: #fff; }
body[data-ss-page] :is(.confirm-card,.role-sheet-card,.detail-sheet-card,.sheet-card,.modal-card) { border-color: #72608270; border-radius: 22px; background-color: #17141c; }
body[data-ss-page] :is(input,textarea,select):focus { border-color: #a48cc9; }
body[data-ss-page] .subscription-phone { background: radial-gradient(ellipse 110% 300px at 55% 0%, #5c32e6ba, transparent 85%), #000; --member-accent: #d1c1ff; --member-soft: #8b5fe620; --member-border: #c9b9f970; }
body[data-ss-page] .subscription-phone[data-tier="max"] { background: radial-gradient(ellipse 110% 300px at 55% 0%, #846025a1, transparent 85%), #000; --member-accent: #efd095; --member-soft: #aa792320; --member-border: #efd09570; }
body[data-ss-page] .subscription-backdrop { opacity: .1; }
body[data-ss-page] .subscription-header { height: 58px; }
body[data-ss-page] .tier-navigation { padding: 2px 22px 8px; }
body[data-ss-page] .tier-tabs { padding: 3px; border-radius: 999px; }
body[data-ss-page] .tier-tab { min-height: 48px; padding: 7px 12px; border-radius: 999px; text-align: center; }
body[data-ss-page] .tier-tab > strong { justify-content: center; font-size: 16px; }
body[data-ss-page] .tier-tab[aria-selected="true"] { color: #151515; background: #fff; }
body[data-ss-page] .subscription-scroll { padding: 18px 16px 24px; }
body[data-ss-page] .membership-benefits { border-radius: 20px; background: linear-gradient(145deg, #381d5d55, #111111dd); }
body[data-ss-page] .subscription-phone[data-tier="max"] .membership-benefits { background: linear-gradient(145deg, #5a3e2055, #111111dd); }
body[data-ss-page] .benefit-item h4 { font-size: 14px; }
body[data-ss-page] .benefit-item p { font-size: 12px; }
body[data-ss-page] .plan-price > strong { font-size: 38px; }
@media (prefers-reduced-motion: reduce) { body[data-ss-page] * { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body[data-ss-page] [hidden] { display: none !important; }
body[data-ss-page="tasks"] .task-center-frame { background-image: url("assets/ss/tasks-top-glow.png"); }
body[data-ss-page] .ps-dialog { border: 1px solid #72608270; border-radius: 22px; background: #17141c; }
