/* The home page's look: the hero with its animated background, the heading every
   section shares and the leaderboard as a race. Loaded after marketplace.css. */

/* ------------------------------------------------------------ hero */
.home-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #050D33; }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(110% 100% at 100% 0%, #0B2C80 0%, transparent 58%), radial-gradient(80% 90% at 0% 100%, #0A2070 0%, transparent 62%), linear-gradient(180deg, #071445, #050D33); }
.home-hero-in { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 52px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.home-hero.no-live .home-hero-in { grid-template-columns: minmax(0, 1fr); }
.hero-copy { min-width: 0; max-width: 780px; }
.home-hero h1 { margin: 0; font-size: clamp(40px, 6.2vw, 84px); line-height: .98; font-weight: 700; letter-spacing: -.04em; }
.hero-title { display: block; }
.hero-tagline { display: block; margin-top: 6px; font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 400; font-size: .82em; letter-spacing: -.02em; line-height: 1.05;
  background: linear-gradient(95deg, #AFF198 10%, #7EE8D2 60%, #6FD6F5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tagline.streamed { background: none; color: #AFF198; }
.hero-sub { font-size: 19px; line-height: 1.55; color: #C9D6F5; max-width: 540px; margin: 22px 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; transition: transform .15s, background .15s, box-shadow .15s; }
.hero-btn:hover { text-decoration: none; }
.hero-btn:active { transform: scale(.97); }
.hero-btn-lime { background: #AFF198; color: #081A59; }
.hero-btn-lime:hover { box-shadow: 0 8px 24px -6px rgba(175, 241, 152, .6); }
.hero-btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.hero-btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.home-hero :focus-visible { outline-color: #fff; }

.hero-stats { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.sticker { background: #fff; color: #081A59; border-radius: 18px; padding: 12px 18px; box-shadow: 4px 5px 0 var(--c); transform: rotate(var(--r)); }
.sticker b { display: block; font-size: 28px; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sticker span { font-size: 12px; font-weight: 600; color: #5F6368; }
.sticker-1 { --c: #AFF198; --r: -2deg; } .sticker-2 { --c: #00A9CE; --r: 1.5deg; } .sticker-3 { --c: #FF8200; --r: -1deg; } .sticker-4 { --c: #E5326E; --r: 2deg; }

/* what was just shipped */
.hero-live { background: linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .22); border-radius: 24px; padding: 20px 22px 14px;
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .18); }
.hero-live h2 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(175, 241, 152, .16); color: #AFF198; padding: 2px 10px; border-radius: 999px; font-size: 11px; }
.live-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #AFF198; animation: live-pulse 1.8s infinite; }
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(175, 241, 152, .7); } 100% { box-shadow: 0 0 0 9px rgba(175, 241, 152, 0); } }
.live-list { list-style: none; margin: 14px 0 0; padding: 0; position: relative; }
.live-list::before { content: ''; position: absolute; left: 25px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(#AFF198, rgba(255, 255, 255, .1)); }
.live-list li { padding: 4px 0; }
.live-list a { display: flex; gap: 12px; align-items: center; padding: 7px 8px; border-radius: 12px; position: relative; color: inherit; }
.live-list a:hover { text-decoration: none; }
.live-list a:hover .ft strong:last-of-type { text-decoration: underline; }
.live-list .now a { background: rgba(175, 241, 152, .12); box-shadow: inset 3px 0 0 #AFF198; }
.who { position: relative; flex: none; display: block; }
.live-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 12px; font-weight: 700; background: hsl(var(--h) 70% 82%); color: hsl(var(--h) 80% 18%); }
.live-badge { position: absolute; right: -6px; bottom: -5px; width: 18px; height: 18px; border: 2px solid #1A2C6C; border-radius: 50%; display: grid; place-items: center; background: var(--tc); color: #081A59; }
.live-badge svg { width: 10px; height: 10px; stroke-width: 3; }
.live-list .ft { font-size: 14px; line-height: 1.35; min-width: 0; flex: 1; }
.live-list .ft small { display: block; color: #C9D6F5; font-size: 12px; }
.live-new { flex: none; font-size: 10px; font-weight: 700; background: #AFF198; color: #081A59; padding: 2px 8px; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.live-all { display: block; text-align: center; margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 700; color: #AFF198; }
.live-all:hover { text-decoration: none; color: #fff; }

/* the tagline "written" word by word */
.hero-word { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(8px); animation: hero-word .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.4s + var(--i) * .14s); }
@keyframes hero-word { to { opacity: 1; filter: none; transform: none; } }
.hero-caret { display: inline-block; width: 3px; height: .78em; margin-left: 4px; background: #AFF198; vertical-align: -.04em; border-radius: 2px; opacity: 0; animation: hero-caret 3.4s steps(1) .4s forwards; }
@keyframes hero-caret { 0% { opacity: 1; } 12% { opacity: 0; } 25% { opacity: 1; } 37% { opacity: 0; } 50% { opacity: 1; } 62% { opacity: 0; } 75% { opacity: 1; } 100% { opacity: 0; } }

/* the background */
.hero-fx { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-fx::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #00A9CE 30%, #AFF198 70%, transparent); opacity: .8; }
.au { position: absolute; border-radius: 50%; filter: blur(90px); mix-blend-mode: screen; will-change: transform; }
.a1 { width: 640px; height: 640px; right: -140px; top: -260px; background: #00A9CE; opacity: .3; animation: au1 24s ease-in-out infinite alternate; }
.a2 { width: 560px; height: 560px; left: -180px; bottom: -300px; background: #3550FF; opacity: .42; animation: au2 28s ease-in-out infinite alternate; }
.a3 { width: 380px; height: 380px; right: 24%; bottom: -210px; background: #AFF198; opacity: .2; animation: au3 20s ease-in-out infinite alternate; }
.a4 { width: 340px; height: 340px; left: 42%; top: -230px; background: #E5326E; opacity: .17; animation: au1 26s ease-in-out infinite alternate-reverse; }
@keyframes au1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-90px, 70px, 0) scale(1.18); } }
@keyframes au2 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(120px, -60px, 0) scale(1.12); } }
@keyframes au3 { from { transform: translate3d(0, 0, 0) scale(.9); } to { transform: translate3d(-70px, -50px, 0) scale(1.2); } }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 90% at 78% 40%, #000, transparent 78%); mask-image: radial-gradient(70% 90% at 78% 40%, #000, transparent 78%); }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .25) 36%, #000 70%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .25) 36%, #000 70%); }
.grain { position: absolute; inset: 0; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ------------------------------------------------------------ section headings */
.store-home .home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.home-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.store-home .home-head h2 { margin: 0; font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.home-more { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 700; font-size: 14px; color: var(--accent); text-decoration: underline; padding: 6px 0; }
.home-more span { text-decoration: none; }
.store-home .carousel-pause { margin-bottom: 4px; }
.store-home .spotlight-section { padding-block: 48px 8px; }
.store-home .store-section { padding-block: 48px 8px; }
.store-home .leaderboard-home { padding-block: 48px 8px; }

/* ------------------------------------------------------------ leaderboard as a race */
.race-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #081A59; border-radius: 36px; padding: 34px; }
.race-cols::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 20% 0%, rgba(232, 180, 49, .25), transparent 70%); }
.race-panel { min-width: 0; }
.race-panel h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.race-sub { margin: 4px 0 18px; font-size: 14px; color: #C9D6F5; }
.race-panel .lb-empty { color: #C9D6F5; }
.race { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lane { display: flex; align-items: center; gap: 10px; color: inherit; }
.lane:hover { text-decoration: none; }
.lane:hover .lane-info b { text-decoration: underline; }
.lane-rank { width: 26px; flex: none; font-weight: 700; color: #C9D6F5; text-align: center; font-variant-numeric: tabular-nums; }
.lane-info { width: 160px; flex: none; line-height: 1.2; min-width: 0; }
.lane-info b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane-info small { display: block; color: #C9D6F5; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lane-info .chip { margin: 2px 0; }
.lane-track { flex: 1; min-width: 0; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, .08); display: block; }
.lane-fill { height: 100%; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, transparent, var(--c)); display: flex; align-items: center; justify-content: flex-end; padding-right: 3px;
  transform-origin: left; animation: lane-grow .9s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes lane-grow { from { transform: scaleX(.05); opacity: .3; } to { transform: none; opacity: 1; } }
.lane-fill .avatar, .lane-fill .icon-tile { width: 38px; height: 38px; flex: none; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); }
.lane-fill .avatar { font-size: 13px; }
.lane-fill .icon-tile { font-size: 14px; overflow: hidden; }
.lane-fill .icon-tile img { width: 70%; height: 70%; }
.lane-value { width: 56px; flex: none; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.lane-fill .avatar, .lane-fill .icon-tile { clip-path: none; }

/* a wider search in the header, only on the home page */
body:has(.home-hero) .header-search { max-width: 660px; }

@media (max-width: 960px) {
  .home-hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 40px; }
  .race-cols { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 32px; border-radius: 26px; }
  .lane-info { width: 120px; }
}
@media (max-width: 560px) {
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 10px; }
  .sticker { padding: 9px 12px; border-radius: 14px; }
  .sticker b { font-size: 20px; }
  .sticker span { font-size: 11px; }
  .lane-info { width: 96px; }
  .lane-value { width: 48px; }
  .store-home .home-head h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .au, .live-pill::before, .lane-fill { animation: none; }
  .hero-word { animation: none; opacity: 1; filter: none; transform: none; }
}

/* the leaderboard's own page */
.leaderboard-page .lb-head h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.leaderboard-page .race-cols { margin-top: 4px; }
.leaderboard-page .race { gap: 10px; }
.lane-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.lane-name b { min-width: 0; }

/* gold, silver and bronze for the first three of each list */
.lane-medal { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; color: #3A2A00; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 2px 4px rgba(0, 0, 0, .3); }
.lane-medal-1 { background: #E8B431; }
.lane-medal-2 { background: #AEB6C4; color: #2A3140; }
.lane-medal-3 { background: #C98350; color: #fff; }
.lane-rank { flex: none; }

/* ------------------------------------------------------------ the cards, everywhere
   Quiet and precise: a fine border, soft layered shadows tinted by the type's colour, a corner glow and a
   gradient edge that shows up on hover. The whole card opens the entry. */
:root {
  --ink-app: #00677E; --ink-skill: #2A6A16; --ink-plugin: #9A4A00; --ink-prompt: #B01E50;
  --shadow-a: rgba(8, 26, 89, .05); --shadow-b: rgba(8, 26, 89, .3); --card-ring: rgba(8, 26, 89, .1);
  --tone-0: #5B3FD6; --tone-1: #8A5B00; --tone-2: #1D4ED8; --tone-3: #C23127; --tone-4: #0F766E; --tone-5: #8E24A6;
}
:root[data-theme='dark'] {
  --ink-app: #5FD8F2; --ink-skill: #AFF198; --ink-plugin: #FFA64D; --ink-prompt: #FF86AA;
  --shadow-a: rgba(0, 0, 0, .4); --shadow-b: rgba(0, 0, 0, .8); --card-ring: rgba(255, 255, 255, .14);
  --tone-0: #B8A8FF; --tone-1: #FFD166; --tone-2: #8DB8FF; --tone-3: #FF9A92; --tone-4: #5EEAD4; --tone-5: #E7A0F4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --ink-app: #5FD8F2; --ink-skill: #AFF198; --ink-plugin: #FFA64D; --ink-prompt: #FF86AA;
    --shadow-a: rgba(0, 0, 0, .4); --shadow-b: rgba(0, 0, 0, .8); --card-ring: rgba(255, 255, 255, .14);
  --tone-0: #B8A8FF; --tone-1: #FFD166; --tone-2: #8DB8FF; --tone-3: #FF9A92; --tone-4: #5EEAD4; --tone-5: #E7A0F4;
  }
}

.store-shelf { padding: 10px 12px 28px 4px; margin: -10px -12px -28px -4px; gap: 20px; }
.store-card { --tc: var(--accent); --ink: var(--accent); flex-basis: 300px; position: relative; isolation: isolate; gap: 14px; padding: 22px;
  border: 1px solid var(--border); border-radius: 20px;
  background: radial-gradient(130% 90% at 0% 0%, color-mix(in srgb, var(--tc) 11%, transparent), transparent 58%), var(--surface);
  box-shadow: 0 1px 2px var(--shadow-a), 0 12px 28px -18px var(--shadow-b);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s; }
.store-card.type-app, .detail-page.type-app, .me-tinted.type-app { --tc: #00A9CE; --ink: var(--ink-app); }
.store-card.type-skill, .detail-page.type-skill, .me-tinted.type-skill { --tc: #5BC236; --ink: var(--ink-skill); }
.store-card.type-plugin, .detail-page.type-plugin, .me-tinted.type-plugin { --tc: #FF8200; --ink: var(--ink-plugin); }
.store-card.type-prompt, .detail-page.type-prompt, .me-tinted.type-prompt { --tc: #E5326E; --ink: var(--ink-prompt); }
/* types added by an admin: one of six colours, chosen from the type's name */
.store-card[data-tone='0'], .detail-page[data-tone='0'], .me-tinted[data-tone='0'] { --tc: #7C5CFF; --ink: var(--tone-0); }
.store-card[data-tone='1'], .detail-page[data-tone='1'], .me-tinted[data-tone='1'] { --tc: #F2B01E; --ink: var(--tone-1); }
.store-card[data-tone='2'], .detail-page[data-tone='2'], .me-tinted[data-tone='2'] { --tc: #3B82F6; --ink: var(--tone-2); }
.store-card[data-tone='3'], .detail-page[data-tone='3'], .me-tinted[data-tone='3'] { --tc: #FF5A4F; --ink: var(--tone-3); }
.store-card[data-tone='4'], .detail-page[data-tone='4'], .me-tinted[data-tone='4'] { --tc: #14B8A6; --ink: var(--tone-4); }
.store-card[data-tone='5'], .detail-page[data-tone='5'], .me-tinted[data-tone='5'] { --tc: #C040D8; --ink: var(--tone-5); }
.store-card:hover, .store-card:focus-within {
  transform: translateY(-3px); border-color: color-mix(in srgb, var(--tc) 40%, var(--border));
  box-shadow: 0 2px 4px var(--shadow-a), 0 24px 44px -20px color-mix(in srgb, var(--tc) 55%, var(--shadow-b)); }

/* a gradient edge from the type's colour, where the browser can draw it */
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .store-card { border-color: transparent; }
  .store-card::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
    background: linear-gradient(140deg, color-mix(in srgb, var(--tc) 70%, transparent), var(--border) 38%, var(--border));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude;
    transition: background .25s; }
  .store-card:hover, .store-card:focus-within { border-color: transparent; }
  .store-card:hover::after, .store-card:focus-within::after {
    background: linear-gradient(140deg, var(--tc), color-mix(in srgb, var(--tc) 35%, var(--border)) 55%, var(--border)); }
}

.store-card .card-top { align-items: center; gap: 14px; }
.store-card .card-cover .icon-tile { width: 52px; height: 52px; border-radius: 15px;
  box-shadow: 0 0 0 1px var(--card-ring), 0 10px 18px -8px color-mix(in srgb, var(--tc) 70%, transparent); }
.store-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.store-card .byline { margin-top: 4px; font-size: 12.5px; }
.store-card .tagline { font-size: 13.5px; line-height: 1.55; min-height: 42px; }

/* labels such as "Featured" */
.store-card .card-labels .chip { height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em;
  background: color-mix(in srgb, var(--tc) 13%, var(--surface)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--tc) 30%, transparent); }
.store-card .card-labels .chip-featured::before { content: '★'; font-size: 10px; margin-right: 5px; }
.store-card .card-labels .chip-demo { padding: 0; border: 0; background: transparent; color: var(--text-3); font-weight: 500; }

.store-card .card-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.store-card .card-engagement { gap: 14px; color: var(--text-2); }
.store-card .card-engagement .stars-glyphs::after { color: #F5A524; }
.store-card .card-engagement .stars-value { font-weight: 600; color: var(--text); }
.store-card .card-engagement .stars-count { color: var(--text-3); }
.store-card .card-engagement .dl { font-variant-numeric: tabular-nums; }

.store-card .card-details { position: relative; z-index: 3; height: 34px; padding-inline: 14px 12px; gap: 6px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text); font-weight: 600;
  transition: background .2s, border-color .2s, color .2s; }
.store-card .card-details::after { content: '→'; transition: transform .2s; }
.store-card .card-details:hover { text-decoration: none; background: color-mix(in srgb, var(--tc) 14%, var(--surface)); }
.store-card:hover .card-details, .store-card:focus-within .card-details {
  background: color-mix(in srgb, var(--tc) 14%, var(--surface)); border-color: color-mix(in srgb, var(--tc) 45%, var(--border)); color: var(--ink); }
.store-card:hover .card-details::after { transform: translateX(3px); }

/* the whole card is the link; the buttons stay above it */
.store-card h3 a:hover { text-decoration: none; }
.store-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.store-card .card-cover, .store-card .admin-actions { position: relative; z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  .store-card, .store-card .card-details, .store-card .card-details::after { transition: none; }
  .store-card:hover { transform: none; }
}

/* ------------------------------------------------------------ the disclaimer when it opens */
.backdrop:has(.disclaimer-modal) { background: rgba(5, 13, 51, .5); -webkit-backdrop-filter: blur(6px) saturate(1.1); backdrop-filter: blur(6px) saturate(1.1); }
.modal.disclaimer-modal { position: relative; overflow: hidden; isolation: isolate; width: min(580px, 100%); padding: 34px 34px 26px; border: 1px solid var(--border); border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 2px 4px var(--shadow-a), 0 40px 80px -30px rgba(5, 13, 51, .55); animation: disclaimer-in .28s cubic-bezier(.2, .8, .2, 1) both; }
.modal.disclaimer-modal::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; z-index: 1; background: var(--brand-orange); }
.disclaimer-head { gap: 16px; margin-bottom: 18px; }
.disclaimer-head h2 { font-size: 24px; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.disclaimer-mark { width: 48px; height: 48px; border-radius: 16px; font-size: 24px; background: color-mix(in srgb, var(--brand-orange) 16%, var(--surface)); color: var(--brand-orange);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand-orange) 35%, transparent), 0 14px 24px -12px color-mix(in srgb, var(--brand-orange) 70%, transparent); }
.disclaimer-body { font-size: 15.5px; line-height: 1.65; padding-right: 4px; }
.disclaimer-body p { margin: 0 0 14px; }
.disclaimer-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.disclaimer-body li { position: relative; margin: 0; padding: 11px 14px 11px 40px; border: 1px solid var(--border); border-radius: 14px; background: color-mix(in srgb, var(--text) 3%, var(--surface)); }
.disclaimer-body li::before { content: ''; position: absolute; left: 15px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-orange) 20%, transparent); }
.disclaimer-body strong { font-weight: 650; }
.disclaimer-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.disclaimer-foot .btn { height: 46px; padding-inline: 30px; border-radius: 999px; font-weight: 650; font-size: 15px; box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--brand) 80%, transparent); }
@keyframes disclaimer-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .modal.disclaimer-modal { padding: 28px 22px 22px; border-radius: 24px; } .disclaimer-head h2 { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .modal.disclaimer-modal { animation: none; } }
.disclaimer-body { max-height: min(56vh, 460px); }
@media (max-width: 560px) { .disclaimer-body li { padding: 9px 12px 9px 36px; } .disclaimer-body li::before { left: 13px; top: 15px; } }
