
    :root {
      --green: #127b50;
      --green-dark: #075536;
      --green-light: #e8f4ec;
      --ink: #182522;
      --muted: #70807a;
      --line: #e4ebe7;
      --page: #f7f9f7;
      --white: #fff;
      --shadow: 0 5px 18px rgba(16, 55, 34, .035);
      --radius: 16px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--page); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif; letter-spacing: -.025em; -webkit-font-smoothing: antialiased; }
    button, input { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; }
    button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #40af7b; outline-offset: 3px; }
    .sr-only { position: absolute; clip: rect(0,0,0,0); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
    .icon { width: 20px; height: 20px; display: inline-block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }
    .icon-sm { width: 16px; height: 16px; }
    .shell { width: min(calc(100% - 56px), 1440px); margin-inline: auto; }
    .site-header { height: 85px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: relative; z-index: 30; }
    .header-inner { display: grid; grid-template-columns: 256px minmax(0,1fr) 160px; height: 100%; align-items: center; gap: 28px; }
    .logo { display: inline-flex; align-items: center; gap: 10px; width: fit-content; }
    .logo-icon { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(155deg,#239f6c,#006238); display: grid; place-items: center; color: white; box-shadow: 0 5px 11px rgba(20,130,82,.16); }
    .logo-icon svg { width: 25px; height: 25px; stroke-width: 2.6; }
    .logo-word { font-size: 27px; letter-spacing: -.058em; color: #202a26; font-weight: 850; }
    .logo-word span { color: #168753; }
    .desktop-nav { display: flex; align-items: stretch; justify-content: center; gap: 14px; height: 100%; }
    .nav-group { display: flex; align-items: center; position: relative; }
    .nav-trigger { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border: none; background: transparent; font-size: 16px; font-weight: 750; color: #3e4b45; border-radius: 10px; }
    .nav-trigger:hover, .nav-group.is-open .nav-trigger { background: #eef7f0; color: #087745; }
    .nav-trigger .icon { transition: transform .18s ease; }
    .nav-group.is-open .nav-trigger .icon { transform: rotate(180deg); }
    .nav-panel { position: absolute; top: calc(100% - 7px); left: 50%; min-width: 225px; transform: translate(-50%, 8px); display: none; background: white; border: 1px solid #e0e9e3; border-radius: 15px; padding: 9px; box-shadow: 0 18px 44px rgba(32,54,42,.13); }
    .nav-group.is-open .nav-panel { display: block; animation: menu-in .14s ease-out both; }
    @keyframes menu-in { from { opacity: 0; transform: translate(-50%, 13px); } to { opacity: 1; transform: translate(-50%,8px); } }
    .nav-panel a { display: flex; align-items: center; justify-content: space-between; padding: 12px; border-radius: 9px; font-size: 14px; font-weight: 650; }
    .nav-panel a:hover, .nav-panel a:focus-visible { background: #f0f6f1; color: #097345; }
    .nav-panel .nav-panel-footer { padding: 12px; margin-top: 4px; font-size: 12px; font-weight: 700; color: #05754a; border-top: 1px solid var(--line); }
    .header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
    .icon-button { background: transparent; border: 0; color: #3d4d43; display: inline-grid; place-items: center; height: 42px; width: 42px; border-radius: 12px; }
    .icon-button:hover { background: #f0f5f1; }
    .small-pill { background: #eef6ef; border: 1px solid #ddede2; border-radius: 40px; color: #1c7550; font-size: 12px; font-weight: 750; padding: 9px 13px; white-space: nowrap; }
    .mobile-menu-button, .mobile-login-button { display: none; }
    .search-panel { display: none; position: absolute; right: max(28px, calc((100vw - 1440px) / 2)); top: 70px; width: min(420px,calc(100vw - 40px)); padding: 13px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(23,59,37,.14); border-radius: 14px; }
    .search-panel.is-open { display: block; }
    .search-panel form { display: flex; gap: 8px; }
    .search-panel input { min-width: 0; flex: 1; padding: 12px; border: 1px solid #d5e1d9; border-radius: 9px; outline-color: var(--green); }
    .search-panel button { background: var(--green); color: white; border: 0; padding-inline: 15px; border-radius: 9px; font-weight: 700; }
    .page-body { display: grid; grid-template-columns: 256px minmax(0, 1fr); gap: 28px; padding-top: 27px; padding-bottom: 58px; }
    .sidebar { display: flex; flex-direction: column; gap: 17px; min-width: 0; }
    .side-card { border-radius: 17px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
    .login-card { padding: 22px 19px 18px; }
    .aside-title { font-size: 17px; font-weight: 820; margin: 0 0 6px; }
    .aside-subtitle { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 0 0 17px; }
    .demo-mark { font-size: 10px; color: #9c6b35; background: #fdf5e8; padding: 4px 7px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
    .login-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .login-form { display: flex; flex-direction: column; gap: 8px; }
    .login-form input { width: 100%; height: 41px; background: #fbfcfb; border: 1px solid #dce6df; border-radius: 9px; padding: 0 12px; font-size: 13px; color: #53665c; }
    .login-form input:disabled { cursor: not-allowed; }
    .login-submit { width: 100%; height: 43px; margin-top: 4px; border: none; background: var(--green); color: #fff; font-size: 14px; font-weight: 800; border-radius: 9px; }
    .login-submit:hover { background: var(--green-dark); }
    .login-links { display: flex; align-items: center; justify-content: center; margin-top: 13px; font-size: 11.5px; font-weight: 650; color: #6b7b72; }
    .login-links a { padding-inline: 7px; }
    .login-links a + a { border-left: 1px solid #d7e0d9; }
    .login-links a:hover { color: var(--green); }
    .social-later { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); text-align: center; font-size: 11px; color: #88968e; }
    .quick-card { padding: 20px 17px; }
    .quick-card h3 { margin: 0 0 13px; font-size: 14px; }
    .quick-link { display: flex; align-items: center; gap: 11px; padding: 11px 8px; font-size: 13px; border-radius: 10px; font-weight: 600; color: #596a5e; }
    .quick-link:hover { color: var(--green); background: #f1f6f2; }
    .quick-link .icon { width: 18px; height: 18px; }
    .quick-link .arrow { margin-left: auto; opacity: .45; width: 14px; height: 14px; }
    .side-note { background: #edf5ed; border: 1px solid #e2efe3; border-radius: 17px; padding: 19px; }
    .side-note small { color: #297853; font-size: 11px; font-weight: 800; }
    .side-note h3 { font-size: 15px; margin: 9px 0 6px; letter-spacing: -.035em; }
    .side-note p { font-size: 12px; color: #577567; line-height: 1.72; margin: 0 0 13px; }
    .side-note a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #147448; }
    .main { min-width: 0; }
    .intro { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; min-height: 41px; gap: 14px; }
    .intro h1 { font-size: 22px; font-weight: 850; letter-spacing: -.057em; margin: 0; }
    .intro h1 span { color: var(--green); }
    .intro p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
    .intro .date-badge { display: inline-flex; align-items: center; gap: 7px; color: #708278; font-size: 12px; white-space: nowrap; }
    .section { margin-bottom: 29px; min-width: 0; scroll-margin-top: 115px; }
    .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
    .section-heading h2 { font-size: 19px; font-weight: 850; letter-spacing: -.05em; margin: 0; display: flex; align-items: center; gap: 9px; }
    .section-heading h2 .title-accent { height: 20px; width: 5px; border-radius: 5px; background: #1d995f; }
    .section-heading p { font-size: 12px; color: #7a8981; margin: 4px 0 0 15px; }
    .section-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 750; color: #697a70; white-space: nowrap; }
    .section-link:hover { color: var(--green); }
    .section-link .icon { width: 14px; height: 14px; }
    /* Latest: one feature occupying the left half, four cards arranged as a 2x2 on the right half. */
    .quiz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; height: 410px; }
    .feature-quiz { border-radius: 20px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 29px; color: #fff; background: linear-gradient(130deg,#0e6442 0%,#085638 55%,#073e2c 100%); box-shadow: 0 8px 23px rgba(18,79,49,.14); }
    .feature-quiz::after { content: ''; position: absolute; right: -112px; top: -115px; height: 340px; width: 340px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 54px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018); pointer-events: none; }
    .feature-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; }
    .new-pill { display: inline-flex; align-items: center; border-radius: 6px; background: #def7c8; color: #205a25; font-size: 10px; font-weight: 900; letter-spacing: .03em; padding: 7px 9px; }
    .feature-top .series { color: rgba(255,255,255,.75); font-size: 12px; }
    .feature-content { position: relative; z-index: 3; margin-bottom: 0; }
    .feature-kicker { font-size: 13px; font-weight: 750; color: #bbe5cb; margin: 0 0 10px; }
    .feature-content h3 { font-size: clamp(26px, 2.4vw, 35px); letter-spacing: -.075em; font-weight: 880; line-height: 1.28; margin: 0 0 11px; word-break: keep-all; }
    .feature-content p { margin: 0 0 20px; font-size: 13px; line-height: 1.65; color: #d1e9d9; }
    .feature-meta { display: flex; gap: 13px; font-size: 11px; color: rgba(255,255,255,.78); margin-bottom: 18px; }
    .feature-meta span { display: inline-flex; align-items: center; gap: 5px; }
    .feature-cta { display: inline-flex; justify-content: center; align-items: center; gap: 9px; background: #fff; color: #08633e; padding: 12px 18px; border-radius: 10px; font-size: 13px; font-weight: 850; width: fit-content; transition: transform .18s ease, box-shadow .18s ease; }
    .feature-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 17px rgba(0,0,0,.16); }
    .feature-art { position: absolute; z-index: 1; top: 57px; right: 16px; width: 69%; height: 195px; opacity: .72; pointer-events: none; }
    .other-quizzes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 14px; min-width: 0; }
    .mini-quiz { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: white; transition: transform .18s ease, box-shadow .18s ease; box-shadow: var(--shadow); }
    .mini-quiz:hover { transform: translateY(-3px); box-shadow: 0 14px 24px rgba(23,53,35,.09); }
    .mini-art { height: 105px; position: relative; padding: 13px 15px; overflow: hidden; display: flex; align-items: start; justify-content: space-between; }
    .mini-art .category { position: relative; z-index: 2; background: rgba(255,255,255,.8); color: #4b6656; padding: 6px 9px; font-size: 10px; border-radius: 6px; font-weight: 850; }
    .mini-art .icon-ill { width: 72px; height: 72px; position: absolute; right: 14px; bottom: -12px; opacity: .66; stroke-width: 1.35; }
    .mini-art.a { background: #ecf0fc; color: #617ec1; }
    .mini-art.b { background: #fff2e9; color: #df935d; }
    .mini-art.c { background: #e8f6f0; color: #409875; }
    .mini-art.d { background: #f2eefa; color: #9770bf; }
    .mini-bottom { padding: 13px 15px 14px; flex: 1; display: flex; flex-direction: column; gap: 7px; }
    .mini-bottom h3 { margin: 0; font-size: 14px; font-weight: 850; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .mini-bottom p { margin: auto 0 0; font-size: 11px; color: #88968c; }
    .lower-grid { display: grid; grid-template-columns: minmax(0,2fr) minmax(290px,1fr); gap: 19px; align-items: stretch; }
    .games-pane, .ranking-pane { min-width: 0; }
    .game-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
    .game-card { height: 317px; border-radius: 17px; border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
    .game-card:hover { transform: translateY(-3px); box-shadow: 0 12px 27px rgba(23,53,35,.09); }
    .game-art { flex: 1; min-height: 162px; display: grid; place-items: center; position: relative; overflow: hidden; }
    .game-art.near { background: radial-gradient(circle at 25% 5%,#eaf8e6 0%,#e6f5e9 50%,#d7efdc 100%); }
    .game-art.updown { background: radial-gradient(circle at 25% 5%,#f0efff 0%,#eeeffd 50%,#e2e9fc 100%); }
    .game-art::before { content: ''; width: 260px; height: 260px; position: absolute; border: 1px solid rgba(34,90,62,.07); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.2),0 0 0 70px rgba(255,255,255,.12); }
    .game-illustration { width: min(90%,300px); height: 150px; position: relative; z-index: 1; }
    .game-content { padding: 16px 19px 18px; }
    .game-content .game-category { color: #1c8655; font-size: 11px; font-weight: 800; }
    .game-content h3 { margin: 6px 0 6px; font-size: 17px; font-weight: 850; letter-spacing: -.05em; }
    .game-content p { margin: 0; color: #7c8b83; font-size: 12px; line-height: 1.5; }
    .game-content .game-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
    .game-bottom span { color: #8c9a92; font-size: 11px; }
    .play-circle { display: grid; place-items: center; background: var(--green); color: white; width: 33px; height: 33px; border-radius: 50%; }
    .play-circle .icon { width: 17px; height: 17px; }
    .ranking-card { height: 317px; border: 1px solid var(--line); border-radius: 17px; padding: 17px 19px 13px; background: white; box-shadow: var(--shadow); display: flex; flex-direction: column; }
    .ranking-note { font-size: 10px; color: #899b90; padding-bottom: 7px; border-bottom: 1px solid #edf1ee; }
    .ranking-rows { display: flex; flex-direction: column; flex: 1; justify-content: space-evenly; }
    .rank-row { display: flex; align-items: center; gap: 10px; padding-block: 4px; min-width: 0; }
    .rank-number { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: #f1f4f2; color: #63746b; font-size: 12px; font-weight: 900; }
    .rank-row:nth-child(1) .rank-number { background: #fff0c8; color: #a77807; }
    .rank-row:nth-child(2) .rank-number { background: #e9edf1; color: #6c7c89; }
    .rank-row:nth-child(3) .rank-number { background: #f9e7de; color: #a56843; }
    .rank-name { font-size: 12px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .rank-value { margin-left: auto; text-align: right; color: #233c2e; font-size: 11.5px; font-weight: 850; white-space: nowrap; }
    .sample-badge { display: inline-flex; align-items: center; gap: 4px; color: #ac6e30; font-size: 10px; font-weight: 780; margin: 0; }
    .below-note { margin-top: 9px; font-size: 11px; line-height: 1.6; color: #8a9a8e; }
    .learning-strip { background: white; border: 1px solid var(--line); border-radius: 17px; padding: 21px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .learning-strip .learning-caption { display: flex; align-items: center; gap: 15px; }
    .learning-strip .learning-icon { width: 51px; height: 51px; border-radius: 14px; background: #e8f5eb; display: grid; place-items: center; color: #147b50; }
    .learning-strip h3 { margin: 0 0 5px; font-size: 15px; }
    .learning-strip p { margin: 0; font-size: 12px; color: #7d8d83; }
    .learning-strip a { font-size: 12px; font-weight: 800; color: #16794c; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
    footer { background: #fff; border-top: 1px solid var(--line); }
    .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 25px; font-size: 11px; color: #8a988e; }
    .footer-inner strong { color: #537162; font-weight: 850; }
    .footer-links { display: flex; gap: 16px; }
    .footer-links a:hover { color: var(--green); }
    .toast { position: fixed; bottom: 27px; left: 50%; z-index: 90; transform: translate(-50%, 15px); background: #163b2a; color: white; border-radius: 12px; padding: 13px 19px; box-shadow: 0 12px 35px rgba(0,0,0,.17); font-size: 13px; line-height: 1.5; opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; text-align: center; width: max-content; max-width: calc(100vw - 40px); }
    .toast.show { opacity: 1; transform: translate(-50%,0); }
    .mobile-login-panel { display: none; }
    @media (max-width: 1230px) {
      .shell { width: min(calc(100% - 38px),1440px); }
      .header-inner { grid-template-columns: 230px minmax(0,1fr) 120px; gap: 19px; }
      .page-body { grid-template-columns: 230px minmax(0,1fr); gap: 19px; }
      .quiz-grid { height: 390px; gap: 11px; }
      .other-quizzes { gap: 11px; }
      .feature-quiz { padding: 24px; }
      .feature-content h3 { font-size: 27px; }
      .lower-grid { grid-template-columns: minmax(0,1.6fr) minmax(250px,1fr); gap: 12px; }
      .game-cards { gap: 11px; }
      .game-content { padding: 13px; }
      .ranking-card { padding-inline: 13px; }
    }
    @media (max-width: 1000px) {
      .header-inner { grid-template-columns: 230px 1fr auto; }
      .page-body { grid-template-columns: 215px minmax(0,1fr); gap: 16px; }
      .nav-trigger { padding-inline: 9px; font-size: 14px; }
      .desktop-nav { gap: 4px; }
      .small-pill { display: none; }
      .quiz-grid { grid-template-columns: minmax(0,1fr); height: auto; }
      .feature-quiz { min-height: 340px; }
      .other-quizzes { grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: auto; }
      .mini-art { height: 90px; }
      .mini-bottom { padding: 11px; }
      .mini-bottom h3 { font-size: 12px; }
      .lower-grid { grid-template-columns: minmax(0,1fr); }
      .ranking-card { height: auto; min-height: 280px; }
    }
    @media (max-width: 730px) {
      .shell { width: min(calc(100% - 32px),600px); }
      .site-header { height: 68px; }
      .header-inner { grid-template-columns: 1fr auto; gap: 8px; }
      .logo-word { font-size: 24px; }
      .logo-icon { width: 33px; height: 33px; }
      .mobile-menu-button, .mobile-login-button { display: inline-grid; }
      .desktop-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; height: auto; padding: 11px 16px 16px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgba(35,65,47,.08); flex-direction: column; gap: 2px; }
      .desktop-nav.is-mobile-open { display: flex; }
      .nav-group { display: block; }
      .nav-trigger { justify-content: space-between; font-size: 15px; width: 100%; padding: 13px 12px; }
      .nav-panel { position: static; width: 100%; min-width: 0; transform: none !important; box-shadow: none; border: none; background: #f7faf7; margin-bottom: 8px; animation: none !important; }
      .nav-panel a { font-size: 13px; padding: 11px 13px; }
      .search-panel { top: 63px; right: 16px; }
      .page-body { display: block; padding-top: 23px; padding-bottom: 38px; }
      .sidebar { display: none; }
      .mobile-login-panel.is-open { display: block; margin-bottom: 19px; }
      .login-card { padding: 18px; }
      .intro { margin-bottom: 23px; }
      .intro h1 { font-size: 21px; }
      .intro .date-badge { display: none; }
      .section { margin-bottom: 27px; }
      .quiz-grid { grid-template-columns: 1fr; height: auto; gap: 11px; }
      .feature-quiz { min-height: 370px; padding: 25px; }
      .feature-content h3 { font-size: 29px; }
      .feature-art { top: 48px; right: 0; width: 78%; }
      .other-quizzes { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,1fr); gap: 11px; }
      .mini-art { height: 110px; }
      .mini-bottom h3 { font-size: 13px; }
      .mini-bottom { min-height: 74px; }
      .lower-grid { grid-template-columns: 1fr; gap: 24px; }
      .game-cards { gap: 10px; }
      .game-card { height: 295px; }
      .game-art { min-height: 140px; }
      .game-illustration { width: 95%; }
      .ranking-card { min-height: 320px; }
      .learning-strip { padding: 17px; }
      .footer-inner { flex-direction: column; align-items: start; }
    }
    @media (max-width: 380px) {
      .shell { width: calc(100% - 24px); }
      .header-actions { gap: 0; }
      .icon-button { width: 38px; }
      .feature-content h3 { font-size: 25px; }
      .game-cards { grid-template-columns: 1fr; }
      .game-card { height: 295px; }
      .game-art { min-height: 150px; }
    }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    }
  
/* v0.2 - site navigation, two hero quizzes, secondary pages */
.nav-head {display:flex;align-items:center;gap:0;border-radius:10px}
.nav-head .nav-trigger {padding-right:5px}
.nav-toggle {border:0;background:transparent;display:grid;place-items:center;cursor:pointer;width:34px;height:39px;border-radius:9px;color:#3e4b45}
.nav-toggle:hover,.nav-toggle:focus-visible,.nav-head:hover,.nav-group.is-open .nav-head {background:#eef7f0;color:#087745}
.nav-toggle .icon{transition:transform .18s ease}
.nav-group.is-open .nav-toggle .icon {transform:rotate(180deg)}
.nav-direct {text-decoration:none}
.nav-direct:hover,.nav-direct:focus-visible {background:#eef7f0;color:#087745}
.quiz-grid {grid-template-columns:repeat(2,minmax(0,1fr));height:380px}
.hot-quiz {background:linear-gradient(127deg,#173b57 0%,#1a475d 55%,#113048 100%)}
.hot-quiz::after {box-shadow:0 0 0 54px rgba(255,255,255,.02),0 0 0 110px rgba(255,255,255,.012)}
.hot-quiz .feature-art {opacity:.72}
.hot-pill {display:inline-flex;align-items:center;gap:5px;border-radius:40px;padding:7px 12px;font-size:12px;font-weight:900;background:#ffe2aa;color:#924f10;letter-spacing:.03em}
.hot-quiz .feature-cta {background:#fff;color:#123b56}
.hot-quiz .feature-cta:hover {background:#e8f3fb}
.feedback-card {padding:21px 18px}
.feedback-card .feedback-symbol {width:37px;height:37px;border-radius:11px;background:#e8f4ec;display:grid;place-items:center;color:#158355;margin-bottom:12px}
.feedback-card h3 {font-size:16px;margin:0 0 8px}
.feedback-card p {font-size:12px;line-height:1.8;margin:0 0 14px;color:#6b7b72}
.feedback-card a,.action-link {display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:11px 16px;font-size:13px;font-weight:800;background:var(--green);color:#fff;text-align:center}
.feedback-card a:hover,.action-link:hover {background:var(--green-dark)}
.subpage-wrap {max-width:1070px;margin:auto;width:100%;}
.page-lead {margin-bottom:23px;padding:31px 32px;background:linear-gradient(120deg,#e7f3eb,#f6faf7);border-radius:19px;border:1px solid #ddeae1}
.page-lead .eyebrow{color:#158451;font-weight:850;font-size:11px;letter-spacing:.1em}
.page-lead h1{margin:11px 0 9px;font-size:30px;letter-spacing:-.055em}
.page-lead p{margin:0;color:#547568;line-height:1.8;font-size:14px}
.page-lead .breadcrumb{font-size:12px;color:#668378;margin-bottom:14px}
.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.content-card{border:1px solid var(--line);border-radius:18px;background:#fff;padding:25px;box-shadow:var(--shadow);scroll-margin-top:32px}
.content-card .number{color:#13915d;font-size:11px;font-weight:900;letter-spacing:.08em}
.content-card .card-icon{height:46px;width:46px;border-radius:14px;background:#ecf7f0;color:#167d4d;display:grid;place-items:center;margin:10px 0}
.content-card h2{font-size:19px;letter-spacing:-.05em;margin:8px 0 10px}
.content-card p{font-size:13px;line-height:1.85;margin:0 0 18px;color:#697d70}
.content-card .status{font-size:11px;background:#f2f5f3;color:#73847a;padding:6px 10px;border-radius:20px;font-weight:800;display:inline-block}
.content-card .inline-link{color:#158052;font-size:12px;font-weight:850;text-decoration:none}
.content-card .inline-link:hover{text-decoration:underline}
.ranking-view {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rank-detail{border:1px solid var(--line);background:#fff;border-radius:17px;padding:22px;min-width:0}
.rank-detail h2{margin:0 0 9px;font-size:18px}
.rank-detail .rank-explain{font-size:12px;color:#6c7c73;line-height:1.65;margin:0 0 14px}
.rank-list-full{display:flex;flex-direction:column;gap:2px}
.rank-list-full .rank-row{padding:11px 3px;border-top:1px solid #f0f3f1}
.rank-list-full .rank-row:first-child{border-top:0}
.rank-list-full .rank-number{flex:0 0 28px;width:28px;height:28px}
.empty-rank{border:1px dashed #d7e5db;padding:20px;border-radius:12px;font-size:13px;color:#7c8d81;line-height:1.7}
.feedback-layout{max-width:760px;margin-inline:auto}
.feedback-form{border-radius:19px;border:1px solid var(--line);padding:28px;background:#fff;box-shadow:var(--shadow)}
.field{margin-bottom:21px}
.field label{display:block;font-size:13px;font-weight:800;margin-bottom:8px}
.field input,.field select,.field textarea{display:block;width:100%;background:#fff;border:1px solid #d3e0d7;border-radius:10px;padding:12px 14px;font-size:14px;color:var(--ink);resize:vertical;outline-color:#18915f}
.field textarea{min-height:195px;line-height:1.7}
.field-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:6px;font-size:11px;color:#819086}
.field-bottom .counter.warn{color:#ae4b27}
.form-notice{border-radius:12px;background:#f4f7f5;padding:15px 17px;font-size:12px;color:#657a6c;line-height:1.75;margin-bottom:18px}
.form-notice.is-warning{background:#fff4e4;color:#866536}
.feedback-submit{border:0;background:var(--green);color:#fff;width:100%;border-radius:11px;padding:15px;font-size:14px;font-weight:850}
.feedback-submit:disabled{opacity:.55;cursor:not-allowed}
.feedback-status{font-size:12px;line-height:1.7;padding:13px 14px;border-radius:10px;margin-top:15px;display:none}
.feedback-status.is-show{display:block;background:#edf5ed;color:#275b3d}
.feedback-status.is-error{display:block;background:#fff2e8;color:#8c552f}
.footer-links a{cursor:pointer}
@media (max-width:1230px){.quiz-grid{height:360px}}
@media (max-width:1000px){.quiz-grid{grid-template-columns:repeat(2,minmax(0,1fr));height:auto}.feature-quiz{min-height:350px}.feature-content h3{font-size:26px}}
@media (max-width:730px){
  .nav-head{width:100%}.nav-head .nav-trigger{flex:1}.nav-toggle{width:46px;height:46px}
  .nav-direct{width:100%}
  .quiz-grid{grid-template-columns:1fr;gap:13px}.feature-quiz{min-height:335px}.feature-content h3{font-size:27px}
  .subpage-wrap{max-width:100%}.page-lead{padding:23px 20px}.page-lead h1{font-size:24px}
  .content-grid,.ranking-view{grid-template-columns:1fr}
  .feedback-form{padding:20px 16px}
}

.mobile-feedback-nav{display:none}
@media(max-width:730px){.mobile-feedback-nav{display:flex}}

/* Signup v0.3 */
.signup-wrap{max-width:650px;margin:0 auto 50px}
.signup-progress{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.signup-progress span{border:1px solid #dce6df;padding:12px 10px;text-align:center;border-radius:11px;background:#f5f8f6;color:#819387;font-size:12px;font-weight:800}
.signup-progress .is-current{background:#e6f5ec;color:#0e7045;border-color:#b9dec7}
.signup-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:31px;box-shadow:var(--shadow)}
.signup-card[hidden]{display:none!important}
.signup-card-head{display:flex;gap:13px;align-items:center;margin-bottom:27px}
.signup-emblem{width:50px;height:50px;border-radius:15px;background:var(--green);color:#fff;display:grid;place-items:center;font-size:15px;font-weight:900}
.signup-card-head h2{font-size:20px;margin:0 0 5px;letter-spacing:-.05em}
.signup-card-head p{font-size:12px;color:#788a7e;margin:0}
.signup-required{color:#db7043}
.signup-bottom{margin-top:20px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#85958a;flex-wrap:wrap}
.signup-bottom a{font-weight:800;color:var(--green)}
.signup-turnstile{margin:14px 0 22px;min-height:20px}
.signup-success{text-align:center}
.signup-success-icon{width:55px;height:55px;border-radius:50%;background:#e3f5e9;color:#147a48;font-weight:900;font-size:27px;display:grid;place-items:center;margin:5px auto 15px}
.signup-success h2{font-size:23px;margin:0 0 10px}
.signup-success>p{color:#6c8072;font-size:13px;line-height:1.8}
.signup-important{text-align:left;background:#fff4e6;color:#765327;padding:17px 18px;border-radius:12px;margin:24px 0 18px}
.signup-important strong{font-size:13px}.signup-important p{font-size:12px;line-height:1.75;margin:8px 0 0}
.signup-code{padding:24px 14px;background:#f4f8f5;border:1px dashed #c8dccc;border-radius:13px;display:flex;flex-direction:column;gap:10px;align-items:center}
.signup-code span,.signup-code small{color:#69816e;font-size:11px}
.signup-code code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#174a32;font-size:clamp(12px,2vw,17px);font-weight:800;letter-spacing:.05em;word-break:break-all;user-select:all}
.signup-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:10px;margin-top:17px}
.signup-secondary{background:#edf5ef;border:1px solid #cce4d4;color:#14683e;border-radius:11px;font-weight:800;font-size:13px;padding:13px;cursor:pointer}
.signup-file-warning{text-align:left;font-size:12px;color:#79877e;line-height:1.7;margin-top:15px}
.signup-agree{display:flex;align-items:center;gap:9px;text-align:left;padding:18px 0;font-size:13px;cursor:pointer}
.signup-agree input{accent-color:#168154;width:17px;height:17px}
.signup-finish{display:block;background:var(--green);color:#fff;border-radius:11px;padding:14px;text-align:center;font-size:14px;font-weight:850}
.signup-finish.is-disabled{background:#b5c4b8;cursor:not-allowed}
@media(max-width:730px){.signup-card{padding:21px 17px}.signup-actions{grid-template-columns:1fr}.signup-bottom{align-items:flex-start;flex-direction:column}.signup-progress span{font-size:11px}}

.signup-preview{width:100%;margin-top:10px;background:#f4f7f5}
.signup-preview[hidden],.signup-demo-watermark[hidden]{display:none}
.signup-demo-watermark{color:#88552b;background:#fff0db;border-radius:11px;padding:14px;font-size:12px;line-height:1.7;margin:15px 0}

/* HappyStock public edition — clean, functional content surfaces */
.hs-block-cta{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}
.hs-join{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:14px;font-size:12px;color:#6b7b72}
.hs-join a{font-weight:800;color:var(--green)}
.hs-study-card .hs-study-art{height:115px;background:linear-gradient(130deg,#dcedde,#f0f8f1);display:flex;align-items:center;justify-content:space-between;padding:18px 23px;color:#147f51}
.hs-study-card .hs-study-art svg{width:58px;height:58px;stroke-width:1.4}
.hs-study-card .hs-study-art span{font-size:12px;font-weight:850;letter-spacing:.06em}
.hs-study-card .hs-study-art.alt{background:linear-gradient(130deg,#e4edf7,#f4f8fc);color:#356d9b}
.hs-study-card{height:317px}
.hs-note-card{padding:18px 19px}
.hs-note-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;color:#50665b}
.hs-note-row b{font-size:15px;color:#147d4c}
.hs-note-row:last-of-type{border-bottom:0}
.hs-note-card p{font-size:12px;color:#667b6e;line-height:1.8;margin:15px 0 0}
.hs-guide-nav{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:16px}
.hs-guide-nav a{background:white;border:1px solid var(--line);padding:11px 15px;border-radius:99px;color:#276a49;font-weight:800;font-size:12px}
.hs-guide-nav a:hover{background:#e9f6ee}
.hs-article{padding:32px 36px;background:white;border:1px solid var(--line);border-radius:18px;margin-bottom:18px;box-shadow:var(--shadow);scroll-margin-top:20px}
.hs-eyebrow{color:#16804d;font-size:11px;font-weight:900;letter-spacing:.11em}
.hs-article h2{font-size:25px;letter-spacing:-.05em;margin:11px 0 22px}
.hs-article h3{font-size:17px;margin:22px 0 10px;letter-spacing:-.025em}
.hs-article p{font-size:14px;line-height:1.95;color:#4f6156;margin:0 0 13px;word-break:keep-all}
.hs-equation{border-left:4px solid #148353;background:#eff7f1;color:#204e34;border-radius:4px 11px 11px 4px;padding:16px 20px;font-size:14px;font-weight:800;margin:19px 0}
.hs-topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 24px}
.hs-topic-grid section{border:1px solid #e4ebe6;background:#fafcfa;border-radius:13px;padding:16px}
.hs-topic-grid section h3{margin:0 0 9px;font-size:14px}
.hs-topic-grid section p{font-size:12px;margin:0}
.hs-article-end{border-top:1px solid var(--line);margin-top:24px;padding-top:19px;color:#52715b;font-weight:700;font-size:13px;line-height:2}
.hs-article-end a{color:#127b50}
.hs-disclaimer{font-size:12px;line-height:1.8;color:#7b8d82;margin:18px 0 28px}
.hs-quiz-list .content-card{display:flex;flex-direction:column;align-items:flex-start}
.hs-quiz-list .content-card .action-link{margin-top:auto}
.hs-footnote{background:#edf5ef;border-radius:16px;padding:19px 23px;color:#4b6955;margin-top:20px;font-size:13px;line-height:1.8}
.hs-footnote p{margin:6px 0 0}
.hs-quiz-shell{max-width:770px;margin:0 auto 42px}
.hs-quiz-meta{display:flex;align-items:center;justify-content:space-between;color:#597065;font-size:12px;font-weight:800;margin:8px 0 11px}
.hs-quiz-progress{height:8px;border-radius:50px;background:#e3eee7;overflow:hidden;margin-bottom:20px}
.hs-quiz-progress>div{width:0;height:100%;background:#168d5b;transition:width .2s}
.hs-question{border:1px solid var(--line);border-radius:17px;background:white;padding:24px 25px 19px;margin:0 0 15px;min-width:0}
.hs-question legend{float:left;width:100%;font-size:17px;font-weight:800;line-height:1.7;margin-bottom:15px}
.hs-question legend + .hs-option{clear:both}
.hs-option{display:flex;align-items:center;gap:11px;background:#fafcfa;border:1px solid #e6ede8;border-radius:10px;padding:13px 14px;font-size:13px;color:#3c5748;margin:8px 0;cursor:pointer;line-height:1.55}
.hs-option input{accent-color:#158c56;flex:0 0 auto;width:16px;height:16px}
.hs-option:has(input:checked){border-color:#8fcba5;background:#f1f9f3}
.hs-option.is-correct{border-color:#168651;background:#eaf7ef;color:#1b5d35;font-weight:750}
.hs-option.is-wrong{border-color:#e2a19b;background:#fff0ec}
.hs-explanation{padding:17px;background:#f1f6f2;border-radius:10px;margin-top:16px;font-size:13px;line-height:1.8;color:#456050}
.hs-explanation[hidden]{display:none}
.hs-explanation p{margin:7px 0 0}
.hs-quiz-controls{margin-top:16px}
.hs-quiz-alert{padding:12px 16px;color:#8c552f;background:#fff3e9;border-radius:10px;margin-top:12px}
.hs-quiz-alert[hidden],#quizResults[hidden]{display:none}
#quizResults{padding:25px;background:#e9f6ed;border:1px solid #b8dec4;border-radius:16px;margin-top:17px;text-align:center}
#quizResults h2{font-size:25px;color:#185d38;margin:5px 0 9px}
#quizResults p{font-size:13px;color:#53715e;line-height:1.8;margin:0 0 15px}
.hs-login-wrap{margin-bottom:35px}
.hs-search-page{max-width:830px;margin:0 auto 45px}
.hs-search-page form{display:flex;gap:10px;margin-bottom:23px}
.hs-search-page input{min-width:0;flex:1;padding:13px 16px;border:1px solid #c9dfd0;border-radius:11px;font-size:14px}
.hs-search-page form button{border:0}
#searchResultStatus{font-size:13px;color:#647a6a;margin-bottom:13px}
.hs-search-results{display:grid;gap:10px}
.hs-search-result{padding:17px 20px;border-radius:13px;border:1px solid var(--line);background:white;display:flex;flex-direction:column;gap:6px}
.hs-search-result:hover{border-color:#94cdab}
.hs-search-result strong{font-size:15px;color:#164e32}
.hs-search-result span{font-size:12px;color:#668373;line-height:1.7}
.hs-search-empty{color:#697d70;background:white;border:1px solid var(--line);padding:24px;border-radius:12px;font-size:13px}
@media(max-width:730px){.hs-article{padding:22px 18px}.hs-article h2{font-size:21px}.hs-topic-grid{grid-template-columns:1fr}.hs-question{padding:17px 15px 16px}.hs-question legend{font-size:15px}.hs-search-page form{flex-wrap:wrap}.hs-search-page form input{min-width:180px}.hs-study-card{height:295px}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hs-quiz-progress>div,.game-card,.nav-panel{transition:none!important;animation:none!important}}

/* HappyStock v2 — bilingual production-ready presentation. Shared between locales. */
.locale-switch{border:1px solid #d5e6da;background:#f4faf6;border-radius:9px;padding:9px 10px;color:#176843;font-size:12px;font-weight:800;white-space:nowrap}
.locale-switch:hover{background:#e3f2e8}
.header-actions{gap:5px}
.login-form label.sr-only{display:block}
.login-form input{color:#263c30;background:#fff}
.login-form input:disabled{color:#65766c}
.login-status{margin:2px 0 0;min-height:0;font-size:11px;line-height:1.5;color:#ac493f}
.login-status:empty{display:none}
.login-links{gap:8px;justify-content:space-between;font-size:12px}
.login-links a{padding:6px 0}
.login-links a+a{border-left:0}
.account-panel{border-top:1px solid var(--line);margin-top:12px;padding-top:13px;display:flex;flex-direction:column;gap:10px}
.account-panel[hidden],[hidden]{display:none!important}
.account-panel button{border:1px solid #d2e6db;background:#f1f8f3;padding:10px;border-radius:9px;color:#145b3e}
.feature-quiz{min-height:365px}
.feature-quiz.hot-quiz{background:linear-gradient(130deg,#176d86 0%,#16475d 60%,#153847 100%)}
.quiz-grid{height:auto;align-items:stretch}
.feature-content h3{font-size:clamp(21px,2.1vw,30px);letter-spacing:-.035em;word-break:keep-all}
.feature-content p{max-width:310px}
.feature-quiz:not(:has([data-card-link]:not([hidden]))) .feature-content{margin-top:40px}
.feature-quiz::after{opacity:.65}
.hs-empty-game .game-illustration{height:130px;width:90%;color:#327a58}
.hs-empty-game:nth-child(2) .game-illustration{color:#6378b7}
.hs-empty-game .game-content h3{font-size:16px}
.hs-empty-rank{text-align:center;margin:auto;padding:45px 6px;color:#85958a;font-size:12px;line-height:1.7}
.hs-ranking-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0 24px}
.hs-ranking-full{border:1px solid var(--line);border-radius:17px;background:white;padding:24px;box-shadow:var(--shadow);min-height:390px}
.hs-ranking-full h2{font-size:21px;margin:0 0 5px}
.hs-ranking-desc{font-size:12px;color:#7c8d82;margin:0 0 14px;padding-bottom:16px;border-bottom:1px solid #edf1ee}
.hs-ranking-full .ranking-rows{min-height:300px}
.hs-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 34px}
.hs-list-empty{border:1px dashed #cadbce;border-radius:15px;background:#fff;padding:42px 20px;text-align:center;color:#83958a;font-size:13px;grid-column:1/-1}
.hs-library-card{border:1px solid var(--line);background:#fff;border-radius:15px;padding:20px}
.hs-library-card h3{margin:0 0 8px;font-size:18px}
.hs-library-card p{font-size:13px;line-height:1.7;color:var(--muted)}
.hs-recovery-note{margin:28px 0;padding:28px}
.hs-recovery-note>p{line-height:1.8}
.signup-card{max-width:100%}
@media(max-width:1000px){.hs-ranking-columns{grid-template-columns:1fr}.hs-ranking-full{min-height:330px}}
@media(max-width:730px){.locale-switch{padding:7px 9px;font-size:11px}.hs-list-grid{grid-template-columns:1fr}.hs-ranking-full{padding:20px}.game-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-quiz{min-height:320px}.feature-quiz:not(:has([data-card-link]:not([hidden]))) .feature-content{margin-top:25px}}
@media(max-width:430px){.game-cards{grid-template-columns:1fr}.game-card{height:270px}}
@media(max-width:430px){.header-actions .icon-button{width:34px;height:36px}.header-actions{gap:2px}.locale-switch{padding:7px 6px;font-size:10px}.logo-word{font-size:22px}.logo-icon{width:30px;height:30px}}

/* HappyStock v3 account, wallet & visibility UI */
.account-panel{gap:10px;padding-top:0;border:0;margin-top:0}
.hs-account-header{display:flex;align-items:center;gap:10px;margin:2px 0 8px;font-size:14px;overflow-wrap:anywhere}
.hs-avatar{display:inline-grid;place-items:center;width:37px;height:37px;flex-shrink:0;border-radius:50%;color:#197b4f;background:#e4f3e9}
.hs-account-menu{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f1f8f3;border:1px solid #d6eadc;border-radius:11px;padding:12px 14px;color:#205d42;font-size:13px;font-weight:700}
.hs-account-menu:hover{background:#e4f3e9}.hs-account-menu strong{color:#146a41;font-variant-numeric:tabular-nums;white-space:nowrap}
.account-panel .hs-logout{color:#687c70;background:white;border:1px solid #e2e9e4;font-size:12px;cursor:pointer}
.hs-account-loading{font-size:13px;color:#688173;margin:19px 0;min-height:30px}.hs-account-loading[data-error=true]{color:#ae4d42}
.hs-account-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
.hs-stat-card,.hs-account-section{background:white;border:1px solid var(--line);border-radius:17px;padding:25px;box-shadow:var(--shadow)}
.hs-stat-card{display:flex;flex-direction:column;gap:12px;min-height:160px}.hs-stat-card>span{font-size:13px;color:var(--muted)}
.hs-stat-card>strong{font-size:clamp(23px,3vw,33px);color:#145c3b;letter-spacing:-.04em}
.hs-stat-card>small{font-size:12px;color:#6a8575}.hs-account-section h2{font-size:22px;margin:0 0 18px;color:#164d32}
.hs-account-section h3{font-size:16px;margin:26px 0 9px}.hs-account-section p{font-size:13px;line-height:1.75;color:#677a6d}
.hs-transaction-list{min-height:120px}.hs-transaction{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #eef3ef}
.hs-transaction>div{display:flex;flex-direction:column;gap:4px}.hs-transaction strong{font-size:13px;font-weight:650}.hs-transaction small{font-size:11px;color:#7b8d81}
.hs-transaction span{font-size:14px;font-weight:800;white-space:nowrap}.hs-transaction .positive{color:#187747}.hs-transaction .negative{color:#b55245}
.hs-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;margin:22px 0 38px;align-items:start}
.hs-profile-dl{display:grid;gap:10px;margin:0 0 18px}.hs-profile-dl>div{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #eef3ef;padding:8px 0}
.hs-profile-dl dt{font-size:12px;color:#748679}.hs-profile-dl dd{font-size:14px;font-weight:750;color:#204b36;overflow-wrap:anywhere}
.hs-settings-form{display:grid;gap:10px}.hs-settings-form>label:not(.hs-visibility-option){font-weight:700;font-size:12px;color:#496b56}
.hs-settings-form>input{width:100%;border:1px solid #cbded0;border-radius:10px;padding:12px;font-size:14px}
.hs-action-primary{display:inline-block;border:0;border-radius:10px;background:#157b4a;color:white;padding:13px 18px;font-weight:750;text-align:center;cursor:pointer;font-size:13px}
.hs-action-primary:hover{background:#105b38}.hs-action-primary:disabled{opacity:.45;cursor:not-allowed}
.hs-visibility-option{display:flex;align-items:flex-start;gap:12px;border:1px solid #dce9de;border-radius:12px;padding:14px;cursor:pointer}
.hs-visibility-option:has(input:checked){border-color:#36a66f;background:#f0faf3}
.hs-visibility-option input{margin-top:4px;accent-color:#197b4f}.hs-visibility-option span{display:grid;gap:5px}
.hs-visibility-option strong{font-size:14px}.hs-visibility-option small{font-size:12px;color:#6c8072;line-height:1.65}
.hs-name-preview{font-size:12px;color:#6c8072;padding:10px 3px}.hs-name-preview strong{color:#185e3c}
.hs-small-note{font-size:12px!important;color:#667d6e!important}.hs-form-feedback{min-height:0;margin:2px 0!important;color:#177a4b!important}
.hs-form-feedback[data-error=true]{color:#b44238!important}
@media(max-width:1050px){.hs-profile-grid{grid-template-columns:1fr}}
@media(max-width:730px){.hs-account-stats{grid-template-columns:1fr}.hs-stat-card,.hs-account-section{padding:19px}}

/* Recovery reset form */
.hs-recovery-note{max-width:620px}.hs-recovery-note .hs-settings-form{margin:20px 0 12px}.hs-recovery-code{overflow-wrap:anywhere;white-space:pre-wrap;background:#eef8f0;border:1px solid #b9deca;border-radius:10px;padding:14px;font-size:clamp(12px,2vw,16px);color:#135434}.hs-recovery-note #recoverySuccess>button{margin:6px 6px 6px 0}

/* Account deletion - bilingual staging flow */
.hs-delete-section{grid-column:1/-1;border:1px solid #edd8d8;background:#fffafa}
.hs-delete-section h2{color:#a32e2e}
.hs-delete-warning{max-width:760px;color:#805454!important}
.hs-delete-section .hs-settings-form{max-width:540px}
.hs-delete-agree{display:flex;align-items:flex-start;gap:10px;line-height:1.6;font-weight:500!important;margin:8px 0;color:#5a5050!important}
.hs-delete-agree input{margin-top:4px;flex-shrink:0;accent-color:#af3333}
.hs-delete-button{background:#b13a3a;color:#fff;border:0;border-radius:10px;padding:13px 18px;font-size:13px;font-weight:750;cursor:pointer;justify-self:start}
.hs-delete-button:hover{background:#8f2727}.hs-delete-button:disabled{opacity:.45;cursor:not-allowed}
.hs-deleted-success{margin:22px 0 38px}.hs-deleted-success p{margin:4px 0 20px}

/* Home: visible list of published announcements (no HTML injection) */
.hs-home-notice-list{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.hs-home-notice-row{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:15px 19px;border-bottom:1px solid var(--line);min-width:0;transition:background .15s ease}
.hs-home-notice-row:last-child{border-bottom:0}
.hs-home-notice-row:hover,.hs-home-notice-row:focus-visible{background:#f2f8f4}
.hs-home-notice-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.hs-home-notice-title{font-size:14px;font-weight:800;color:#244231;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hs-home-notice-excerpt{font-size:12px;color:#718479;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hs-home-notice-date{font-size:12px;color:#7b8b82;white-space:nowrap;flex:0 0 auto}
.hs-home-notice-empty{padding:17px 19px;color:#718479;font-size:13px;margin:0}
@media(max-width:520px){.hs-home-notice-row{padding:13px 15px;align-items:flex-start}.hs-home-notice-date{font-size:11px}.hs-home-notice-title{font-size:13px}}


/* HappyStock UI update (2026-10-29): slightly larger navigation text */
@media (min-width: 1001px) {
  .desktop-nav .nav-trigger { font-size: 17px; }
  .desktop-nav .nav-panel a { font-size: 15px; }
}
@media (min-width: 731px) and (max-width: 1000px) {
  .desktop-nav .nav-trigger { font-size: 15px; }
  .desktop-nav .nav-panel a { font-size: 15px; }
}
@media (max-width: 730px) {
  .desktop-nav .nav-trigger { font-size: 16px; }
  .desktop-nav .nav-panel a { font-size: 14px; }
}

/* HappyStock UI readability + signup guidance + streamlined rankings (2026-10-29) */
body{font-size:16px}
/* Compact text across the site: increase by about one pixel without changing layout grids. */
.nav-trigger{font-size:17px}
.nav-panel a{font-size:15px}
.aside-title{font-size:18px}
.aside-subtitle,.login-links,.section-link,.mini-bottom p,.game-content p,.game-bottom span,.hs-ranking-desc,.hs-empty-rank,.hs-stat-card>small,.hs-profile-dl dt,.hs-small-note,.hs-name-preview,.hs-visibility-option small,.hs-transaction small,.signup-bottom,.signup-file-warning,.signup-agree,.signup-card-head p,.hs-ranking-full .ranking-note{font-size:13px}
.login-form input,.login-submit,.rank-name,.rank-value,.hs-account-menu,.hs-account-section p,.hs-transaction strong,.hs-settings-form>label:not(.hs-visibility-option),.field label,.hs-library-card p,.feedback-status,.hs-article p{font-size:14px}
.hs-profile-dl dd,.hs-action-primary,.hs-transaction span,.field input,.field select,.field textarea,.hs-settings-form>input,.hs-library-card .action-link,.feedback-submit{font-size:15px}
.page-lead p{font-size:15px}
.section-heading h2{font-size:20px}
.hs-account-section h2{font-size:23px}
/* Inline help sits to the right of each signup label on desktop and wraps on small screens. */
.hs-signup-label-row{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:5px 13px;margin-bottom:8px}
.field .hs-signup-label-row label{margin:0;white-space:nowrap;font-size:14px}
.hs-signup-hint{font-size:12px;line-height:1.55;color:#667d6d;font-weight:500;text-align:right;flex:1 1 250px}
@media(max-width:730px){
  .hs-signup-label-row{align-items:flex-start}
  .hs-signup-hint{flex-basis:100%;text-align:left;font-size:12px}
}
@media(max-width:430px){.nav-trigger{font-size:16px}}

/* Rankings are visible only after the signed-in status is confirmed. */
.hs-login-required{background:#fff;border:1px solid var(--line);border-radius:15px;color:#5c7065;font-size:15px;font-weight:650;text-align:center;line-height:1.8;padding:30px 20px;margin:0;box-shadow:var(--shadow)}
.hs-rank-home-message{flex:1;display:flex;align-items:center;justify-content:center;box-shadow:none;border:0;border-radius:0;padding:20px 10px}
.hs-rank-page-message{margin:25px 0 20px;padding:54px 20px}
/* Announcements/messages share the normal site header and member sidebar. */
.hs-notice-inbox-panel{min-height:180px}
.hs-notice-inbox-panel .admin-public-notice{margin:0 0 14px;box-shadow:var(--shadow)}
.hs-notice-inbox-panel .admin-primary{margin-top:8px}
@media(max-width:730px){.hs-rank-page-message{padding:34px 18px}}

/* Hide the guest login form until the server has verified the current session.
   The initial class exists in HTML, so no unauthenticated flash happens before JS runs. */
.login-card.hs-auth-pending [data-login-form],
.login-card.hs-auth-pending .login-links,
.login-card.hs-auth-pending [data-auth-intro],
.login-card.hs-auth-pending [data-account-panel]{display:none!important}
.login-card.hs-auth-pending::after{content:"로그인 상태 확인 중…";display:flex;
  min-height:145px;align-items:center;justify-content:center;padding:14px 3px;
  text-align:center;font-size:13px;font-weight:600;line-height:1.6;color:#6d8075}
html[lang="en"] .login-card.hs-auth-pending::after{content:"Checking sign-in status…"}

/* HappyStock quests. Same site shell; no pop-ups or separate admin layout. */
.hs-quest-summary{display:flex;flex-direction:column;gap:7px;border:1px solid #d6eadc;background:#f6faf7;
 border-radius:11px;padding:12px 14px;color:#205d42;text-decoration:none}
.hs-quest-summary:hover{background:#eaf5ed}
.hs-quest-summary-title{font-size:15px;font-weight:850;margin-bottom:1px}
.hs-quest-summary-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;gap:10px}
.hs-quest-summary-row strong{font-size:14px;font-variant-numeric:tabular-nums;color:#146a41}
.hs-quest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hs-quest-block{border:1px solid var(--line);background:#fff;border-radius:16px;padding:20px;box-shadow:var(--shadow);min-width:0}
.hs-quest-block-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hs-quest-block-heading h2{font-size:19px;margin:0}
.hs-quest-block-heading>strong{background:#e9f5ec;color:#17643e;border-radius:9px;padding:5px 11px;font-size:15px;font-variant-numeric:tabular-nums}
.hs-quest-block>p{font-size:13px;color:#728679;line-height:1.65;margin:10px 0 16px}
.hs-quest-item{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-top:1px solid #edf1ed}
.hs-quest-item h3{margin:0;font-size:15px;color:#223e2d}
.hs-quest-item p{margin:5px 0 0;font-size:12px;line-height:1.6;color:#687f71}
.hs-quest-item-status{text-align:right;flex-shrink:0;display:flex;flex-direction:column;gap:5px}
.hs-quest-item-status strong{font-size:14px;color:#187448}
.hs-quest-item-status span{font-size:12px;color:#708679}
.hs-quest-empty{border-top:1px solid #edf1ed;padding:17px 0;font-size:13px;color:#718578}
.hs-quest-auth-needed{border:1px solid var(--line);background:white;border-radius:13px;padding:38px 20px;text-align:center;font-size:15px;color:#5c7065}
@media(max-width:850px){.hs-quest-grid{grid-template-columns:1fr}}

/* Daily Quiz: hidden until authenticated/date-scoped server response arrives. */
.hs-daily-quiz-section[hidden]{display:none!important}
.hs-daily-quiz-card{padding:22px;border:1px solid var(--border,#dce8e2);border-radius:14px;background:var(--surface,#fff)}
.hs-daily-reward{color:#127b50;font-size:1.05rem}
.hs-daily-date{color:var(--muted,#67756d);font-size:.88rem;margin:0 0 12px}
.hs-daily-question{font-size:1.14rem;font-weight:650;white-space:pre-wrap;line-height:1.75;margin:0 0 16px}
.hs-daily-form{display:flex;gap:10px;flex-wrap:wrap}
.hs-daily-form[hidden]{display:none!important}
.hs-daily-form input{flex:1;min-width:170px;padding:12px 13px;border:1px solid #cbd9d1;border-radius:8px;font:inherit}
.hs-daily-form button{background:#127b50;color:white;border:0;border-radius:8px;padding:12px 18px;font:inherit;font-weight:650;cursor:pointer}
.hs-daily-form button:disabled{opacity:.55;cursor:wait}
.hs-daily-feedback{font-size:.95rem;min-height:1.25em;margin:10px 0 0;color:#b44638}
@media(max-width:520px){.hs-daily-form{flex-direction:column}.hs-daily-form input{width:100%}}

/* Daily quiz success confirmation: show only after the server accepts an answer. */
.hs-daily-success-dialog:not([open]){display:none!important}
.hs-daily-success-dialog[open]{
  position:fixed;inset:0;margin:auto;display:block;
  box-sizing:border-box;width:min(390px,calc(100% - 36px));max-width:calc(100% - 36px);
  padding:30px 26px 26px;text-align:center;background:#fff;color:#233f30;
  border:1px solid #d9e7dc;border-radius:16px;
  box-shadow:0 24px 80px rgba(19,55,35,.24);z-index:10000;
}
.hs-daily-success-dialog::backdrop{background:rgba(19,36,28,.5)}
.hs-daily-success-title{font-size:23px;font-weight:800;line-height:1.5;margin:0 0 22px}
.hs-daily-success-confirm{font:inherit;font-size:16px;font-weight:700;background:#127b50;color:#fff;
  border:0;border-radius:9px;padding:12px 32px;min-width:126px;cursor:pointer}
.hs-daily-success-confirm:hover{background:#0e6641}
.hs-daily-success-confirm:focus-visible{outline:3px solid #8bd5a7;outline-offset:3px}

/* Announcements + patch notes */
.hs-home-notice-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.hs-home-notice-column{min-width:0}
.hs-home-notice-column h3{font-size:16px;margin:0 0 10px;color:var(--ink,#244231)}
.hs-home-notice-row .hs-home-notice-info{display:flex;flex-direction:column;min-width:0;gap:8px}
.hs-home-notice-title{font-size:14px;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
.hs-home-notice-date{white-space:normal;align-self:flex-start;letter-spacing:.015em;font-variant-numeric:tabular-nums}
.hs-home-notice-row{align-items:flex-start;min-height:86px}
.hs-home-patch-row{cursor:default}
.hs-home-patch-row:hover{background:transparent}
.hs-home-patch-body{font-size:14px;line-height:1.7;color:#34483c;white-space:pre-wrap;overflow-wrap:anywhere}
.hs-update-entry{scroll-margin-top:90px}
.hs-update-tag{display:inline-flex;background:#eef6f0;color:#276045;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;margin-bottom:8px}
.hs-update-time{display:block;font-size:12px;color:#718479;font-variant-numeric:tabular-nums;margin-top:5px}
.hs-update-selected{border-color:#21845c!important;box-shadow:0 0 0 2px rgba(33,132,92,.14)!important}
.hs-notice-inbox-panel .hs-update-entry p{margin-top:12px}
#noticeTitleFields[hidden]{display:none!important}
@media(max-width:700px){.hs-home-notice-columns{grid-template-columns:1fr;gap:22px}.hs-home-notice-row{min-height:0}.hs-notices-heading{align-items:flex-start}}

/* Approved profile photos: sidebar, rankings, settings */
.hs-avatar{overflow:hidden}.hs-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.rank-avatar{width:27px;height:27px;border-radius:50%;object-fit:cover;flex:0 0 27px;background:#eaf2ed}
.hs-avatar-current{width:92px;height:92px;display:grid;place-items:center;background:#e5f1e9;color:#18764b;border-radius:50%;overflow:hidden;font-size:28px}
.hs-avatar-current img{width:100%;height:100%;object-fit:cover}
.hs-avatar-preview{width:92px;height:92px;object-fit:cover;border-radius:50%;border:2px solid #d2e6d9}
.hs-avatar-layout{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin:13px 0}
.hs-avatar-label{display:flex;flex-direction:column;gap:7px;align-items:center;color:#657d6e;font-size:12px}
.hs-avatar-form{display:grid;gap:12px}.hs-avatar-form input[type=file]{font-size:13px;max-width:100%}
.hs-avatar-buttons{display:flex;gap:10px;flex-wrap:wrap}.hs-avatar-danger{background:#fff;color:#a43f3f;border:1px solid #d9aaa7;border-radius:9px;padding:12px 16px;font-weight:700;cursor:pointer}.hs-avatar-danger:disabled{opacity:.5}
.hs-avatar-notice{font-size:13px;color:#557361;line-height:1.6}

/* Giveaway / events */
.hs-prize-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hs-prize-card{display:flex;flex-direction:column;gap:10px;color:inherit;text-decoration:none;border:1px solid var(--border,#dde5e2);border-radius:16px;padding:14px;background:var(--card,#fff);min-width:0;transition:box-shadow .18s}
.hs-prize-card:hover{box-shadow:0 6px 18px #0e654018}
.hs-prize-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px;background:#f2f5f2}
.hs-prize-card strong{font-weight:750;overflow-wrap:anywhere}
.hs-prize-card span{font-size:.88rem;color:#53645f}
.hs-prize-hero{display:grid;gap:16px;width:min(100%,820px);margin-inline:auto;align-items:start}
.hs-prize-hero>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:16px;background:#f3f6f5}
.hs-prize-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hs-prize-fact{min-width:0;padding:15px 18px;background:#eef5f2;border:1px solid #dceae2;border-radius:14px}
.hs-prize-fact small{display:block;color:#506e60;margin-bottom:7px;font-size:.78rem}
.hs-prize-fact strong{display:block;font-size:1.06rem;overflow-wrap:anywhere}
.hs-prize-fact p{margin:0;line-height:1.6;overflow-wrap:anywhere}
.hs-prize-fact-details{grid-column:1/-1}
.hs-prize-description{white-space:pre-wrap;overflow-wrap:anywhere}
.hs-prize-stat-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:min(100%,820px);margin:14px auto 20px}
.hs-prize-stat-grid>div{padding:12px;background:#eef5f2;border-radius:12px}
.hs-prize-stat-grid small{display:block;color:#506e60;margin-bottom:7px}
.hs-prize-top-row{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid #e2e7e5;min-height:42px;font-variant-numeric:tabular-nums}
.hs-prize-top-row strong{text-align:right;overflow-wrap:anywhere}
.hs-prize-top-panel{width:min(100%,360px);aspect-ratio:9/16;margin:20px auto;display:flex;flex-direction:column;justify-content:flex-start}
.hs-prize-top-panel h2{font-size:1.05rem;line-height:1.4;margin:0 0 13px}
.hs-prize-top-panel #prizeTop{min-width:0}
.hs-prize-entry-form{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.hs-prize-entry-form input{width:180px;max-width:100%;padding:12px;border:1px solid #bccdc4;border-radius:9px}
.hs-prize-entry-form button{padding:12px 18px;background:#127b50;border:0;border-radius:10px;color:#fff;font-weight:700}
.hs-prize-details-panel{padding:22px;border:1px solid #e3e8e5;border-radius:15px;margin:18px 0}
.hs-prize-draw-proof{overflow-wrap:anywhere;font-size:.82rem;color:#4c5a53}
.hs-prize-status{min-height:1.4em;font-size:.9rem;color:#475c50}
.hs-giveaway-admin-preview{width:208px;max-width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
@media(max-width:650px){.hs-prize-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hs-prize-card{padding:9px}.hs-prize-facts{grid-template-columns:1fr}.hs-prize-fact-details{grid-column:auto}.hs-prize-top-panel{padding:18px}}

/* Similarity v5: Games item opens a second-level submenu to the right. */
.nav-flyout{position:relative}
.nav-flyout-head{display:flex;align-items:center;border-radius:9px;min-width:0}
.nav-flyout-head>.nav-flyout-trigger{flex:1;min-width:0;white-space:nowrap}
.nav-flyout-toggle{border:0;background:transparent;display:grid;place-items:center;align-self:stretch;color:#536358;cursor:pointer;padding:0 10px;border-radius:8px;font-size:23px}
.nav-flyout:is(:hover,:focus-within)>.nav-flyout-head,.nav-flyout.is-open>.nav-flyout-head{background:#f0f6f1;color:#097345}
.nav-flyout-panel{display:none;position:absolute;z-index:30;left:100%;top:-9px;min-width:220px;padding:9px;background:#fff;border:1px solid #e0e9e3;border-radius:12px;box-shadow:0 18px 44px rgba(32,54,42,.13)}
@media (min-width:731px){.nav-flyout:is(:hover,:focus-within)>.nav-flyout-panel,.nav-flyout.is-open>.nav-flyout-panel{display:block}}
@media(max-width:730px){
 .nav-flyout-panel{position:static;z-index:auto;left:auto;top:auto;min-width:0;border:0;border-left:2px solid #c9e3d3;border-radius:0;padding:2px 0 2px 12px;margin:0 0 5px 13px;background:transparent;box-shadow:none}
 .nav-flyout.is-open>.nav-flyout-panel{display:block}
 .nav-flyout-toggle{min-width:45px;min-height:42px}
 .nav-flyout .nav-flyout-head>a{font-size:13px}
}

/* HappyStock v9: Two-column homepage modules and dual leaderboards. */
#games .game-cards {grid-template-columns:repeat(2,minmax(0,1fr))}
.hs-home-rank-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.hs-home-rank-panel {min-width:0;display:flex;flex-direction:column}
.hs-home-rank-panel h3 {margin:0 0 5px;font-size:17px;font-weight:850;letter-spacing:-.04em}
.hs-home-rank-desc {margin:0 0 12px;color:#788b80;font-size:12px;line-height:1.55}
.hs-home-rank-grid .ranking-card {height:auto;min-height:345px;flex:1;padding:16px 18px}
.hs-home-rank-grid .ranking-rows {min-height:288px}
.hs-home-rank-grid .rank-row {min-height:27px}
@media (max-width:700px) {
  .hs-home-rank-grid {grid-template-columns:1fr;gap:22px}
  .hs-home-rank-grid .ranking-card {min-height:300px}
  .hs-home-rank-grid .ranking-rows {min-height:250px}
}
@media (max-width:430px) {
  #games .game-cards {grid-template-columns:1fr}
}

/* HappyStock v10: giveaway detail left-side information and entry, right-side TOP 10. */
#prizeDetail .hs-prize-detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
  align-items:stretch;
  margin:20px 0 18px;
}
#prizeDetail .hs-prize-detail-left {
  min-width:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:18px;
}
#prizeDetail .hs-prize-detail-layout .hs-prize-details-panel {
  margin:0;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
#prizeDetail .hs-prize-summary-panel {
  display:grid;
  align-content:start;
  gap:12px;
}
#prizeDetail .hs-prize-summary-panel .hs-prize-stat-grid {
  width:100%;
  margin:0;
}
#prizeDetail .hs-prize-detail-layout .hs-prize-top-panel {
  width:100%;
  min-height:0;
  height:100%;
  aspect-ratio:auto;
  display:flex;
  flex-direction:column;
}
@media (max-width:900px) {
  #prizeDetail .hs-prize-detail-layout {grid-template-columns:minmax(0,1fr)}
  #prizeDetail .hs-prize-detail-layout .hs-prize-top-panel {height:auto}
}

/* HappyStock v11: Entire game and ranking cards are clickable links. */
.game-card .hs-card-link-overlay:not([hidden]) {
  position:absolute;inset:0;z-index:5;display:block;border-radius:inherit;cursor:pointer;
}
.game-card .hs-card-link-overlay:focus-visible {outline:3px solid #40af7b;outline-offset:-4px}
.game-card:has(.hs-card-link-overlay:not([hidden])) {cursor:pointer}
.hs-home-rank-panel {cursor:pointer}
.hs-home-rank-panel .ranking-card {transition:box-shadow .2s,border-color .2s}
.hs-home-rank-panel:hover .ranking-card,.hs-home-rank-panel:focus-visible .ranking-card {
  border-color:#9dccb0;box-shadow:0 8px 24px rgba(23,83,48,.1);
}
.hs-home-rank-panel:focus-visible {outline:3px solid #40af7b;outline-offset:3px;border-radius:14px}
.hs-library-card.hs-library-game:is(a) {display:block;cursor:pointer;transition:box-shadow .2s,transform .2s}
.hs-library-card.hs-library-game:is(a):hover {box-shadow:0 10px 25px rgba(23,83,48,.14);transform:translateY(-2px)}
.hs-library-card.hs-library-game:is(a):focus-visible {outline:3px solid #40af7b;outline-offset:3px}
.hs-library-caption .hs-game-cta {color:#fff;text-decoration:underline;font-size:13px;font-weight:bold;justify-self:end}
.game-card .game-bottom .play-circle {color:#fff;font-size:16px}
.game-card [data-card-arrow][hidden] {display:none!important}

/* Home giveaway: do not reserve an empty status row between the heading and prize cards. */
#prizeShowcase > #prizeHomeStatus:empty { display: none; }
#prizeShowcase > #prizeHomeStatus:not(:empty) { min-height: 0; margin: 0 0 12px; }

/* v15.12: Giveaway cards — unique participant count overlay and end-date title row. */
.hs-prize-card .hs-prize-image-wrap{position:relative;isolation:isolate;min-width:0}
.hs-prize-card .hs-prize-image-wrap img{width:100%;display:block}
.hs-prize-card .hs-prize-participant-badge{
  position:absolute;top:11px;left:11px;z-index:1;max-width:calc(100% - 22px);
  display:inline-flex;align-items:center;gap:6px;padding:6px 11px;
  border:1px solid rgba(255,255,255,.22);border-radius:999px;
  background:rgba(16,55,40,.9);color:#fff;font-size:12px;font-weight:750;
  line-height:1.2;letter-spacing:-.01em;box-shadow:0 2px 9px rgba(0,0,0,.16);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.hs-prize-card .hs-prize-participant-badge::before{
  content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#b7f0c7;
}
.hs-prize-card .hs-prize-title-row{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0;
}
.hs-prize-card .hs-prize-title{display:block;flex:1 1 auto;min-width:0;line-height:1.45;overflow-wrap:anywhere}
.hs-prize-card .hs-prize-end-date{
  display:block;flex:0 0 auto;margin-top:2px;color:#52675d;
  font-size:.78rem;font-weight:650;line-height:1.5;font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.hs-prize-card .hs-prize-end-short{display:none}
@media(max-width:650px){
 .hs-prize-card .hs-prize-title-row{gap:6px}
 .hs-prize-card .hs-prize-title{font-size:.88rem}
 .hs-prize-card .hs-prize-end-date{font-size:.69rem;margin-top:2px}
 .hs-prize-card .hs-prize-end-full{display:none}
 .hs-prize-card .hs-prize-end-short{display:inline}
 .hs-prize-card .hs-prize-participant-badge{top:7px;left:7px;padding:5px 7px;font-size:10px;gap:4px;max-width:calc(100% - 14px)}
 .hs-prize-card .hs-prize-participant-badge::before{width:5px;height:5px;flex-basis:5px}
}
