:root { --bg: #FFDDE8; --bg-muted: #FFC9DB; --bg-surface: #FFFFFF; --bg-surface-hover: #FFD3E1; --bg-card: #FFFFFF; --surface: #FFFFFF; --card: #FFFFFF; --fg: #1A1714; --fg-muted: #4A4338; --muted: #4A4338; --text-muted: #4A4338; --ink: #1A1714; --ink-2: #4A4338; --ink-3: #6E6756; --usa-navy: #1A1714; --usa-red: #C2185B; --accent: #C2185B; --accent-hover: #9C0F49; --success: #14A06B; --danger: #FF3B30; --warning: #FFB200; --border: #1A1714; --border-hover: #1A1714; --border-light: #F2B2CA; --line-soft: #F2B2CA; --band-blue: #FFD3E1; --band-cream: #FFDAE6; --news-tint: #FFD0DE; --radius: 5px; --font-display: 'Newsreader', Georgia, 'Times New Roman', serif; --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif; --font-ui: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-mono: 'Spline Sans Mono', ui-monospace, 'SFMono-Regular', monospace; --shadow-press: 3px 3px 0 var(--fg); --shadow-press-lg: 5px 5px 0 var(--fg); --ease-snap: cubic-bezier(.2, .9, .3, 1); --dur-1: 110ms; --dur-2: 180ms; --maxw-page: 1180px; --page-gutter: 32px; --header-h: 64px; } * { margin: 0; padding: 0; box-sizing: border-box; } button, input, select, textarea { font-family: var(--font-ui); } body { font-family: var(--font-display); font-size: 16px; color: var(--fg); line-height: 1.55; background-color: var(--bg); background-image: radial-gradient(rgba(26, 23, 20, .035) .6px, transparent .9px); background-size: 6px 6px; -webkit-font-smoothing: antialiased; } h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; color: var(--fg); } .app-nav { background: var(--bg); border-bottom: 3px solid var(--fg); position: sticky; top: 0; z-index: 100; } .nav-container { max-width: var(--maxw-page); margin: 0 auto; padding: 0 var(--page-gutter); height: var(--header-h); display: flex; justify-content: space-between; align-items: center; gap: 12px; } .logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 0.9; letter-spacing: -0.012em; text-decoration: none; color: var(--fg); } .logo svg { width: 26px; height: 26px; flex: none; } .nav-links { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; } .nav-links a { color: var(--fg); text-decoration: none; font-family: var(--font-ui); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 0; transition: color var(--dur-1) var(--ease-snap); } .nav-links a:hover { color: var(--accent); } main { max-width: var(--maxw-page); margin: 0 auto; padding: 0 var(--page-gutter); } .wrap { width: 100%; max-width: var(--maxw-page); margin: 0 auto; padding: 0 var(--page-gutter); } .app-container { max-width: none; margin: 0 auto; padding: 24px 0 0; } .app-hero { background: transparent; border-bottom: none; padding: 40px 0 8px; display: flex; align-items: center; justify-content: center; text-align: center; } .hero-content { max-width: 760px; width: 100%; min-width: 0; margin: 0 auto; } .hero-badge { display: inline-block; background: transparent; color: var(--ink-3); border: 2px solid var(--fg); border-radius: 999px; padding: 4px 13px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 18px; max-width: 100%; } .hero-title { font-family: var(--font-display); font-size: clamp(26px, 4.1vw, 43px); line-height: 1.04; letter-spacing: -0.02em; font-weight: 700; text-transform: none; margin-bottom: 14px; color: var(--fg); text-wrap: balance; overflow-wrap: break-word; word-break: break-word; } .hero-subtitle { font-size: 17px; line-height: 1.5; color: var(--ink-2); max-width: 62ch; margin: 0 auto 24px; } .hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; padding: 11px 18px; border: 2px solid var(--fg); border-radius: var(--radius); background: var(--bg-surface); color: var(--fg); box-shadow: var(--shadow-press); text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform var(--dur-1) var(--ease-snap), box-shadow var(--dur-1) var(--ease-snap), background var(--dur-1) var(--ease-snap); } .btn:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-press-lg); } .btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--fg); } .btn-primary { background: var(--accent); border-color: var(--fg); color: #FFFFFF; } .btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; } .btn-secondary { background: var(--bg-surface); color: var(--fg); border: 2px solid var(--fg); } .btn-secondary:hover { background: var(--bg-muted); color: var(--fg); } .section-header { margin: 48px 0 20px; padding-top: 14px; border-top: 2px solid var(--fg); } .section-header h2 { font-family: var(--font-ui); font-size: 19px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; } .section-sub { color: var(--ink-2); font-family: var(--font-display); font-size: 16px; margin-top: 0.4rem; max-width: 74ch; } .app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; } .app-grid.mini { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } .app-card { position: relative; background: var(--bg-surface); border-radius: 10px; border: 2px solid var(--fg); padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; box-shadow: 4px 4px 0 var(--accent); transition: transform var(--dur-2) var(--ease-snap), box-shadow var(--dur-2) var(--ease-snap), background var(--dur-2) var(--ease-snap); } .app-card:hover { background: var(--bg-surface); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--accent); border-color: var(--fg); } .app-card:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--accent); } .app-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; } .card-icon { background: var(--bg-surface); width: 36px; height: 36px; border-radius: 3px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--fg); box-shadow: 2px 2px 0 var(--fg); font-size: 1.05rem; flex: none; } .card-icon svg { width: 18px; height: 18px; } .card-info h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--fg); text-wrap: balance; } .card-info p { color: var(--ink-2); font-family: var(--font-ui); font-size: 13.5px; line-height: 1.4; } .card-tag { display: inline-block; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); } .mini-card { padding: 14px 14px 12px; gap: 10px; } .mini-card .card-info h3 { font-size: 18px; margin-bottom: 4px; } .mini-card .card-info p { font-size: 13px; } .seo-faq h2 { font-size: 1.75rem; margin-bottom: 1.5rem; } .seo-faq details { background: var(--bg-surface); border-radius: 8px; margin-bottom: 0.5rem; } .seo-faq summary { padding: 1.25rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; } .seo-faq summary::-webkit-details-marker { display: none; } .seo-faq summary::after { content: '+'; color: var(--fg-muted); } .seo-faq details[open] summary::after { content: '−'; } .seo-faq p { padding: 0 1.25rem 1.25rem; color: var(--fg-muted); } .app-footer { border-top: 3px solid var(--fg); background: var(--bg); padding: 0; margin-top: 48px; } .footer-container { max-width: var(--maxw-page); margin: 0 auto; padding: 32px var(--page-gutter) 8px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px 32px; } .footer-left .logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 0.9; text-decoration: none; color: var(--fg); letter-spacing: -0.012em; } .footer-left p { color: var(--ink-2); font-size: 15px; max-width: 34ch; } .footer-left .copyright { margin-top: 12px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); } .footer-col { display: flex; flex-direction: column; gap: 6px; } .footer-col h3 { font-family: var(--font-ui); font-weight: 800; font-size: 11px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3) !important; margin-bottom: 6px !important; } .footer-col a:not(.logo) { font-family: var(--font-ui); font-size: 15px; color: var(--ink-2) !important; text-decoration: none; } .footer-col a:not(.logo):hover { color: var(--accent) !important; } .footer-right { display: flex; gap: 2rem; } .footer-right a { color: var(--ink-2); text-decoration: none; font-family: var(--font-ui); font-size: 15px; } .footer-right a:hover { color: var(--accent); } @media (max-width: 768px) { .hero-title { font-size: clamp(24px, 6vw, 34px); } .footer-container { flex-direction: column; } } header { background: var(--usa-navy); border-bottom: 4px solid var(--usa-red); padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; max-width: none; margin: 0; } header .logo { font-size: 1.5rem; font-weight: 900; color: #FFFFFF; letter-spacing: -0.02em; text-transform: uppercase; font-family: 'Libre Franklin', sans-serif; } header nav { display: flex; gap: 2rem; } header nav a { color: rgba(255,255,255,0.8); text-decoration: none; font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; } header nav a:hover { color: #FFFFFF; } .menu-btn { display: none; background: transparent; border: none; font-size: 1.5rem; color: #FFFFFF; cursor: pointer; } main { max-width: var(--maxw-page); margin: 0 auto; padding: 0 var(--page-gutter); } .breadcrumb { margin-bottom: 1rem; color: var(--fg-muted); font-size: 0.9rem; font-family: var(--font-ui); } .breadcrumb a { color: var(--accent); text-decoration: none; } h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.5rem; } .subtitle { font-size: 1.1rem; color: var(--fg-muted); margin-bottom: 1.5rem; max-width: 74ch; } .meta { display: flex; gap: 1rem; align-items: center; font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 2rem; } .live-badge { background: var(--accent); color: #fff; padding: 0.15rem 0.5rem; border-radius: 4px; font-weight: 700; font-size: 0.75rem; } .related-links { margin-bottom: 2rem; font-size: 0.9rem; } .related-links a { color: var(--accent); text-decoration: none; font-weight: 500; } .solver-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; margin-bottom: 3rem; box-shadow: 0 4px 12px rgba(0,0,0,0.03); } .input-section { margin-bottom: 2rem; } .position-inputs { display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; } .letter-input { width: 60px; height: 60px; font-size: 2rem; display: flex; align-items: center; justify-content: center; font-weight: 700; border: 2px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--fg); text-transform: uppercase; outline: none; transition: border-color 0.2s; } .letter-input:focus { border-color: var(--accent); } .letters-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; } .letter-tag { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 700; font-size: 1.25rem; cursor: pointer; background: var(--bg); border: 1px solid var(--border); color: var(--fg); user-select: none; transition: all 0.2s; } .letter-tag.green { background: var(--accent); border-color: var(--accent); color: #fff; } .letter-tag.yellow { background: #F59E0B; border-color: #F59E0B; color: #fff; } .letter-tag.gray { background: #334155; border-color: #334155; color: #fff; } .btn-group { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; padding: 11px 18px; border: 2px solid var(--fg); border-radius: var(--radius); background: var(--bg-surface); color: var(--fg); box-shadow: var(--shadow-press); text-decoration: none; text-transform: uppercase; cursor: pointer; transition: transform var(--dur-1) var(--ease-snap), box-shadow var(--dur-1) var(--ease-snap), background var(--dur-1) var(--ease-snap); } .btn:hover { transform: translate(-1px, -1px); box-shadow: var(--shadow-press-lg); } .btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--fg); } .btn-primary { background: var(--accent); border-color: var(--fg); color: #FFFFFF; } .btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; } .btn-secondary { background: var(--bg-surface); color: var(--fg); border: 2px solid var(--fg); } .btn-secondary:hover { background: var(--bg-muted); color: var(--fg); } .btn-outline { background: transparent; color: var(--fg); border: 2px solid var(--fg); } .btn-outline:hover { background: var(--bg-muted); color: var(--fg); } .results { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); } .results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .results-title { font-size: 1.25rem; font-weight: 700; } .results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; } .result-item { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s, border-color 0.2s; position: relative; } .result-item:hover { border-color: var(--accent); transform: translateY(-2px); } .result-word { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 0.25rem; } .result-score { font-size: 0.75rem; color: var(--fg-muted); } .top-pick-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #FFFFFF; font-size: 0.6rem; font-weight: 800; padding: 0.1rem 0.4rem; border-radius: 4px; } .strategy-grid, .history-grid, .tools-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; } .strategy-card, .history-item, .tool-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.02); } .tool-card { text-decoration: none; color: var(--fg); display: block; transition: all 0.2s; } .tool-card:hover { transform: translateY(-2px); border-color: var(--accent); } .tool-card .icon { font-size: 2rem; margin-bottom: 1rem; } .tool-card .name { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.25rem; } .tool-card .desc { font-size: 0.9rem; color: var(--fg-muted); } .faq-section { margin-bottom: 3rem; } .faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; } .faq-question { font-size: 1.15rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; } .faq-arrow { color: var(--accent); font-size: 0.8rem; transition: transform 0.2s; } .faq-answer { display: none; padding-top: 1rem; color: var(--fg-muted); line-height: 1.6; } .faq-item.active .faq-answer { display: block; } .faq-item.active .faq-arrow { transform: rotate(180deg); } @media (max-width: 768px) { header nav { display: none; } .menu-btn { display: block; } .position-inputs { gap: 0.5rem; } .letter-input { width: 45px; height: 45px; font-size: 1.5rem; } } .guess-card, .hint-card, .answer-box, .share-bar { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; margin-bottom: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.03); } .guess-sub { color: var(--fg-muted); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.6; } .guess-row { display: flex; gap: 1rem; margin-bottom: 1rem; } .guess-input { flex: 1; padding: 1rem 1.5rem; font-size: 1.15rem; border: 2px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--fg); outline: none; transition: border-color 0.2s; font-family: 'Libre Franklin', system-ui, sans-serif; } .guess-input:focus { border-color: var(--accent); } .guess-input:disabled { opacity: 0.6; cursor: not-allowed; } .btn-rank { background: var(--accent); color: #FFFFFF; border: none; padding: 0 2rem; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: transform 0.2s, background 0.2s; } .btn-rank:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-2px); } .btn-rank:disabled { background: var(--border); color: var(--fg-muted); cursor: not-allowed; opacity: 1; } .guess-status { font-size: 0.85rem; color: var(--fg-muted); display: flex; align-items: center; justify-content: center; } .rank-result { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: center; } .rank-num { font-size: 3.5rem; font-weight: 800; color: var(--fg); line-height: 1; } .rank-of { font-size: 1.25rem; color: var(--fg-muted); } .rank-meta { color: var(--accent); font-weight: 600; margin-top: 0.5rem; font-size: 1.1rem; } .guess-history { margin-top: 2rem; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; } .gh-head { font-size: 0.9rem; font-weight: 600; color: var(--fg-muted); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; } .gh-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--border); } .gh-row:last-child { border-bottom: none; padding-bottom: 0; } .gh-word { font-weight: 600; font-size: 1.1rem; color: var(--fg); } .gh-delta { font-size: 0.8rem; } .gh-rank { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--fg-muted); } .nearest-bar { margin-top: 2rem; } .nb-head { font-size: 0.9rem; font-weight: 600; color: var(--fg-muted); margin-bottom: 1rem; } .near-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; } .near-chip { background: var(--bg); border: 1px solid var(--border); padding: 0.4rem 0.8rem; border-radius: 99px; font-size: 0.9rem; color: var(--fg); font-weight: 500; } .hint-label { font-size: 1rem; color: var(--fg-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; } .hint-word { font-size: 3rem; font-weight: 800; letter-spacing: 0.25em; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; color: var(--fg); min-height: 4.5rem; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; } .hint-word .char { display: inline-block; animation: fadeUp 0.3s forwards; opacity: 0; transform: translateY(10px); } @keyframes fadeUp { to { opacity: 1; transform: translateY(0); } } .progress { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; } .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); transition: all 0.3s; } .dot.active { border-color: var(--accent); background: var(--accent); transform: scale(1.2); } .dot.revealed { background: var(--accent); border-color: var(--accent); opacity: 0.5; } .answer-box { background: var(--accent); border: none; display: flex; align-items: center; justify-content: center; display: none; color: #FFFFFF; } .answer-label { font-size: 1rem; font-weight: 600; opacity: 0.9; margin-bottom: 0.5rem; } .answer-word { font-size: 3.5rem; font-weight: 800; margin-bottom: 1.5rem; } .answer-explain { font-size: 1.1rem; opacity: 0.95; line-height: 1.6; max-width: 600px; margin: 0 auto; } .share-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 2rem; } .share-text { font-weight: 600; color: var(--fg); } .share-btns { display: flex; gap: 0.5rem; } .share-btn { background: var(--bg); border: 1px solid var(--border); color: var(--fg); padding: 0.5rem 1rem; border-radius: 6px; font-weight: 500; cursor: pointer; transition: background 0.2s; } .share-btn:hover { background: var(--bg-surface-hover); border-color: var(--fg-muted); } .history-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; } .history-item { display: flex; justify-content: space-between; align-items: center; background: var(--bg-surface); padding: 1.25rem 1.5rem; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: inherit; transition: border-color 0.2s; } .history-item:hover { border-color: var(--accent); } .history-date { font-weight: 600; font-size: 1.1rem; color: var(--fg); } .history-answer { font-family: monospace; font-size: 1.25rem; font-weight: 700; background: var(--bg); padding: 0.25rem 0.75rem; border-radius: 6px; letter-spacing: 0.2em; color: var(--fg-muted); } @media (max-width: 600px) { .btn-rank { padding: 1rem; width: 100%; } .share-bar { flex-direction: column; display: flex; align-items: center; justify-content: center; } .history-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; } } .puzzle-container, .hint-panel, .game-wrap, .hints-panel { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem; margin-bottom: 2rem; box-shadow: 0 4px 12px rgba(0,0,0,0.03); } .hint-text { font-size: 1.25rem; font-weight: 500; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; line-height: 1.5; color: var(--fg); } .progress-bar { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; } .progress-dot { width: 40px; height: 6px; border-radius: 99px; background: var(--border); transition: background 0.3s; } .progress-dot.current { background: var(--accent); } .progress-dot.completed { background: var(--fg-muted); } .board-stats { display: flex; justify-content: space-between; font-weight: 600; color: var(--fg-muted); margin-bottom: 1.5rem; padding: 0 1rem; } .boards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; } .input-row { display: flex; gap: 1rem; margin-bottom: 2rem; justify-content: center; flex-wrap: wrap; } .input-row .guess-input { width: 150px; display: flex; align-items: center; justify-content: center; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 700; } .keyboard { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; margin-bottom: 2rem; } .hints-panel { display: none; margin-top: 2rem; } .hints-panel.open { display: block; } .btn:disabled { background: var(--line-soft); color: var(--ink-3); border-color: var(--line-soft); box-shadow: none; transform: none; cursor: not-allowed; opacity: 1; } ::placeholder { color: var(--fg-muted); opacity: 1; } #faq { margin: 4rem auto; max-width: 800px; } #faq h2 { font-size: 2rem; color: var(--usa-navy); margin-bottom: 2rem; border-bottom: 4px solid var(--usa-red); padding-bottom: 0.5rem; text-transform: uppercase; letter-spacing: -0.02em; } details { background: var(--bg-surface); border: 2px solid var(--usa-navy); border-radius: var(--radius); margin-bottom: 1rem; box-shadow: 4px 4px 0 var(--usa-navy); transition: transform 0.2s; } details:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--usa-navy); } summary { font-size: 1.15rem; font-weight: 800; padding: 1.5rem; cursor: pointer; color: var(--usa-navy); list-style: none; outline: none; } summary::-webkit-details-marker { display: none; } summary::after { content: '+'; font-size: 1.5rem; color: var(--usa-red); float: right; margin-top: -4px; } details[open] summary::after { content: '−'; } details p { padding: 0 1.5rem 1.5rem; color: var(--fg); font-weight: 500; line-height: 1.6; font-size: 1rem; margin: 0; border-top: 1px solid var(--border); padding-top: 1rem; } .ws-game-container { display: flex; flex-direction: column; align-items: center; max-width: 600px; margin: 0 auto; background: var(--bg-surface); border: 4px solid var(--usa-navy); border-radius: 12px; box-shadow: 8px 8px 0 var(--usa-navy); overflow: hidden; position: relative; touch-action: none; } .ws-header { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1rem 1.5rem; background: var(--usa-navy); color: #FFFFFF; } .ws-header h1 { font-size: 1.5rem; margin: 0; text-transform: uppercase; } .ws-toast { background: var(--usa-red); color: #fff; padding: 0.25rem 0.75rem; border-radius: 12px; font-weight: 800; font-size: 0.9rem; opacity: 0; transform: translateY(-10px); transition: opacity 0.3s, transform 0.3s; } .ws-toast.show { opacity: 1; transform: translateY(0); } .ws-grid-container { width: 100%; padding: 2rem; display: flex; justify-content: center; align-items: center; min-height: 250px; background: var(--bg); border-bottom: 2px solid var(--border); } .ws-grid { display: grid; gap: 4px; width: 100%; } .ws-cell { width: 100%; height: auto; aspect-ratio: 1; min-width: 0; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: clamp(1rem, 5vw, 1.5rem); font-weight: 800; text-transform: uppercase; color: var(--usa-navy); transition: transform 0.3s, background 0.3s; } .ws-cell.empty { visibility: hidden; } .ws-cell.ws-tile { background: var(--bg-surface); border: 2px solid var(--border); box-shadow: 2px 2px 0 var(--border); color: transparent; } .ws-cell.found { background: var(--usa-red); color: #fff; border-color: var(--usa-navy); box-shadow: 2px 2px 0 var(--usa-navy); transform: scale(1.1); animation: tilePop 0.3s ease forwards; } @keyframes tilePop { 50% { transform: scale(1.2); } 100% { transform: scale(1); } } .ws-word-display { height: 60px; display: flex; justify-content: center; align-items: center; width: 100%; } #ws-current-word { font-size: 2rem; font-weight: 900; color: var(--usa-navy); letter-spacing: 0.2em; } .ws-wheel-container { position: relative; width: 250px; height: 250px; margin: 1rem auto 3rem; } .ws-svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; } .ws-wheel { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: var(--bg); border: 4px solid var(--usa-navy); z-index: 2; box-shadow: inset 4px 4px 10px rgba(0,0,0,0.05); } .ws-wheel.shake { animation: wheelShake 0.4s ease; } @keyframes wheelShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 50% { transform: translateX(10px); } 75% { transform: translateX(-10px); } } .ws-wheel-letter { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: #FFFFFF; border: 3px solid var(--usa-navy); display: flex; justify-content: center; align-items: center; font-size: 1.8rem; font-weight: 900; color: var(--usa-navy); cursor: pointer; user-select: none; touch-action: none; box-shadow: 2px 2px 0 var(--usa-navy); transition: transform 0.1s; z-index: 3; } .ws-wheel-letter.selected { background: var(--usa-red); color: #FFFFFF; transform: scale(1.15); } .ws-modal { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26, 23, 20, 0.92); display: flex; justify-content: center; align-items: center; z-index: 10; } .ws-modal-content { background: var(--bg-surface); padding: 3rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 4px solid var(--usa-red); box-shadow: 8px 8px 0 #000000; } .ws-modal-content h2 { font-size: 2.5rem; color: var(--usa-navy); margin-bottom: 1rem; } #wordGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .tile { background: var(--bg-surface); border: 2px solid var(--border); border-radius: 8px; padding: 1.5rem 0.5rem; display: flex; align-items: center; justify-content: center; font-weight: 700; text-transform: uppercase; cursor: pointer; user-select: none; font-size: 1.1rem; color: var(--fg); transition: all 0.2s; } .tile:hover { background: var(--bg-surface-hover); } .tile.selected { background: var(--accent); color: #fff; border-color: var(--accent); } .cat-yellow { background-color: #F9DF6D; color: #000; } .cat-green { background-color: #A0C35A; color: #000; } .cat-blue { background-color: #B0C4EF; color: #000; } .cat-purple { background-color: #BA81C5; color: #000; } .revealed-group { border-radius: 8px; padding: 1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; animation: fadeIn 0.3s; } .revealed-group h3 { margin: 0 0 0.5rem 0; font-size: 1.1rem; text-transform: uppercase; font-weight: 800; color: #000; } .revealed-group p { margin: 0; font-size: 1rem; font-weight: 600; color: #000; } @media (max-width: 600px) { #wordGrid { grid-template-columns: repeat(4, 1fr); gap: 4px; } .tile { padding: 1rem 0.25rem; font-size: 0.8rem; word-break: break-word; text-align: center; } .tile { font-size: 0.95rem; padding: 1rem 0.25rem; } } .modern-select { padding: 0.75rem 1.25rem; font-size: 1.1rem; border: 2px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--fg); outline: none; cursor: pointer; transition: border-color 0.2s; font-family: 'Libre Franklin', system-ui, sans-serif; appearance: auto; } .modern-select:focus { border-color: var(--accent); } .strand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; max-width: 340px; margin: 1.25rem auto; } .strand-grid .letter-input { width: 100%; aspect-ratio: 1; min-width: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; border: 2px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--fg); cursor: pointer; transition: background 0.15s, border-color 0.15s; padding: 0; box-sizing: border-box; position: relative; } .strand-grid .letter-input:focus { border-color: var(--accent); outline: none; } .strand-grid .letter-input.highlight { background: #4a9eff33; border-color: #4a9eff; } .strand-grid .letter-input.spangram-hl { background: var(--accent); border-color: var(--accent); color: #fff; } .strand-grid .letter-input span { position: absolute; top: 1px; right: 3px; font-size: 0.55rem; font-weight: 700; color: var(--accent); pointer-events: none; } .strand-grid .letter-input.spangram-hl span { color: #fff; } .grid-wrap { overflow: hidden; } .grid-status { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.85rem; margin: 0.5rem 0 1rem; } .results { margin-top: 0.5rem; } .results-head { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); } .result-group { margin-bottom: 1.5rem; } .result-group-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.6rem; } .result-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; } .result-chip { padding: 0.35rem 0.75rem; border-radius: 6px; border: 1.5px solid var(--border); background: var(--surface); color: var(--fg); font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: var(--font-mono, monospace); } .result-chip:hover { border-color: var(--accent); color: var(--accent); } .result-chip.matched { background: var(--accent); color: #fff; border-color: var(--accent); } .result-chip.spangram { border-color: #e8a045; color: #e8a045; background: #e8a04511; } .result-chip.spangram.matched { background: #e8a045; color: #fff; } .no-results { padding: 1.5rem; display: flex; align-items: center; justify-content: center; color: var(--muted); font-style: italic; } .game-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; } .score-board { display: flex; gap: 1rem; } .score-box { background: var(--bg-card); border: 2px solid var(--border); padding: 0.5rem 1rem; border-radius: 8px; display: flex; align-items: center; justify-content: center; min-width: 80px; } .score-box .label { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--fg-muted); margin-bottom: 0.25rem; } .score-box .value { font-size: 1.25rem; font-weight: 800; color: var(--fg); } .game-btns { display: flex; gap: 0.5rem; } .board-wrap { display: flex; justify-content: center; margin-bottom: 2rem; } .board { width: 100%; max-width: 450px; aspect-ratio: 1 / 1; background: #bbada0; border-radius: 12px; position: relative; touch-action: none; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); } .grid-lines { position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 10px; } .slot { background: rgba(238, 228, 218, 0.35); border-radius: 8px; } .tile-2048 { position: absolute; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-weight: 700; font-family: 'Space Grotesk', sans-serif; transition: 100ms ease-in-out; transition-property: top, left, transform; z-index: 10; } .tile-2048.pop { animation: popIn 200ms cubic-bezier(0.25, 1, 0.5, 1); } @keyframes popIn { 0% { transform: scale(0); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } .t-2 { background: #eee4da; color: #776e65; font-size: 2.2rem; } .t-4 { background: #ede0c8; color: #776e65; font-size: 2.2rem; } .t-8 { background: #f2b179; color: #f9f6f2; font-size: 2.2rem; } .t-16 { background: #f59563; color: #f9f6f2; font-size: 2.2rem; } .t-32 { background: #f67c5f; color: #f9f6f2; font-size: 2.2rem; } .t-64 { background: #f65e3b; color: #f9f6f2; font-size: 2.2rem; } .t-128 { background: #edcf72; color: #f9f6f2; font-size: 1.8rem; box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.23), inset 0 0 0 1px rgba(255,255,255,0.14); } .t-256 { background: #edcc61; color: #f9f6f2; font-size: 1.8rem; box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.31), inset 0 0 0 1px rgba(255,255,255,0.19); } .t-512 { background: #edc850; color: #f9f6f2; font-size: 1.8rem; box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.4), inset 0 0 0 1px rgba(255,255,255,0.24); } .t-1024 { background: #edc53f; color: #f9f6f2; font-size: 1.4rem; box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.47), inset 0 0 0 1px rgba(255,255,255,0.29); } .t-2048 { background: #edc22e; color: #f9f6f2; font-size: 1.4rem; box-shadow: 0 0 30px 10px rgba(243, 215, 116, 0.55), inset 0 0 0 1px rgba(255,255,255,0.33); } .t-super { background: #3c3a32; color: #f9f6f2; font-size: 1.4rem; } .game-over { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(238, 228, 218, 0.85); display: none; flex-direction: column; justify-content: center; align-items: center; z-index: 100; transition: opacity 0.3s; border-radius: 12px; } .game-over.show { display: flex; animation: fade-in 0.3s ease-out; } .game-over h2 { font-size: 3rem; font-weight: 800; color: #776e65; margin: 0; font-family: 'Space Grotesk', sans-serif; } .game-over p { font-size: 1rem; color: #776e65; margin: 0.5rem 0 1.5rem; font-weight: 600; } @media (max-width: 480px) { .t-2, .t-4, .t-8, .t-16, .t-32, .t-64 { font-size: 1.6rem; } .t-128, .t-256, .t-512 { font-size: 1.4rem; } .t-1024, .t-2048, .t-super { font-size: 1.1rem; } .game-over h2 { font-size: 2.2rem; } } .entry-row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: stretch; margin: 1.5rem 0 1rem; } .entry-input { flex: 1; min-width: 150px; font-size: 1.1rem; padding: 0.75rem 1rem; border-radius: 8px; border: 2px solid var(--border); font-family: 'Space Grotesk', sans-serif; background: var(--bg); color: var(--fg); } .entry-input:focus { border-color: var(--accent); outline: none; } .entry-num { width: 100px; font-size: 1.1rem; padding: 0.75rem; border-radius: 8px; border: 2px solid var(--border); font-family: 'Space Grotesk', sans-serif; background: var(--bg); color: var(--fg); display: flex; align-items: center; justify-content: center; } .entry-num:focus { border-color: var(--accent); outline: none; } .entry-hint { font-size: 0.9rem; color: var(--fg-muted); } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 1rem; margin: 1.5rem 0; } .stat-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: 8px; padding: 1.25rem 1rem; display: flex; align-items: center; justify-content: center; } .stat-value { font-size: 1.75rem; font-weight: 800; color: var(--accent); margin-bottom: 0.25rem; font-family: 'Space Grotesk', sans-serif; line-height: 1.2; } .stat-label { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--fg-muted); } .heat-label { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; color: var(--fg-muted); border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; margin-bottom: 1rem; margin-top: 2rem; } .attempt-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; } .attempt { display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 0.75rem 1rem; gap: 1rem; font-family: 'Space Grotesk', sans-serif; transition: transform 0.2s; } .attempt:hover { transform: translateX(4px); border-color: var(--border-hover); } .attempt.top1 { border: 2px solid var(--accent); background: var(--bg); } .attempt .rank { font-weight: 700; color: var(--fg-muted); width: 30px; font-size: 0.9rem; } .attempt .word { flex: 1; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; } .attempt .pct { font-weight: 800; font-size: 1.1rem; padding: 0.25rem 0.6rem; border-radius: 4px; min-width: 70px; display: flex; align-items: center; justify-content: center; } .attempt .delta { width: 120px; text-align: right; font-size: 0.85rem; color: var(--fg-muted); font-weight: 600; } .pct-99 { background: #ff4757; color: white; } .pct-95 { background: #ffa502; color: white; } .pct-80 { background: #eccc68; color: #2f3542; } .pct-50 { background: #7bed9f; color: #2f3542; } .pct-cold { background: var(--bg); border: 1px solid var(--border); color: var(--fg-muted); } .probe-wrap { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; } .probe { padding: 0.5rem 1rem; background: var(--bg-card); border: 2px solid var(--border); border-radius: 20px; font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--fg); cursor: pointer; transition: all 0.2s ease; } .probe:hover { border-color: var(--accent); color: var(--accent); background: var(--bg); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); } .probe.used { opacity: 0.4; pointer-events: none; text-decoration: line-through; transform: none; box-shadow: none; border-color: var(--border); } @media (max-width: 480px) { .entry-row { flex-direction: column; align-items: stretch; } .entry-input, .entry-num { width: 100%; } .attempt { padding: 0.5rem; gap: 0.5rem; } .attempt .word { font-size: 1rem; } .attempt .delta { width: auto; font-size: 0.75rem; } } .sudoku-wrap { display: flex; justify-content: center; margin: 2rem 0; } .sudoku-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 1px; background: var(--fg); border: 2px solid var(--fg); width: 100%; max-width: 450px; aspect-ratio: 1/1; } .sudoku-grid .cell { width: 100%; height: 100%; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; border: none; outline: none; background: var(--bg-surface); color: var(--fg); font-family: 'Space Grotesk', sans-serif; font-weight: 700; cursor: pointer; } .sudoku-grid .cell:nth-child(3n) { border-right: 2px solid var(--fg); } .sudoku-grid .cell:nth-child(9n) { border-right: none; } .sudoku-grid .cell:nth-child(n+19):nth-child(-n+27), .sudoku-grid .cell:nth-child(n+46):nth-child(-n+54) { border-bottom: 2px solid var(--fg); } .sudoku-grid .cell:focus { background: #e3f2fd; } .sudoku-grid .cell.fixed { color: var(--fg-muted); background: var(--bg); } .sudoku-grid .cell.conflict { background: #ffebee; color: var(--usa-red); } .controls { display: flex; flex-direction: column; gap: 1rem; align-items: center; } .numpad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; width: 100%; max-width: 450px; margin-bottom: 1rem; } .num-btn { background: var(--bg-surface); border: 1px solid var(--border); padding: 0.75rem; border-radius: 8px; font-size: 1.2rem; font-weight: 700; cursor: pointer; color: var(--fg); } .num-btn:hover { background: var(--bg); border-color: var(--accent); } .num-btn.erase { background: #ffebee; color: var(--usa-red); border-color: #ffcdd2; } .status { font-weight: 600; display: flex; align-items: center; justify-content: center; min-height: 1.5rem; margin-top: 1rem; color: var(--accent); } .import-row { display: flex; gap: 0.5rem; width: 100%; margin-top: 1rem; } .import-input { flex: 1; padding: 0.75rem; border: 1px solid var(--border); border-radius: 8px; font-family: monospace; } .guess-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; margin-bottom: 1rem; } .guess-row { display: flex; gap: 0.75rem; margin-bottom: 1rem; } .gh-row { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem; border-bottom: 1px solid var(--bg); font-family: 'Space Grotesk', sans-serif; } .gh-head { font-weight: 700; color: var(--fg-muted); border-bottom: 2px solid var(--border); } .gh-rank { width: 60px; font-weight: 700; color: var(--fg-muted); } .gh-word { flex: 1; font-size: 1.1rem; font-weight: 600; text-transform: uppercase; } .gh-delta { width: 80px; text-align: right; font-size: 0.9rem; } .nearest-bar { background: var(--bg); border-radius: 4px; height: 8px; flex: 1; margin: 0 1rem; overflow: hidden; } .progress { background: var(--accent); height: 100%; width: 0%; transition: width 0.3s; } .near-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; } .near-chip { background: var(--bg); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.9rem; font-weight: 600; color: var(--fg-muted); cursor: pointer; } .near-chip:hover { background: var(--accent); color: white; } .answer-box { background: #e8f5e9; border: 2px solid #4caf50; padding: 1.5rem; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-top: 2rem; } .answer-label { font-size: 0.9rem; text-transform: uppercase; font-weight: 700; color: #2e7d32; } .answer-word { font-size: 2.5rem; font-weight: 800; color: #1b5e20; text-transform: uppercase; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.05em; } .cand-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 300px; overflow-y: auto; padding-right: 0.5rem; } .cand-list .row { display: flex; justify-content: space-between; padding: 0.5rem; background: var(--bg); border-radius: 4px; font-family: 'Space Grotesk', sans-serif; } .cand-list .row .col { font-weight: 600; } .calc-result { background: var(--bg-surface); border: 2px solid var(--border); border-radius: 8px; padding: 1.5rem; display: flex; align-items: center; justify-content: center; margin-top: 1rem; } .calc-result .big { font-size: 2rem; font-weight: 800; color: var(--accent); margin: 0.5rem 0; font-family: 'Space Grotesk', sans-serif; } .field-label { font-size: 0.85rem; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; margin-bottom: 0.5rem; display: block; } .badge { background: var(--bg); padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.8rem; font-weight: 600; } .results-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; } .word-chip { background: var(--bg-surface); border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: 8px; font-family: 'IBM Plex Mono', monospace; font-size: 1.1rem; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .word-chip.exact { background: #e3f2fd; border-color: #90caf9; color: #0d47a1; } .results-head { display: flex; justify-content: space-between; align-items: baseline; margin: 1.5rem 0 0.5rem; border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; } .results-title { font-size: 1.2rem; font-weight: 700; } .results-count { font-size: 0.9rem; color: var(--fg-muted); font-weight: 600; } .input-group { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; } .options-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; background: var(--bg); padding: 0.75rem 1rem; border-radius: 8px; } .toggle { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: 600; font-size: 0.9rem; } .toggle input { cursor: pointer; } .big-note { font-size: 1.1rem; color: var(--fg-muted); display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--bg); border-radius: 8px; } .dist-row { margin-bottom: 2rem; } .sudoku-grid .cell.user { color: var(--accent); } .sudoku-grid .cell.sel { background: #e3f2fd; } .sudoku-grid .cell.hilite { background: #f5f5f5; } .board-zone { display: flex; overflow-x: auto; margin: 2rem 0; font-family: 'Space Grotesk', sans-serif; } .row-clues { display: grid; gap: 1px; align-content: end; margin-right: 4px; margin-bottom: 2px; } .row-clue { display: flex; align-items: center; justify-content: flex-end; padding: 0 6px; font-weight: 700; font-size: 0.85rem; color: var(--fg); background: var(--bg-surface); height: 26px; letter-spacing: 2px; } .col-clues { display: grid; gap: 1px; margin-bottom: 4px; align-items: end; } .col-clue { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 2px; font-weight: 700; font-size: 0.85rem; color: var(--fg); background: var(--bg-surface); white-space: pre-wrap; text-align: center; line-height: 1.15; } .grid { display: grid; gap: 1px; background: var(--fg); padding: 1px; border: 2px solid var(--fg); } .gcell { background: var(--bg-surface); height: 26px; display: flex; justify-content: center; align-items: center; cursor: pointer; font-size: 1rem; color: var(--fg-muted); user-select: none; } .gcell:hover { background: #e3f2fd; } .gcell.filled { background: var(--fg); } .gcell.crossed { background: var(--bg-surface-hover); color: var(--fg-muted); font-size: 0.8rem; font-weight: 700; } .gcell.hintflash { animation: hintflash 1.2s ease-out; } @keyframes hintflash { 0% { background: var(--accent); transform: scale(1.1); z-index: 10; } 100% { background: var(--bg-surface); transform: scale(1); } } .top-toolbar { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; align-items: center; background: var(--bg-surface); padding: 1rem; border-radius: 8px; border: 1px solid var(--border); } .clue-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; } .clue-inputs textarea { width: 100%; height: 120px; font-family: 'IBM Plex Mono', monospace; padding: 0.75rem; border: 1px solid var(--border); border-radius: 4px; resize: vertical; } .clue-inputs label { font-weight: 700; display: block; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--fg-muted); text-transform: uppercase; } .legend { display: flex; gap: 1rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--fg-muted); align-items: center; flex-wrap: wrap; } .sw { width: 16px; height: 16px; border: 1px solid var(--border); display: inline-block; vertical-align: middle; margin-right: 0.25rem; border-radius: 2px; } .swf { background: var(--fg); border-color: var(--fg); } .swx { background: var(--bg-surface-hover); color: var(--fg-muted); text-align: center; line-height: 14px; font-size: 10px; font-weight: 800; } .title-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; } .hint-note { font-size: 0.85rem; color: var(--fg-muted); margin-top: 0.5rem; } .seg { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; } .seg button { background: var(--bg-surface); border: none; padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: 600; color: var(--fg-muted); cursor: pointer; border-right: 1px solid var(--border); } .seg button:last-child { border-right: none; } .seg button:hover { background: var(--bg); color: var(--fg); } .seg button.on { background: var(--accent); color: white; } .dist-bar { background: var(--border); height: 8px; border-radius: 4px; margin-top: 0.5rem; transition: width 0.3s ease; } .dist-row > div { margin-bottom: 1rem; font-size: 0.9rem; font-weight: 700; color: var(--fg-muted); } .dist-row > div:hover .dist-bar { background: var(--accent); } .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--border); margin-right: 4px; } .dot.filled { background: #90caf9; border-color: #0d47a1; } .bl { font-size: 0.8em; color: var(--fg-muted); margin-left: 0.25rem; font-weight: 700; } .tip { background: #e3f2fd; border-left: 4px solid #0d47a1; padding: 1rem; border-radius: 4px; margin: 1.5rem 0; color: #0d47a1; font-size: 0.95rem; } .tip strong { display: block; margin-bottom: 0.25rem; font-size: 1rem; color: #0d47a1; text-transform: uppercase; font-family: 'Space Grotesk', sans-serif; } table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; background: var(--bg-surface); border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } thead th { background: var(--bg); padding: 0.75rem 1rem; text-align: left; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; font-size: 0.85rem; border-bottom: 2px solid var(--border); } tbody td { padding: 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; } tbody tr:last-child td { border-bottom: none; } .ltr { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--accent); text-align: center; } .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; } .tw { background: var(--bg); border: 1px solid var(--border); padding: 0.25rem 0.6rem; border-radius: 4px; font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 1.1rem; color: var(--fg); transition: 0.2s; } .tw:hover { transform: scale(1.05); background: var(--bg-surface); border-color: var(--fg-muted); } .tw.tw-hi { background: #fff3e0; border-color: #ffb74d; color: #e65100; box-shadow: 0 1px 2px rgba(230,81,0,0.1); } .tw.tw-hi:hover { background: #ffe0b2; border-color: #ff9800; } .cta-row { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; } .cta { flex: 1; min-width: 200px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: white; text-align: center; font-weight: 700; font-size: 1.1rem; padding: 1rem; border-radius: 8px; text-decoration: none; transition: 0.2s; } .cta:hover { background: var(--accent-hover); color: white; transform: translateY(-2px); } .cta.second { background: var(--bg-surface) !important; color: var(--fg) !important; border: 2px solid var(--border) !important; } .cta.second:hover { background: var(--bg) !important; border-color: var(--fg) !important; } .tools { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; } .tool-chip { background: var(--bg-surface); border: 1px solid var(--border); padding: 0.5rem 1rem; border-radius: 20px; font-weight: 600; font-size: 0.9rem; color: var(--fg); text-decoration: none; transition: 0.2s; } .tool-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--bg); } .row { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: flex-end; } .col { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; min-width: 200px; } .attempt .country { flex: 1; font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; } .attempt .km { font-weight: 800; font-size: 1rem; padding: 0.25rem 0.6rem; border-radius: 4px; min-width: 100px; text-align: center; } .km-hot { background: #ff4757; color: white; } .km-warm { background: #ffa502; color: white; } .km-mid { background: #eccc68; color: #2f3542; } .km-cool { background: #7bed9f; color: #2f3542; } .km-cold { background: var(--bg); border: 1px solid var(--border); color: var(--fg-muted); } .two-ref { margin-top: 2rem; padding-top: 2rem; border-top: 2px solid var(--border); } .two-ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 0.5rem; margin-top: 1rem; } .two-chip { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 4px; padding: 0.5rem; text-align: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,0.05); } .two-chip:hover { border-color: var(--accent); color: var(--accent); } #resultsGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; margin-top: 1.5rem; } .word-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 8px; padding: 0.85rem 1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.03); } .word-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); } .word-card.copied { background: #e8f5e9; border-color: #81c784; transform: scale(1.02); } .word-text { font-size: 1.35rem; font-weight: 800; color: var(--fg); text-transform: uppercase; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.05em; } .word-score { font-size: 1rem; font-weight: 700; color: var(--fg-muted); display: flex; align-items: center; } .bingo-tag { background: #ffecb3; color: #ff8f00; padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.85rem; font-weight: 800; margin-left: 0.5rem; display: inline-block; } .word-card.bingo { border-width: 2px; border-color: #ffca28; background: #fffdf7; } .dist-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; } .dist-chip { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 0.4rem 0.8rem; font-size: 0.85rem; font-weight: 700; color: var(--fg-muted); } .show-more { display: flex; justify-content: center; margin-top: 1.5rem; width: 100%; grid-column: 1 / -1; } .show-more button { background: var(--bg); border: 2px solid var(--fg); padding: 0.75rem 2rem; border-radius: 999px; font-size: 0.95rem; font-weight: 700; color: var(--fg); cursor: pointer; transition: 0.2s; font-family: var(--font-ui); } .show-more button:hover { background: var(--bg-muted); } .lead { font-size: 1.25rem; color: var(--fg-muted); margin-bottom: 2rem; max-width: 600px; line-height: 1.6; } .contact-form { background: var(--bg-surface); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 4px 12px rgba(0,0,0,0.03); max-width: 600px; } .form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; } .form-group label { font-weight: 700; color: var(--fg); font-size: 0.95rem; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.85rem 1rem; border: 2px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 1rem; color: var(--fg); background: var(--bg); transition: border-color 0.2s; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-surface); } .form-group textarea { min-height: 150px; resize: vertical; } .btn-submit { display: inline-block; width: 100%; background: var(--accent); color: white; padding: 1rem; font-size: 1.1rem; font-weight: 700; text-align: center; border: none; border-radius: 6px; cursor: pointer; transition: 0.2s; font-family: 'Space Grotesk', sans-serif; } .btn-submit:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(179,25,66,0.2); } .response-time { text-align: center; font-size: 0.85rem; color: var(--fg-muted); font-weight: 600; margin-top: 1rem; } .form-note { background: #e3f2fd; padding: 1rem; border-radius: 6px; font-size: 0.9rem; color: #0d47a1; margin-top: 1.5rem; border: 1px solid #90caf9; } .form-note a { color: #0d47a1; font-weight: 700; text-decoration: underline; } @media (max-width: 600px) { .contact-form { padding: 1.5rem; } } .back-link { display: inline-block; margin-bottom: 1rem; color: var(--fg-muted); text-decoration: none; font-weight: 600; font-family: 'Space Grotesk', sans-serif; transition: 0.2s; } .back-link:hover { color: var(--accent); } .updated { font-size: 0.95rem; color: var(--fg-muted); margin-top: -0.5rem; margin-bottom: 2.5rem; font-family: 'IBM Plex Mono', monospace; } .policy-section, .tos-section, .section { margin-bottom: 2.5rem; max-width: 800px; } .policy-section h2, .tos-section h2, .section h2 { font-size: 1.4rem; color: var(--fg); margin-bottom: 1rem; } .policy-section p, .tos-section p, .section p { line-height: 1.7; color: var(--fg-muted); margin-bottom: 1rem; font-size: 1.05rem; } .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .feature { background: var(--bg-surface); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--border); } .feature-icon { font-size: 2rem; margin-bottom: 1rem; display: block; } .feature h3 { margin-bottom: 0.5rem; color: var(--fg); font-size: 1.2rem; } .feature p { margin-bottom: 0; font-size: 0.95rem !important; } .author-box { display: flex; align-items: center; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--border); max-width: 600px; } .author-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--accent); display: flex; justify-content: center; align-items: center; color: white; font-size: 2rem; font-weight: 800; } .author-info h3 { margin-bottom: 0.25rem; font-size: 1.2rem; } .author-info p { margin-bottom: 0 !important; font-size: 0.95rem !important; } html, body { overflow-x: hidden; width: 100%; max-width: 100vw; } @media (max-width: 768px) { .app-container, main { padding: 1rem !important; } .nav-container { height: auto; min-height: 56px; padding: 10px 16px !important; flex-wrap: wrap; gap: 6px 14px; } .tools-grid, .features, .results-grid, #resultsGrid { grid-template-columns: 1fr !important; } .card, .contact-form, .calc-result { padding: 1.25rem !important; } .seg { display: flex; flex-wrap: wrap; width: 100%; } .seg button { flex: 1; text-align: center; border-bottom: 1px solid var(--border); } } @media (max-width: 768px) { .tools-nav, .strategy-grid, .history-grid, .clue-inputs { grid-template-columns: 1fr !important; } } @media (max-width: 600px) { .nav-container { flex-direction: row; flex-wrap: wrap; height: auto; min-height: 56px; gap: 4px 14px; padding-bottom: 10px !important; } .logo { font-size: 17px; } .logo svg { width: 22px; height: 22px; } .nav-links { width: 100%; justify-content: flex-start; flex-wrap: wrap; gap: 6px 14px; } .nav-links a { font-size: 11px; letter-spacing: 0.05em; } } @media (max-width: 600px) { .app-hero { padding: 26px 0 8px; } .hero-title { font-size: clamp(26px, 7.5vw, 34px); } .hero-subtitle { font-size: 1rem; margin-bottom: 1.5rem; } .hero-actions { gap: 0.75rem; } .hero-actions .btn { flex: 1 1 100%; text-align: center; } } @media (max-width: 768px) { #faq { padding: 0 1.25rem; width: 100%; overflow: visible; } details { margin-right: 6px; margin-bottom: 1rem; } } .sudoku-wrap { flex-direction: column !important; align-items: center; gap: 1.5rem; } .answer-box { flex-direction: column !important; text-align: center; } .answer-explain { width: 100%; } .tw { display: inline-block; margin: 0.1rem 0; line-height: 1; } .answer-box { color: #1b5e20 !important; } .answer-explain { color: #2e7d32; font-weight: 500; } .best-move { display: flex; justify-content: space-between; align-items: center; background: var(--usa-navy); color: white; padding: 1.5rem 2rem; border-radius: 12px; margin-top: 1.5rem; box-shadow: 0 4px 12px rgba(10,49,97,0.2); } .best-move .lbl { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.8; margin-bottom: 0.25rem; font-weight: 600; } .best-move .word { font-size: 2.5rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.05em; } .best-move .pts { font-size: 2rem; font-weight: 800; color: #ffca28; } @media (max-width: 600px) { .best-move { flex-direction: column; text-align: center; gap: 1rem; padding: 1.25rem; } } .big-note { display: block !important; text-align: center; line-height: 1.6; max-width: 800px; margin: 2rem auto; } #boards { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 2rem; } .board { display: flex; flex-direction: column; gap: 0.25rem; background: var(--bg); padding: 0.5rem; border-radius: 8px; max-width: 100%; box-sizing: border-box; } .board-head { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; } .board-status { color: #888; } .board.solved .board-status { color: var(--accent); } .guess-row { display: flex; gap: 0.25rem; } .board .guess-row { flex-direction: row; flex-wrap: nowrap; } .letter-tile { width: clamp(28px, 13vw, 48px); height: clamp(28px, 13vw, 48px); box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: clamp(1rem, 5vw, 1.5rem); font-weight: 700; background: transparent; border: 2px solid var(--border); color: var(--fg); text-transform: uppercase; } .letter-tile.correct { background: var(--accent); border-color: var(--accent); color: white; } .letter-tile.present { background: #e4a81d; border-color: #e4a81d; color: white; } .letter-tile.absent { background: var(--border); border-color: var(--border); color: white; } #keyboard { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; margin-top: 1rem; } .kb-row { display: flex; gap: 0.35rem; justify-content: center; } .kb-key { height: 50px; min-width: 38px; border-radius: 4px; border: 2px solid var(--fg); background: var(--bg-surface); color: var(--fg); box-shadow: 2px 2px 0 var(--fg); font-size: 0.9rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; text-transform: uppercase; padding: 0; user-select: none; transition: transform 0.1s; } .kb-key:active { transform: scale(0.95); } .kb-key.correct { background: var(--accent); color: white; } .kb-key.present { background: #e4a81d; color: white; } .kb-key.absent { background: var(--border); color: white; } @media (max-width: 600px) { .letter-tile { width: 38px; height: 38px; font-size: 1.2rem; } .kb-key { min-width: 28px; height: 45px; font-size: 0.8rem; } } .hint-line { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.95rem; flex-wrap: wrap; } .hint-tag { background: var(--accent); color: white; padding: 0.2rem 0.4rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; } .hint-word-reveal { letter-spacing: 1px; background: var(--bg); padding: 0.1rem 0.3rem; border-radius: 4px; border: 1px solid var(--border); font-family: monospace; } .honeycomb { display: flex; flex-direction: column; align-items: center; margin: 2rem 0; } .hex-row { display: flex; justify-content: center; margin-bottom: -15px; } .hex { width: 90px; height: 100px; background: var(--bg-muted); color: var(--fg); border: none; font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; text-transform: uppercase; cursor: pointer; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); margin: 0 4px; transition: transform 0.1s; } .hex:active { transform: scale(0.95); } .hex.center { background: var(--accent); color: white; } .letter-inputs { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; } .letter-label { font-size: 0.75rem; text-transform: uppercase; color: #888; margin-bottom: 0.25rem; } .letter-box { width: 40px; height: 40px; font-size: 1.25rem; text-align: center; text-transform: uppercase; border: 2px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--fg); font-weight: 700; } .letter-box.center { border-color: var(--accent); } .guess-display { font-size: 2rem; font-weight: 700; letter-spacing: 2px; text-align: center; min-height: 50px; margin: 1.5rem 0; color: var(--fg); text-transform: uppercase; word-break: break-all; } .guess-display .center { color: var(--accent); } .rank-line { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; } .rank-name { font-size: 1.25rem; font-weight: 700; } .rank-pct { font-size: 0.9rem; color: #888; } .progress-wrap { position: relative; height: 20px; margin-bottom: 0.5rem; } .progress { width: 100%; height: 8px; background: var(--border); border-radius: 4px; position: absolute; top: 6px; overflow: hidden; } .progress-fill { height: 100%; background: var(--accent); width: 0%; transition: width 0.3s ease; } .progress-mark { position: absolute; width: 16px; height: 16px; background: var(--bg); border: 2px solid var(--border); border-radius: 50%; top: 2px; transform: translateX(-50%); z-index: 2; } .progress-mark.achieved { border-color: var(--accent); background: var(--accent); } .genius-note { font-size: 0.8rem; color: #888; text-align: center; } .pangram { font-weight: 700; color: var(--accent); } .wc-toast, .toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--fg); color: var(--bg); padding: 0.75rem 1.5rem; border-radius: 20px; font-weight: 700; opacity: 0; pointer-events: none; transition: all 0.3s ease; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.15); } .wc-toast.show, .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } .slots { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; } .slot { width: 50px; height: 50px; font-size: 1.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; text-transform: uppercase; background: var(--bg); border: 2px dashed var(--border); color: var(--fg); border-radius: 8px; } .slot.locked { border-style: solid; border-color: var(--accent); background: rgba(39, 174, 96, 0.15); } .slot.solved { border-style: solid; border-color: var(--accent); background: var(--accent); color: white; } .finder-input { width: 100%; max-width: 250px; padding: 0.75rem; font-size: 1.25rem; text-align: center; text-transform: uppercase; border: 2px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--fg); margin-bottom: 1rem; font-weight: 700; letter-spacing: 2px; } .finder-input:focus { border-color: var(--accent); outline: none; } .sbanner { background: var(--news-tint); border-bottom: 2px solid var(--fg); } .sbanner-in { max-width: var(--maxw-page); margin: 0 auto; padding: 10px var(--page-gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; } .sbanner-pill { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border: 2px solid var(--fg); border-radius: 999px; padding: 2px 9px; color: var(--fg); background: transparent; flex: none; } .sbanner-msg { font-family: var(--font-display); font-size: 16px; line-height: 1.3; color: var(--fg); } .sbanner-link { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; } .sbanner-link:hover { color: var(--accent); } .sbanner-x { margin-inline-start: auto; background: none; border: 0; padding: 6px; font-size: 18px; line-height: 1; color: var(--fg); cursor: pointer; } .sbanner-x:hover { color: var(--accent); } .hubtop { display: flex; flex-direction: column; } .hubtop-head { text-align: center; padding-block: 40px 0; } .hubtop-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4.1vw, 43px); line-height: 1.04; letter-spacing: -0.02em; max-width: 22ch; margin: 0 auto; text-wrap: balance; color: var(--fg); } .hubtop-lines { text-align: center; padding-block: 20px 0; max-width: 60ch; margin: 0 auto; } .hubtop-free { font-weight: 600; font-size: clamp(15px, 1.5vw, 19px); line-height: 1.35; color: var(--ink-2); } .hubtop-made { font-weight: 400; font-size: clamp(13px, 1.25vw, 15px); line-height: 1.4; color: var(--ink-3); margin-top: 7px; } .hubtop-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; } .editionpill { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; border: 2px solid var(--fg); border-radius: 999px; padding: 6px 16px; background: var(--bg-surface); box-shadow: 3px 3px 0 var(--accent); } .editionpill .lab { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); } .editionpill .num { font-family: var(--font-mono); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--fg); } .grail { margin-top: 18px; } .grail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; } .grail-label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); margin: 0; } .grail-more { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; white-space: nowrap; } a.grail-more:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; } .tilerail { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; padding: 4px 4px 26px; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; } .tilerail::-webkit-scrollbar { display: none; } .tilerail > .app-card { flex: none; width: 196px; scroll-snap-align: start; } .tilerail > .app-card .card-info h3 { font-size: 18px; min-height: 41px; } .tilerail > .app-card .card-info p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .featband { background: var(--band-blue); border-block: 2px solid var(--fg); margin: 26px 0 34px; } .featband > .wrap { padding-block: 20px 4px; } .featband .grail-head { justify-content: center; margin-bottom: 16px; } .featband .grail-label { font-size: 18px; letter-spacing: 0.14em; } .featband .tilerail { justify-content: safe center; } .featband .tilerail > .app-card { width: 251px; } .featband .tilerail > .app-card .card-info h3 { font-size: 21px; min-height: 48px; } .band { background: var(--band-cream); border-block: 2px solid var(--fg); } .band-blue { background: var(--band-blue); } .band-in { max-width: var(--maxw-page); margin: 0 auto; padding: 22px var(--page-gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; } .band-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -0.01em; color: var(--fg); } .band-text { font-family: var(--font-ui); font-size: 15px; color: var(--ink-2); max-width: 64ch; } .band-in .btn, .band-in .band-tags { margin-inline-start: auto; } .band-tags { display: flex; flex-wrap: wrap; gap: 8px; } .tag { display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--fg); border-radius: 999px; background: var(--bg-surface); color: var(--fg); } .home-main { max-width: none; padding: 0; padding-bottom: 8px; } .home-sep { border-top: 2px solid var(--fg); margin-top: 40px; } .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; } .card-pill { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border: 1.5px solid var(--fg); border-radius: 999px; padding: 2px 9px; color: var(--fg); background: transparent; white-space: nowrap; } .card-cta { font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg); transition: color var(--dur-1) var(--ease-snap); } .app-card:hover .card-cta { color: var(--accent); } .lb-teaser { background: var(--bg-surface); border: 2px solid var(--fg); border-radius: 10px; box-shadow: 4px 4px 0 var(--accent); padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; } .lb-teaser h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; } .lb-teaser p { font-family: var(--font-ui); font-size: 14px; color: var(--ink-2); max-width: 60ch; } .lb-teaser .btn { margin-inline-start: auto; } .foot-base { max-width: var(--maxw-page); margin: 0 auto; border-top: 2px solid var(--fg); padding: 7px var(--page-gutter) 24px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .mode-toggle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .mode-toggle .btn { font-size: 12px; padding: 8px 14px; letter-spacing: 0.06em; } @media (max-width: 900px) { .featband .tilerail { justify-content: flex-start; } .featband .tilerail > .app-card { width: 224px; } .tilerail > .app-card { width: 196px; } } @media (max-width: 680px) { .featband { margin: 24px 0 32px; } .featband > .wrap { padding-block: 16px 2px; } .featband .grail-label { font-size: 15px; } .band-in { padding: 18px var(--page-gutter); } .band-in .btn { margin-inline-start: 0; } .sbanner-link { margin-inline-start: 0; } } @media (max-width: 480px) { .hubtop-head { padding-block: 26px 0; } .tilerail { scroll-snap-type: x mandatory; padding-inline: 4px; } .tilerail > .app-card { width: 178px; } .featband .tilerail > .app-card { width: 214px; } .tilerail > .app-card .card-info h3 { min-height: 40px; } .grail-head { flex-wrap: wrap; gap: 6px 12px; } .foot-base { flex-direction: column; gap: 4px; } } .progress { position: static; width: auto; justify-content: flex-start; } .game-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; margin: 4px 0 1.5rem; } .game-stage { min-width: 0; } .game-stage > * { margin-bottom: 1rem; } .game-stage > .breadcrumb { margin-bottom: .5rem; } .game-stage > h1 { margin-bottom: .35rem; } .game-stage > .subtitle, .game-stage > p.subtitle { margin-bottom: .5rem; } .game-stage > .meta { margin-bottom: .6rem; } .game-rail { min-width: 0; position: sticky; top: calc(var(--header-h) + 14px); max-height: calc(100vh - var(--header-h) - 28px); overflow-x: hidden; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 8px 4px; scrollbar-width: thin; } .game-rail > * { margin: 0 !important; width: 100%; min-width: 0; } .game-rail > section:not(.card), .game-rail > div:not(.card):not(.share-bar):not(.hints-panel):not(.mode-toggle) { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .03); } .game-rail > .mode-toggle { justify-content: center; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: .75rem; } .game-rail h2 { font-size: 1.05rem; margin-bottom: .6rem; } .game-rail .share-bar { padding: 1rem; flex-wrap: wrap; justify-content: center; } .game-rail .hints-panel { padding: 1.25rem; } .game-head { margin: 0 0 .5rem; } .game-head > .breadcrumb { margin-bottom: .15rem; } .game-head h1 { margin: .05rem 0 .2rem; } .game-head .subtitle { margin-bottom: .2rem; } .game-head .meta { margin-bottom: .2rem; } .game-head h1 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; } .game-head .subtitle, .game-head p.subtitle { font-size: .95rem; line-height: 1.4; } .game-head .meta { font-size: .78rem; } .game-stage > .breadcrumb { font-size: .78rem; margin-bottom: .3rem; } .game-stage > h1 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; margin-bottom: .25rem; } .game-stage > .subtitle, .game-stage > p.subtitle { font-size: .95rem; line-height: 1.4; margin-bottom: .35rem; } .game-stage > .meta { font-size: .78rem; margin-bottom: .4rem; } .game-stage > * { margin-bottom: .7rem; } .game-stage h1 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; margin-bottom: .25rem; } .game-stage .subtitle, .game-stage p.subtitle { font-size: .95rem; line-height: 1.4; margin-bottom: .35rem; } .game-stage .meta { font-size: .78rem; } .game-stage #boards { gap: .75rem; margin-bottom: 1rem; } .game-stage #boards .guess-row { margin-bottom: 0; } .game-stage #boards .board { aspect-ratio: auto; width: auto; max-width: none; align-items: center; } .game-stage #boards .guess-row { justify-content: center; } .game-stage #boards .board-head { width: 100%; } .game-stage .board-wrap { max-width: 460px; margin-inline: auto; } .game-stage .game-wrap { display: flex; flex-direction: column; gap: .4rem; margin-inline: auto; max-width: 640px; padding: .65rem 1rem; } .game-stage .game-wrap > * { margin-block: 0 !important; } .game-stage .ic-header { justify-content: flex-end; } .game-stage .scrabble-container, .game-stage .solver-section, .game-stage .ws-game-container, .game-stage .ws-container, .game-stage .sudoku-container, .game-stage .ms-container, .game-stage .cw-container, .game-stage .snake-container, .game-stage .sol-container, .game-stage .game-container, .game-stage .puzzle-container { margin-inline: auto; } @media (min-width: 700px) { .ws-game-container { display: grid; grid-template-columns: minmax(0, 1fr) 266px; column-gap: 16px; align-items: start; } .ws-game-container > .ws-header { grid-column: 1 / -1; } .ws-game-container > #ws-daily-streak { grid-column: 1 / -1; } .ws-game-container > .ws-grid-container { grid-column: 1; min-width: 0; } .ws-game-container > .ws-side { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; } .ws-game-container > .ws-modal { grid-column: 1 / -1; } } main[style*="max-width: 100%"] .game-shell { max-width: var(--maxw-page); margin: 4px auto 1.5rem; padding: 0 var(--page-gutter); } @media (max-width: 900px) { .game-shell { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } .game-rail { position: static; max-height: none; overflow: visible; padding: 0; } } .game-head { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .75rem; row-gap: 0; margin-bottom: .3rem; } .game-head > .breadcrumb { flex: 0 0 auto; } .game-head h1 { flex: 1 1 12rem; } .game-head .subtitle, .game-head p.subtitle { flex: 1 0 100%; } .game-head .meta { flex: 0 1 auto; min-width: 0; max-width: 100%; } .game-head > p:not(.subtitle) { flex: 1 1 10rem; } .game-shell .game-stage { padding-top: 0; padding-bottom: 0; } .game-stage > * { margin-bottom: .4rem; } .game-stage .game-top { margin-bottom: .7rem; } .game-stage .cw-board { margin-top: .5rem; margin-bottom: .5rem; } .game-stage .ic-wrap { margin-top: 0; margin-bottom: .4rem; } .game-stage .ic-header { padding-top: .7rem; padding-bottom: .7rem; } .game-head .meta { margin-bottom: .2rem !important; } .game-head { margin-bottom: .2rem; } .game-head .subtitle, .game-head p.subtitle { line-height: 1.3; } .game-stage > * { margin-bottom: .3rem; } .game-stage .game-wrap { padding: .4rem 1rem; } .game-stage #boards .board { padding-top: 2px; padding-bottom: 2px; gap: 3px; } .game-stage #boards .board-head { margin-bottom: .1rem; } .game-stage .keyboard { gap: .4rem; } .game-stage .game-board .theme-clue, .game-stage .game-board .current-path-word { margin-bottom: .5rem; } .game-stage .scrabble-container .board { padding-top: 2px; padding-bottom: 2px; gap: 1px; } .game-stage .scrabble-container .rack { margin-top: .4rem; padding-top: .4rem; padding-bottom: .4rem; } .game-stage #spangramGame { padding-bottom: .5rem !important; } .game-stage #spangramGame > div:first-child { margin-bottom: .5rem !important; } .game-stage #spangramGame > div:nth-child(3), .game-stage #spangramGame > div:nth-child(4) { margin-top: .5rem !important; } .game-stage .card:has(#spangramGame) > div:first-child { padding-top: .6rem !important; } .game-stage .keyboard { gap: .3rem; } .game-stage .scrabble-container .rack { margin-top: .15rem; padding-top: .15rem; padding-bottom: .15rem; } .game-stage .scrabble-container .board { padding-top: 1px; padding-bottom: 1px; } .game-stage #keyboard { gap: .3rem; } .game-head h1 { margin-top: 0; margin-bottom: .1rem; } .game-head .subtitle, .game-head p.subtitle { margin-bottom: .1rem; } .game-head .meta { margin-bottom: .1rem !important; } .game-shell { margin-top: 2px; } .game-stage .scrabble-container .rack { margin-top: 0; } .game-head { margin-bottom: .1rem; } .game-head .meta { margin-bottom: 0 !important; } .overlay-close-host { position: relative; } .overlay-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; margin: 0; background: var(--bg-surface); color: var(--fg); border: 2px solid var(--fg); border-radius: var(--radius); box-shadow: var(--shadow-press); cursor: pointer; z-index: 2100; line-height: 1; transition: transform var(--dur-1) var(--ease-snap), box-shadow var(--dur-1) var(--ease-snap), background var(--dur-1) var(--ease-snap), color var(--dur-1) var(--ease-snap); } .overlay-close:hover, .overlay-close:focus-visible { background: var(--accent); color: #FFFFFF; transform: translate(-1px, -1px); box-shadow: var(--shadow-press-lg); } .overlay-close:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--fg); } .overlay-close svg { width: 20px; height: 20px; display: block; pointer-events: none; } .overlay-close-host > h2, .win-modal > h2 { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; } .ws-modal-content.overlay-close-host { max-width: calc(100% - 24px); flex-wrap: wrap; } .ws-modal-content.overlay-close-host .overlay-close { top: 2px; } .guess-row > input, .import-row > input, .import-row > textarea, .import-row > button, .solver-section input, #solverInput, #beeInput, #import { min-width: 0; } .share-btns { flex-wrap: wrap; justify-content: center; } .tbl-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; } .tbl-wrap table { min-width: 0; } .game-frame iframe, .game-frame { max-width: 100%; } @media (max-width: 600px) { .game-stage .game-wrap { padding-left: .25rem; padding-right: .25rem; } .kb-row { width: 100%; min-width: 0; gap: .2rem; } .kb-key { flex: 1 1 0; min-width: 0; } } .logo picture { display: flex; flex: none; } .logo img.logo-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--border); flex: none; } .footer-left .logo img.logo-avatar { width: 26px; height: 26px; } @media (max-width: 640px) { .logo img.logo-avatar { width: 24px; height: 24px; } } .pipu-pic { display: block; margin: 0 auto 8px; } .pipu-ov { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--border); display: block; margin: 0 auto; } .win-modal .pipu-pic, .ms-win-modal .pipu-pic { margin-top: 2px; } .pipu-btn-pic { display: inline-flex; align-items: center; } .pipu-btn { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; margin-right: 7px; vertical-align: -4px; }