.has-shell .dock.has-giveaways { grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 410px; padding-inline: 5px; }
.has-shell .dock.has-giveaways button > span { font-size: 10px; letter-spacing: -.15px; }
.dock .active .giveaway-lid { transform-origin: 16px 13px; animation: gw-lid .85s cubic-bezier(.2,.7,.3,1) both; }
.dock .active .giveaway-spark { transform-origin: 26px 4px; animation: gw-icon-spark .85s ease both; }
.gw-page { display: flex; flex-direction: column; gap: 18px; height: 100%; min-height: 0; padding-top: 10px; }
.gw-page h1 { font-size: clamp(23px,7cqw,29px); line-height: 1.15; letter-spacing: -.8px; }
.gw-page h2 { font-size: 13px; font-weight: 750; line-height: 1.4; }
.gw-page p { margin: 0; }
.gw-page button { -webkit-tap-highlight-color: transparent; }
.gw-page button:focus-visible, .gw-page input:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.gw-page button:disabled { cursor: default; }
.gw-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-shrink: 0; }
.gw-heading > div { min-width: 0; }
.gw-heading p { color: var(--muted); font-size: 12px; margin-top: 8px; line-height: 1.4; }
.gw-demo { background: var(--soft); color: var(--accent-deep); border-radius: 8px; font-size: 10px; font-weight: 800; letter-spacing: .2px; padding: 5px 7px; flex-shrink: 0; }
.gw-scroll { overflow-y: auto; overflow-x: hidden; flex: 1; min-height: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 3px 2px 8px; margin-inline: -2px; }
.gw-list-heading { display: flex; justify-content: space-between; align-items: center; min-height: 92px; flex-shrink: 0; }
.gw-list-heading > div { max-width: 235px; }
.gw-list-heading p { color: var(--muted); margin-top: 9px; font-size: 12px; line-height: 1.5; max-width: 190px; }
.gw-host { width: 96px; height: 96px; flex-shrink: 0; }
.gw-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--slot-surface); border-radius: 17px; flex-shrink: 0; }
.gw-tabs button { display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 750; border-radius: 13px; transition: color .2s,background .2s,box-shadow .2s; }
.gw-tabs button.selected { background: var(--surface); color: var(--ink); box-shadow: 0 2px 6px #25133209; }
.gw-tabs button > span { min-width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; color: var(--muted); font-size: 10px; background: var(--slot-surface); }
.gw-tabs button.selected > span { color: var(--accent-deep); background: var(--soft); }
.gw-cards { display: flex; flex-direction: column; gap: 12px; }
.gw-card { display: flex; flex-direction: column; text-align: left; padding: 18px; gap: 17px; width: 100%; border-radius: 24px; color: var(--ink); background: var(--surface); flex-shrink: 0; box-shadow: 0 2px 0 #25133205; transition: transform .18s; }
.gw-card:active { transform: scale(.985); }
.gw-card-top { display: flex; align-items: center; gap: 9px; }
.gw-channel-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: var(--soft); color: var(--accent-deep); flex-shrink: 0; }
.gw-channel-mark .icon { width: 25px; height: 25px; }
.gw-card-channel { flex: 1; min-width: 0; font-size: 12px; font-weight: 750; overflow-wrap: anywhere; }
.gw-card-channel small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; margin-top: 3px; }
.gw-state { font-size: 9px; font-weight: 750; line-height: 1.25; color: var(--accent-deep); background: var(--soft); padding: 6px 7px; border-radius: 8px; max-width: 90px; text-align: center; }
.gw-state.is-complete { color: var(--success-ink); background: var(--success-surface); }
.gw-card-title { display: block; font-size: 20px; line-height: 1.25; letter-spacing: -.5px; overflow-wrap: anywhere; }
.gw-card-foot { display: flex; align-items: center; gap: 17px; color: var(--muted); font-size: 11px; }
.gw-card-foot > span { display: flex; align-items: center; gap: 5px; }
.gw-card-foot .icon { width: 18px; height: 18px; }
.gw-card-foot > .icon { margin-left: auto; width: 13px; height: 13px; }
.gw-card-result { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; font-weight: 750; }
.gw-card-result > .icon { margin-left: auto; color: var(--accent-deep); width: 19px; }
.gw-card-result .gw-avatar { width: 28px; height: 28px; font-size: 12px; }
.gw-actions { display: flex; flex-direction: column; gap: 11px; flex-shrink: 0; margin-top: auto; padding-bottom: 5px; }
.gw-page .gw-primary { width: 100%; min-height: 50px; height: auto; padding: 13px 16px; font-size: 14px; border-radius: 17px; gap: 8px; box-shadow: 0 4px 0 #6224ad; }
.gw-primary .icon { width: 21px; height: 21px; }
.gw-page .gw-lime { background: #d8fc8b; color: #324713; box-shadow: 0 4px 0 #799f3e; }
.gw-page .gw-demo-note { color: var(--muted); font-size: 10px; text-align: center; line-height: 1.5; margin: 0; }
.gw-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; min-height: 180px; text-align: center; padding: 25px; }
.gw-empty > .icon { width: 62px; height: 62px; color: var(--accent); margin-bottom: 20px; }
.gw-empty h2 { font-size: 19px; }
.gw-empty p { color: var(--muted); font-size: 12px; margin-top: 8px; max-width: 220px; line-height: 1.5; }
.gw-step-track { display: flex; gap: 6px; height: 4px; flex-shrink: 0; }
.gw-step-track i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.gw-step-track i:first-child,.gw-step-track i.filled { background: #9345ef; }
.gw-form { display: flex; flex-direction: column; gap: 16px; }
.gw-method { display: flex; align-items: center; gap: 12px; padding: 15px; border-radius: 20px; background: var(--soft); }
.gw-method > .icon { width: 29px; height: 29px; color: var(--accent-deep); flex-shrink: 0; }
.gw-method > span:nth-child(2) { flex: 1; }
.gw-method strong,.gw-fixed-rule strong,.gw-setting strong { display: block; font-size: 13px; font-weight: 750; }
.gw-method small,.gw-fixed-rule small,.gw-setting small { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 5px; }
.gw-method-check { display: grid; place-items: center; background: var(--success-surface); color: var(--success-ink); width: 25px; height: 25px; border-radius: 50%; flex-shrink: 0; }
.gw-method-check .icon { width: 18px; height: 18px; }
.gw-field { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 750; }
.gw-field > small { color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.5; }
.gw-field input { width: 100%; min-width: 0; font: inherit; font-size: 16px; font-weight: 600; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); outline: 0; transition: border-color .2s; }
.gw-field input::placeholder { color: var(--muted); font-size: 13px; font-weight: 500; opacity: .85; }
.gw-field input:focus { border-color: var(--accent); }
.gw-field input[aria-invalid="true"] { border-color: #d5607b; }
.gw-input-wrap { display: flex; align-items: center; position: relative; }
.gw-input-wrap > .icon { position: absolute; left: 13px; width: 20px; height: 20px; color: var(--quiet-icon); pointer-events: none; }
.gw-input-wrap input { padding-left: 42px; }
.gw-field-error { font-size: 11px; line-height: 1.4; font-weight: 600; color: #b93750; }
.dark .gw-field-error { color: #ff91a1; }
.gw-field-error:empty { display: none; }
.gw-inline-hint { display: flex; gap: 9px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.gw-inline-hint .icon { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.gw-mini-source { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.gw-mini-source > .icon { width: 27px; height: 27px; color: var(--accent-deep); flex-shrink: 0; }
.gw-mini-source strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.gw-mini-source small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; overflow-wrap: anywhere; }
.gw-setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 0; background: transparent; color: var(--ink); }
.gw-setting > span { flex: 1; }
.gw-stepper { display: flex; align-items: center; gap: 4px; border-radius: 14px; background: var(--soft); padding: 3px; }
.gw-stepper button { width: 35px; height: 38px; border-radius: 10px; background: transparent; color: var(--accent-deep); display: grid; place-items: center; }
.gw-stepper button:disabled { color: var(--muted); opacity: .4; }
.gw-stepper .icon { width: 18px; height: 18px; }
.gw-stepper output { width: 18px; text-align: center; font-weight: 800; font-size: 17px; }
.gw-fixed-rule { display: flex; gap: 11px; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.gw-fixed-rule > .icon { width: 22px; height: 22px; color: var(--quiet-icon); flex-shrink: 0; }
.gw-subscription { display: flex; flex-direction: column; gap: 15px; }
.gw-subscription > button { min-height: 44px; }
.gw-subscription .toggle { flex-shrink: 0; }
.gw-channel-field > span:first-child { color: var(--muted); font-size: 11px; }
.gw-admin-note { display: flex; gap: 9px; background: var(--soft); padding: 10px; border-radius: 13px; color: var(--accent-deep); font-size: 11px; line-height: 1.5; }
.gw-admin-note .icon { width: 19px; height: 19px; flex-shrink: 0; }
.gw-eyebrow { display: block; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.gw-page .gw-detail-title { font-size: 26px; overflow-wrap: anywhere; }
.gw-detail-content { display: flex; flex-direction: column; gap: 22px; }
.gw-source { display: flex; align-items: center; gap: 10px; padding: 14px; background: var(--soft); border-radius: 18px; }
.gw-source-icon { width: 35px; height: 35px; display: grid; place-items: center; color: var(--accent-deep); flex-shrink: 0; }
.gw-source-icon .icon { width: 27px; height: 27px; }
.gw-source > span:nth-child(2) { flex: 1; min-width: 0; }
.gw-source strong { font-size: 13px; overflow-wrap: anywhere; }
.gw-source small { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; }
.gw-source .icon-button { width: 36px; height: 36px; padding: 7px; flex-shrink: 0; }
.gw-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.gw-stats > div { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 6px; row-gap: 5px; border-right: 1px solid var(--line); }
.gw-stats > div:last-child { border: 0; }
.gw-stats .icon { width: 22px; height: 22px; color: var(--accent-deep); }
.gw-stats strong { font-size: 23px; font-weight: 850; }
.gw-stats span { grid-column: 1/-1; font-size: 10px; color: var(--muted); text-align: center; }
.gw-conditions > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.gw-pill { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; background: var(--slot-surface); border-radius: 10px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.gw-pill .icon { width: 15px; height: 15px; flex-shrink: 0; }
.gw-conditions p { color: var(--muted); font-size: 10px; line-height: 1.5; margin-top: 9px; overflow-wrap: anywhere; }
.gw-comments-entry { display: flex; align-items: center; gap: 11px; text-align: left; padding: 15px 0; background: transparent; color: var(--ink); border-block: 1px solid var(--line); }
.gw-comments-entry > span:nth-child(2) { flex: 1; }
.gw-comments-entry strong { font-size: 12px; }
.gw-comments-entry small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.gw-comments-entry > .icon { color: var(--quiet-icon); width: 15px; height: 15px; }
.gw-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 16px; font-weight: 800; flex-shrink: 0; color: #49324f; background: #e8c5ff; }
.gw-color-1 { background: #b4dce9; color: #254b57; }
.gw-color-2 { background: #ffc7b0; color: #723823; }
.gw-color-3 { background: #ddd0fb; color: #513b7b; }
.gw-color-4 { background: #d8ec9e; color: #475829; }
.gw-color-5 { background: #ffdf97; color: #6a4b20; }
.gw-avatar-stack { display: flex; padding-left: 6px; }
.gw-avatar-stack .gw-avatar { margin-left: -6px; width: 30px; height: 30px; border: 2px solid var(--bg); font-size: 12px; }
.gw-ready { display: flex; align-items: center; gap: 13px; }
.gw-ready > span { color: var(--accent-deep); }
.gw-ready > span .icon { width: 40px; height: 40px; }
.gw-ready strong { font-size: 13px; }
.gw-ready p { font-size: 11px; line-height: 1.5; color: var(--muted); margin-top: 5px; }
.gw-winners-preview h2 { margin-bottom: 10px; }
.gw-winner-row { display: flex; align-items: center; gap: 11px; background: var(--surface); border-radius: 17px; padding: 13px; margin-bottom: 8px; }
.gw-place { font-size: 11px; color: var(--muted); width: 12px; text-align: center; }
.gw-winner-row > span:nth-child(3) { flex: 1; min-width: 0; }
.gw-winner-row strong { display: block; font-size: 15px; }
.gw-winner-row small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.gw-winner-row > .icon { color: #bb8524; width: 23px; height: 23px; }
.dark .gw-winner-row > .icon { color: #f6ce75; }
.gw-comment-summary { display: flex; align-items: center; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.gw-comment-summary > span { display: flex; align-items: center; gap: 6px; }
.gw-comment-summary .icon { width: 20px; height: 20px; }
.gw-comment-list { padding-top: 0; }
.gw-comment { display: flex; align-items: flex-start; gap: 11px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.gw-comment:first-child { padding-top: 2px; }
.gw-comment:last-child { border: 0; }
.gw-comment > div { flex: 1; min-width: 0; }
.gw-comment-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gw-comment-name strong { font-size: 13px; }
.gw-comment-name > span { font-size: 9px; background: var(--slot-surface); color: var(--muted); border-radius: 6px; padding: 3px 5px; }
.gw-comment small { color: var(--muted); font-size: 10px; }
.gw-comment p { font-size: 12px; line-height: 1.5; margin-top: 6px; }
.gw-excluded .gw-avatar { filter: saturate(.3); }
.gw-excluded p { color: var(--muted); }
.gw-drawing { align-items: center; justify-content: center; text-align: center; gap: 14px; }
.gw-drawing .gw-heading { width: 100%; justify-content: flex-end; margin-bottom: auto; }
.gw-drawing > p { font-size: 12px; color: var(--muted); }
.gw-draw-art { position: relative; width: min(220px,55cqh); height: min(200px,42cqh); }
.gw-draw-art .sticker { width: 100%; height: 100%; }
.gw-orbit { position: absolute; color: #d0a640; width: 21px; height: 21px; }
.gw-orbit .icon { width: 100%; height: 100%; }
.orbit-one { top: 15%; left: 2%; animation: gw-orbit 1.6s ease-in-out infinite; }
.orbit-two { right: 0; top: 50%; color: var(--accent); animation: gw-orbit 1.6s -.8s ease-in-out infinite; }
.gw-name-reel { display: flex; justify-content: center; align-items: center; gap: 14px; width: min(240px,100%); height: 64px; border-radius: 20px; background: var(--soft); color: var(--ink); overflow: hidden; margin-top: 6px; }
.gw-reel-name { font-size: 26px; font-weight: 850; width: 130px; text-align: center; }
.gw-reel-check { color: var(--accent-deep); }
.gw-reel-check .icon { width: 25px; height: 25px; }
.gw-draw-progress { width: 90px; height: 4px; background: var(--line); border-radius: 5px; overflow: hidden; margin-top: 4px; }
.gw-draw-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; animation: gw-progress 2.5s ease-out both; }
.gw-drawing > .gw-demo-note { margin-top: auto; padding-top: 20px; }
.gw-result { gap: 10px; }
.gw-result > .gw-scroll { text-align: center; }
.gw-result-art { width: min(210px,55cqw); height: min(190px,32cqh); position: relative; margin: 2px auto 10px; }
.gw-result-art .sticker { width: 100%; height: 100%; }
.gw-result h1 { font-size: 24px; max-width: 290px; margin-inline: auto; }
.gw-result .gw-result-copy { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 9px; }
.gw-winner-list { margin-top: 22px; text-align: left; }
.gw-confetti { position: absolute; width: 14px; height: 14px; left: 50%; top: 50%; color: #dcb350; animation: gw-confetti 1.6s cubic-bezier(.14,.7,.3,1) both; pointer-events: none; }
.gw-confetti .icon { width: 100%; height: 100%; }
.confetti-0 { --x: -110px; --y: -45px; }
.confetti-1 { --x: 105px; --y: -55px; color: var(--accent); }
.confetti-2 { --x: -80px; --y: -85px; }
.confetti-3 { --x: 115px; --y: 35px; color: var(--accent); }
.confetti-4 { --x: -115px; --y: 40px; color: var(--accent); }
.confetti-5 { --x: 65px; --y: -95px; }
.confetti-6 { --x: 100px; --y: 65px; }
.confetti-7 { --x: -75px; --y: 80px; }
.confetti-8 { --x: 0px; --y: -100px; color: var(--accent); }
@keyframes gw-lid { 0%,100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-2px) rotate(-7deg); } 70% { transform: translateY(-1px) rotate(3deg); } }
@keyframes gw-icon-spark { 0%,100% { opacity: .7; transform: scale(1); } 45% { opacity: 1; transform: scale(1.35); } }
@keyframes gw-orbit { 0%,100% { transform: translateY(0) rotate(0); opacity: .6; } 50% { transform: translateY(-8px) rotate(20deg); opacity: 1; } }
@keyframes gw-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes gw-confetti { 0% { transform: translate(0,0) scale(.2) rotate(-30deg); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--x),var(--y)) scale(.8) rotate(45deg); opacity: .65; } }
.reduced .gw-page *, .reduced .giveaway-lid, .reduced .giveaway-spark { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .gw-page *, .giveaway-lid, .giveaway-spark { animation: none !important; transition: none !important; } }
@media (max-width: 360px) {
  .has-shell .dock.has-giveaways button > span { font-size: 9px; }
  .gw-card { padding: 15px; }
  .gw-state { font-size: 8px; padding: 5px; }
  .gw-card-channel { font-size: 11px; }
  .gw-page { gap: 14px; }
  .gw-setting strong { font-size: 12px; }
  .gw-stepper { gap: 0; }
  .gw-stepper button { width: 31px; }
  .gw-page .gw-demo-note { font-size: 9px; }
}
@media (max-height: 650px) {
  .gw-page { gap: 13px; padding-top: 3px; }
  .gw-list-heading { min-height: 65px; }
  .gw-host { width: 72px; height: 72px; }
  .gw-list-heading p { margin-top: 5px; }
  .gw-card { gap: 13px; }
  .gw-card-title { font-size: 18px; }
  .gw-form { gap: 16px; }
  .gw-detail-content { gap: 17px; }
  .gw-page .gw-primary { min-height: 46px; padding-block: 11px; }
  .gw-actions { gap: 9px; }
  .gw-result-art { height: 120px; }
  .gw-winner-list { margin-top: 15px; }
}
