/* Shared clubhouse presentation. Feature rules follow the responsive shell. */
:root { --bg-primary:#111913; --bg-secondary:#1d2821; --text-primary:#f3f0e5; --accent-primary:#c7f27b; --accent-hover:#dcffa5; --border-color:#354337; --font-main:'Nunito',sans-serif; }
* { margin:0; padding:0; box-sizing:border-box; }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.twitch-embed-wrapper iframe { position:absolute; top:0; left:0; width:100%; height:100%; }
html { font-size: 18px; color-scheme: dark; scroll-padding-top: 24px; }
body { font-family: var(--font-main); background: #111913; color: var(--text-primary); min-height: 100vh; padding: 0 32px; isolation: isolate; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 85% 12%, #7ba84b13, transparent 55%); }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent-primary); text-underline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: var(--accent-primary); color: #111913; z-index: 2000; transform: translateY(-160%); border-radius: 8px; }
.skip-link:focus { transform: none; }
#ambient-background { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.site-header, body > nav, main, footer { position: relative; z-index: 1; width: min(100%, 1200px); margin-inline: auto; }
.site-header { display: flex; align-items: center; gap: 32px; min-height: 114px; border-bottom: 1px solid var(--border-color); }
.brand { display: flex; gap: 12px; align-items: center; color: var(--text-primary); text-decoration: none; flex-shrink: 0; }
.brand > span { display: flex; flex-direction: column; gap: 3px; }
.brand strong { font-size: 27px; font-weight: 900; letter-spacing: -1.4px; line-height: 1; }
.brand-number { color: var(--accent-primary); }
.brand small { font-size: 13px; font-weight: 800; letter-spacing: 2.5px; color: #a5b19e; }
.character-avatar { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; border: 1px solid #9fbe7799; transform: rotate(-5deg); }
.social-links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; color: #b5bfad; transition: color .15s; }
.social-links a:hover { color: #e0ffc2; }
#top-right-controls { display: flex; align-items: center; gap: 8px; }
.mute-control { width: 44px; height: 44px; border: 1px solid #354337; background: #1d2821; color: #c0cbb7; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.mute-control svg { width: 17px; height: 17px; }
.mute-control:hover { color: #e0ffc2; border-color: #93ad78; }
#auth-button { display: flex; justify-content: center; align-items: center; height: 44px; padding: 0 16px; border: 1px solid #4a5b40; border-radius: 7px; background: #263521; color: #e4f5d3; font-size: 14px; font-weight: 800; cursor: pointer; white-space: nowrap; }
#auth-button:hover { background: #34482c; }
body > nav { display: flex; gap: 5px; padding: 16px 0 24px; align-items: center; }
.tab { flex: 0 1 auto; cursor: pointer; padding: 10px 19px; border-radius: 7px; border: 1px solid transparent; background: transparent; color: #aab6a3; font-size: 15px; font-weight: 800; transition: color .15s, background .15s; white-space: nowrap; min-height: 48px; }
.tab:hover { color: #f3f0e5; background: #223024; }
.tab.active { background: #c7f27b; color: #1c2a15; border-color: #c7f27b; }
main { outline: none; }
.section { display: none; position: relative; min-width: 0; border: 1px solid #354337; border-radius: 16px; padding: 36px; background: #18221bea; line-height: 1.65; }
.section.active { display: block; animation: fadeIn .2s ease-out; }
.section h2 { text-align: left; font-size: clamp(28px, 3vw, 40px); letter-spacing: -1.5px; line-height: 1.12; margin: 7px 0 24px; font-weight: 800; }
.section p { font-size: 18px; margin: 0 0 16px; line-height: 1.7; color: #bfc8b8; }
.eyebrow { display: block; font-size: 13px; line-height: 1.5; letter-spacing: 2px; font-weight: 800; color: #a4b591; }
#home { border: 0; padding: 0; background: transparent; }
.home-hero { display: grid; grid-template-columns: 1.22fr 1fr; align-items: center; gap: 32px; min-height: 470px; padding: 28px 0 44px; }
.hero-copy { padding: 0 0 10px 8px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; color: #c7f27b; }
.tiny-star { font-size: 20px; line-height: 1; }
.hero-copy h1 { font-size: clamp(44px, 5.3vw, 72px); line-height: 1.02; font-weight: 900; letter-spacing: -3.8px; margin: 24px 0; }
.hero-copy h1 em { font-family: Georgia, serif; font-weight: 400; color: #c7f27b; letter-spacing: -3.5px; }
.hero-copy > p { max-width: 440px; font-size: 17px; line-height: 1.85; color: #b5c0ad; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 27px; }
.primary-link, .quiet-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; font-size: 15px; font-weight: 800; text-decoration: none; }
.primary-link { color: #172211; background: #c7f27b; padding: 14px 20px; border-radius: 7px; box-shadow: 0 3px 0 #7eaa48; transition: transform .15s; }
.primary-link:hover { transform: translateY(-2px); background: #d7ffa0; }
.quiet-link { color: #e1e7d9; gap: 12px; }
.quiet-link:hover { color: #c7f27b; }
.hero-footnote { margin-top: 30px; font-size: 13px; color: #8e9f83; display: flex; gap: 9px; align-items: center; }
.hero-footnote > span { color: #b6cd95; }
.hero-portrait { position: relative; height: 500px; display: flex; justify-content: center; align-items: flex-end; }
.hero-portrait::before { content: ''; position: absolute; inset: 23px 10px 16px 17px; background: #b6cf8a; border-radius: 46% 46% 15px 15px; transform: rotate(3deg); }
.hero-portrait > img { position: relative; z-index: 1; width: 94%; height: 96%; object-fit: cover; object-position: center 25%; border-radius: 46% 46% 18px 18px; border: 1px solid #8ba661; box-shadow: 0 18px 50px #0004; }
.portrait-orbit { position: absolute; width: 100%; height: 45%; top: 30%; left: 0; border: 1px solid #79994a; border-radius: 50%; transform: rotate(-30deg); }
.portrait-doodle { position: absolute; z-index: 2; color: #e1f5bb; line-height: 1; text-shadow: 2px 2px #293e22; }
.doodle-one { top: 5px; right: 16px; font-size: 62px; transform: rotate(12deg); }
.doodle-two { bottom: 80px; left: -9px; font-size: 46px; }
.portrait-note { position: absolute; bottom: 30px; left: -10px; z-index: 2; font: italic 17px Georgia, serif; color: #24361c; background: #f2eedb; padding: 9px 14px; transform: rotate(-7deg); box-shadow: 2px 4px 0 #2c3c2322; }
.portrait-tag { position: absolute; bottom: -10px; right: 28px; z-index: 2; font-size: 13px; letter-spacing: 1.5px; font-weight: 800; background: #19241a; border: 1px solid #66804d; padding: 7px 10px; border-radius: 4px; transform: rotate(3deg); color: #c6d8b0; }
.hangout-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 23px 0 18px; border-top: 1px solid #354337; }
#home .hangout-heading h2 { font-size: 28px; margin: 3px 0 0; letter-spacing: -1px; }
#header-stream-status { text-align: right; font-weight: 800; line-height: 1.4; }
#header-stream-status .status-label { display: block; font-size: 13px; letter-spacing: 1.5px; color: #98aa8b; }
#header-stream-status .status-countdown { font: 13px ui-monospace, monospace; color: #d3dfc6; }
#header-stream-status.live { background: #c7f27b; color: #192512; padding: 8px 14px; font-size: 14px; border-radius: 5px; }
#header-stream-status.live::before { content: '●'; margin-right: 8px; }
.twitch-embed-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; width: 100%; margin: 0 0 35px; border-radius: 12px; border: 1px solid #3d4c39; background: #0b110e; }
.explore-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 40px 0 17px; }
.explore-heading > span:last-child { font: italic 15px Georgia, serif; color: #9dac93; }
.home-explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-explore > a { display: flex; flex-direction: column; text-decoration: none; background: #1c271eeb; border: 1px solid #3b4a35; border-radius: 10px; padding: 24px; color: #e9ebde; transition: background .15s, transform .15s; }
.home-explore > a:hover { background: #273824; transform: translateY(-3px); border-color: #819661; }
.explore-number { color: #a4b68d; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; }
.home-explore strong { display: flex; justify-content: space-between; gap: 10px; font-size: 21px; letter-spacing: -.7px; line-height: 1.25; margin: 22px 0 9px; }
.home-explore strong > span { font-size: 19px; color: #a9ca83; }
#home .home-explore p { font-size: 15px; line-height: 1.65; color: #acb9a2; margin-bottom: 24px; }
.explore-bottom { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; color: #c7f27b; margin-top: auto; padding-top: 15px; border-top: 1px solid #3d4c36; }
footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; border-top: 1px solid #354337; margin-top: 46px; padding: 25px 0 32px; color: #94a189; font-size: 13px; }
footer p { margin: 0; }
footer a { color: #b6c3a9; text-decoration: none; }
footer a:hover { color: #e0ffc2; }
.footer-brand { color: #d7dfcb; font-weight: 800; }
.footer-brand > span { color: #c7f27b; margin: 0 10px; }
#bonk-character { position: fixed; bottom: 0; right: 0; width: clamp(90px, 9vw, 150px); height: auto; cursor: pointer; z-index: 4; transition: transform .15s; filter: drop-shadow(0 4px 10px #0004); }
#bonk-character:hover { transform: translateY(-5px); }
#bonk-character:active { transform: scale(.95); }
@media (min-width: 1800px) { .site-header, body > nav, main, footer { width: min(100%, 1400px); } .home-hero { min-height: 510px; } }
@media (max-width: 1100px) { .social-links { gap: 12px; } .site-header { gap: 16px; flex-wrap: wrap; padding-block: 20px; } .social-links { order: 3; width: 100%; margin-left: 0; } #top-right-controls { margin-left: auto; } .hero-copy h1 { letter-spacing: -2.5px; } .hero-portrait { height: 440px; } }
@media (max-width: 800px) {
  body { padding: 0 20px; }
  .site-header { flex-wrap: wrap; min-height: 92px; gap: 12px; padding: 18px 0; }
  .social-links { order: 3; width: 100%; gap: 18px; margin-left: 0; }
  #top-right-controls { margin-left: auto; }
  body > nav { overflow-x: auto; padding: 14px 0 20px; scrollbar-width: thin; scrollbar-color: #566a46 transparent; }
  .tab { flex: 0 0 auto; padding: 10px 15px; font-size: 14px; }
  .home-hero { gap: 12px; min-height: 390px; padding-top: 15px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy > p { font-size: 16px; }
  .hero-portrait { height: 390px; }
  .hero-actions { gap: 16px; }
  .primary-link { gap: 15px; padding: 12px 15px; }
  .quiet-link { font-size: 14px; }
  .hero-footnote { font-size: 13px; }
  .portrait-note { font-size: 16px; }
  .portrait-tag { font-size: 13px; right: 8px; }
  .home-explore { gap: 10px; }
  .home-explore > a { padding: 18px; }
  .home-explore strong { font-size: 18px; }
  .section { padding: 25px; }
}
@media (max-width: 580px) {
  body { padding: 0 16px; }
  .site-header { padding: 16px 0; gap: 16px 8px; }
  .character-avatar { width: 52px; height: 52px; border-radius: 12px; }
  .brand { gap: 12px; flex-basis: 100%; }
  .brand strong { font-size: 23px; }
  .brand small { font-size: 13px; letter-spacing: 1.5px; }
  #top-right-controls { gap: 10px; width: 100%; margin-left: 0; }
  #auth-container { margin-left: auto; }
  .mute-control { width: 44px; height: 44px; }
  .mute-control svg { width: 15px; height: 15px; }
  #auth-button { font-size: 13px; padding: 0 9px; height: 44px; }
  .social-links { justify-content: flex-start; gap: 4px 20px; }
  .social-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; }
  body > nav { gap: 3px; padding: 12px 0 17px; }
  .tab { min-height: 48px; padding: 9px 12px; }
  .home-hero { display: flex; flex-direction: column; gap: 5px; padding: 12px 0 30px; }
  .hero-copy { width: 100%; padding: 0; }
  .hero-copy .eyebrow { font-size: 13px; letter-spacing: 1.6px; }
  .hero-copy h1 { font-size: clamp(40px, 11vw, 61px); letter-spacing: -2.8px; margin: 18px 0; }
  .hero-copy h1 em { letter-spacing: -2.2px; }
  .hero-copy > p { font-size: 16px; max-width: 370px; }
  .hero-actions { margin-top: 22px; gap: 24px; }
  .hero-footnote { margin-top: 22px; }
  .hero-portrait { margin-top: 18px; width: min(90%, 340px); height: 360px; }
  .hero-portrait::before { inset: 22px 0 12px; }
  .hero-portrait > img { width: 90%; }
  .portrait-note { left: -12px; bottom: 50px; }
  .doodle-one { font-size: 46px; right: -10px; }
  .doodle-two { font-size: 35px; left: -15px; }
  .hangout-heading { padding-top: 22px; }
  #home .hangout-heading h2 { font-size: 25px; }
  .eyebrow { font-size: 13px; }
  .twitch-embed-wrapper { padding-bottom: 170%; border-radius: 9px; margin-bottom: 26px; }
  .explore-heading { margin-top: 30px; align-items: flex-start; flex-direction: column; gap: 5px; }
  .explore-heading > span:last-child { font-size: 16px; }
  .home-explore { grid-template-columns: 1fr; gap: 12px; }
  .home-explore > a { padding: 22px; }
  .home-explore strong { margin-top: 15px; font-size: 23px; }
  #home .home-explore p { margin-bottom: 18px; }
  .section { padding: 22px 16px; border-radius: 12px; }
  .section h2 { font-size: 29px; letter-spacing: -1px; }
  .section-title-container { padding-right: 64px; }
  .info-button { padding: 8px 10px; font-size: 13px; }
  .command-category-header { padding: 16px 42px 16px 15px; font-size: 17px; }
  .command-category-content { padding-inline: 14px; }
  #commands td, #commands th { padding: 10px; min-width: 100px; }
  #food-controls input, #food-controls select, #search-input { font-size: 18px; }
  #global-stats-container { grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); }
  .global-stat-card { padding: 16px 8px; }
  .global-stat-card .label { font-size: 14px; }
  .global-stat-card .value { font-size: 26px; }
  .personal-stats-list .value { font-size: 18px; }
  #bonk-character { width: 68px; }
  footer { padding-bottom: 75px; margin-top: 32px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Feature pages share the clubhouse shell; each keeps its own useful structure. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
button { cursor:pointer; }
input, select { min-width:0; min-height:48px; border:1px solid #4b6046; border-radius:8px; padding:11px 14px; background:#111b14; color:var(--text-primary); }
input::placeholder { color:#9eaf96; opacity:1; }
button, a, input, select, summary { touch-action:manipulation; }
.outline-button { display:inline-flex; align-items:center; justify-content:center; gap:22px; min-height:46px; padding:10px 16px; border:1px solid #60734b; border-radius:7px; color:#d9ecc4; background:transparent; font-size:15px; font-weight:800; }
.outline-button:hover { background:#2b3b25; border-color:#c7f27b; }
.page-intro { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); align-items:center; gap:36px; padding:8px 0 34px; border-bottom:1px solid var(--border-color); margin-bottom:30px; }
.section .page-intro h2 { font-size:clamp(38px,4.2vw,58px); line-height:1.06; letter-spacing:-2px; margin:15px 0 22px; }
.page-intro h2 em { font-family:Georgia,serif; font-weight:400; color:var(--accent-primary); }
.section .page-intro p { max-width:540px; margin-bottom:24px; }
.results-note { font-size:14px!important; color:#aabd9b!important; margin:14px 0!important; }
.search-label { display:block; font-weight:800; font-size:15px; margin-bottom:8px; color:#dce6d0; }
.stream-schedule { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 22px; margin-bottom:16px; background:#1b281e; border:1px solid #354337; border-radius:10px; }
.schedule-days { display:flex; gap:20px; }
.schedule-days > span { font-size:12px; letter-spacing:1px; color:#7f9077; text-align:center; font-weight:800; }
.schedule-days i { display:block; font-style:normal; line-height:1.2; font-size:15px; margin-top:4px; }
.schedule-days .is-stream-day { color:#d4f4ad; }
.schedule-hours { display:flex; flex-direction:column; text-align:right; font-size:14px; color:#a9b89e; }
.schedule-hours strong { font-size:15px; color:#e1ead7; }

/* Food: actual inventory art, readable effects, and composable filters. */
.menu-art { position:relative; min-height:300px; border:1px solid #526444; border-radius:50% 50% 16px 16px; background:radial-gradient(ellipse,#8eac4730,transparent 68%),#1d2c1e; overflow:hidden; }
.menu-art > img { position:absolute; object-fit:contain; filter:drop-shadow(0 12px 8px #0005); }
.menu-art > img:nth-of-type(1) { width:55%; height:65%; left:6%; top:20%; transform:rotate(-8deg); }
.menu-art > img:nth-of-type(2) { width:42%; height:52%; right:5%; top:7%; transform:rotate(9deg); }
.menu-art > img:nth-of-type(3) { width:47%; height:45%; right:3%; bottom:8%; transform:rotate(7deg); }
.menu-stamp { position:absolute; top:14px; left:50%; width:max-content; text-align:center; color:#cfddb9; font-size:11px; letter-spacing:2px; z-index:1; transform:translateX(-50%) rotate(-5deg); line-height:1.4; }
.menu-stamp strong { font:italic 22px Georgia,serif; letter-spacing:0; }
.menu-caption { position:absolute; bottom:13px; left:0; right:0; text-align:center; font:italic 14px Georgia,serif; color:#c0cda9; }
.feature-notes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-bottom:1px solid var(--border-color); padding:0 0 24px; margin-bottom:28px; gap:16px; }
.feature-notes > span { display:flex; align-items:center; gap:12px; font-size:14px; color:#c5d2b7; }
.feature-notes strong { color:#86a56a; font:14px ui-monospace,monospace; }
#gacha-info-panel, #leaderboard-info-panel { padding:24px; background:#101b15; border:1px solid #506243; border-radius:12px; margin-bottom:28px; }
#gacha-info-panel h3, #leaderboard-info-panel h3 { color:var(--accent-primary); font-size:20px; margin:18px 0 10px; }
pre { white-space:pre-wrap; overflow-wrap:anywhere; padding:16px; border-radius:8px; background:#0c150f; font-size:15px; }
#food-controls { display:flex; flex-wrap:wrap; align-items:end; gap:16px; padding:20px; border:1px solid #354938; border-radius:12px; background:#1d2b21; margin:0 0 10px; max-width:none; }
#food-controls > label, #food-sort-container, #food-ownership-filter-container { display:flex; flex-direction:column; align-items:stretch; gap:7px; font-size:13px; font-weight:800; color:#b6c7a7; flex:1 1 130px; }
#food-controls .food-search { flex:3 1 220px; }
#food-controls input, #food-controls select { width:100%; font-size:15px; }
.food-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.food-card { --food-color:#c7f27b; position:relative; display:flex; flex-direction:column; min-width:0; gap:15px; padding:20px; border:1px solid #3a4c3b; border-radius:14px; background:#1c2a20; overflow:hidden; }
.food-card:hover { border-color:var(--food-color); transform:translateY(-2px); }
.food-card.rarity-6 { --food-color:#f4d372; }
.food-card.rarity-5 { --food-color:#d5acf7; }
.food-card.rarity-4 { --food-color:#97cafa; }
.food-art { position:relative; display:grid; place-items:center; height:192px; margin:-20px -20px 0; background:radial-gradient(ellipse at 50% 80%,#81995d18,transparent 70%),#152019; border-bottom:1px solid #354337; }
.food-art::after { content:''; position:absolute; bottom:18px; width:55%; height:15px; background:#0004; filter:blur(10px); border-radius:50%; }
.food-art > img { position:absolute; left:8%; top:14%; width:84%; height:78%; object-fit:contain; z-index:1; filter:drop-shadow(0 7px 5px #0003); }
.food-rarity { position:absolute; top:12px; left:15px; z-index:2; color:var(--food-color); font-size:12px; letter-spacing:2px; }
.inventory-item-amount { position:absolute; top:12px; right:12px; z-index:2; padding:4px 10px; border:1px solid #92b362; border-radius:6px; background:#c7f27b; color:#172211; font-weight:900; font-size:13px; }
.card-header { display:flex; flex-direction:column; align-items:start; gap:9px; }
.food-name { font-size:21px; line-height:1.2; }
.food-type { display:inline-flex; padding:3px 8px; border:1px solid #42543d; border-radius:4px; color:#acbf9d; font-size:12px; font-weight:800; }
.food-stats { display:flex; flex-wrap:wrap; gap:8px 14px; color:#d2dfc6; }
.stat { display:inline-flex; align-items:center; gap:5px; font-size:14px; }
.stat svg { width:15px; height:15px; fill:#9bbd7b; }
.section .food-description { font-size:15px; color:#bdcab2; margin:0; line-height:1.65; }
.food-active-effect { margin-top:auto; border-top:1px solid #384b39; padding-top:12px; font:13px ui-monospace,monospace; color:#91a286; }
.food-active-effect span { color:#b5c5a6; }
#food-profile-content:empty { display:none; }
#food-profile-content { margin-bottom:24px; }
.profile-section-title { font-size:24px; margin-bottom:14px; }
#collection-progress-container { padding:18px 22px; background:#142018; border:1px solid #3b503b; border-radius:10px; margin-bottom:22px; }
#collection-progress-label { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; font-size:15px; margin-bottom:10px; }
.progress-bar-track { height:7px; background:#31432d; border-radius:8px; overflow:hidden; }
.progress-bar-fill { height:100%; background:var(--accent-primary); }

/* Standings: a podium and a scan-friendly table, with scores from Firestore. */
.standings-emblem, .support-emblem { width:210px; height:210px; object-fit:contain; justify-self:center; transform:rotate(8deg); filter:drop-shadow(0 15px 15px #0004); }
.leaderboard-podium { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; align-items:end; margin:10px 0 36px; }
.podium-place { position:relative; display:flex; flex-direction:column; align-items:center; min-width:0; padding:30px 15px 24px; background:linear-gradient(#b0bda012,#b0bda003); border:1px solid #52604b; border-radius:12px; text-align:center; }
.podium-1 { order:2; padding-top:48px; border-color:#b89c4c; background:linear-gradient(#d4ad421a,#d4ad4206); }
.podium-2 { order:1; }
.podium-3 { order:3; border-color:#82644a; }
.podium-number { display:grid; place-items:center; width:60px; height:60px; border:1px solid #7f9073; border-radius:50%; color:#c6d4bc; margin-bottom:16px; font:italic 28px Georgia,serif; box-shadow:0 0 0 5px #b5c59a09; }
.podium-1 .podium-number { border-color:#dfc575; color:#f0d994; box-shadow:0 0 0 5px #c8a44015; }
.podium-3 .podium-number { border-color:#b38a61; color:#d6b99a; }
.podium-place .eyebrow { font-size:10px; }
.podium-place h3 { max-width:100%; overflow-wrap:anywhere; font-size:21px; margin:8px 0 18px; }
.podium-place > strong { color:#e3e9d7; font-size:27px; line-height:1; font-variant-numeric:tabular-nums; }
.podium-place > small { font-size:13px; color:#99ad8e; margin-top:7px; }
#search-container { display:flex; justify-content:space-between; align-items:end; gap:20px; margin:0 0 16px; }
#search-container h3 { font-size:26px; }
#search-container label { width:min(100%,380px); }
#search-input { width:100%; }
table { width:100%; border-collapse:collapse; }
th, td { padding:16px; text-align:left; border-bottom:1px solid #354738; }
th { font-size:12px; color:#9fb08f; letter-spacing:1.5px; text-transform:uppercase; background:#121d16; }
.standings-table { table-layout:fixed; }
.standings-table td { font-size:16px; }
.standings-table th:first-child { width:70px; }
.standings-table th:last-child { width:30%; }
.standings-table td:last-child, .standings-table th:last-child { text-align:right; font-variant-numeric:tabular-nums; }
.standings-table .name-cell { overflow-wrap:anywhere; font-weight:800; }
.standings-table .rank-cell { color:#a0b48f; font:15px ui-monospace,monospace; }
.standings-table .rank-1 { background:#d2ae4310; color:#e8d396; }
.standings-table .rank-2 { background:#d5dece07; }
.standings-table .rank-3 { background:#c78d5010; }
.standings-table tr:hover { background:#a8c5810e; }
#leaderboard-footer-message { color:#a9bc9a; font-size:14px; margin-top:18px; }
#user-stats-container { background:#25381f; padding:24px; border:1px solid #7e9b57; border-radius:12px; margin-bottom:28px; }
#user-stats-container h3 { font-size:20px; margin-bottom:16px; }
.stats-grid { display:flex; flex-wrap:wrap; gap:24px; justify-content:space-around; }
.stat-item { display:flex; flex-direction:column; }
.stat-item .label { color:#becdb2; font-size:14px; }
.stat-item .value { font-size:32px; }

/* Profile: a personal dashboard followed by the complete rank display. */
.rank-showcase { display:flex; align-items:center; justify-content:center; min-height:240px; }
.rank-showcase img { width:38%; height:auto; filter:drop-shadow(0 12px 8px #0005); }
.rank-showcase img:first-child { transform:rotate(-14deg) translateX(12px); width:31%; }
.rank-showcase img:nth-child(2) { z-index:1; transform:translateY(-17px); }
.rank-showcase img:last-child { transform:rotate(14deg) translateX(-12px); width:31%; }
.profile-login { display:flex; align-items:center; justify-content:space-between; gap:24px; background:#21351f; border:1px solid #587046; border-radius:12px; padding:24px; margin-bottom:30px; }
.profile-login h3 { font-size:24px; margin:0 0 6px; }
.profile-login p { margin:0; font-size:16px; }
.profile-login button { flex-shrink:0; border:0; }
#stats-layout-container { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:24px; margin-bottom:36px; align-items:start; }
.stats-left-panel { background:#121e16; border:1px solid #3d523c; border-radius:12px; padding:22px; min-width:0; }
.stats-right-panel { min-width:0; }
.stats-tabs { display:flex; padding:4px; border-radius:9px; background:#1e2c20; gap:4px; margin-bottom:24px; }
.stats-tab { flex:1; border:0; border-radius:6px; background:transparent; color:#b4c6a5; font-size:15px; font-weight:800; padding:10px; min-height:46px; }
.stats-tab.active { background:#c7f27b; color:#1a2714; }
.stats-content-panel { display:none; }
.stats-content-panel.active { display:block; }
.personal-stats-list { list-style:none; }
.personal-stats-list li { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:16px 0; border-bottom:1px solid #354738; }
.personal-stats-list li:last-child { border-bottom:0; }
.personal-stats-list .stat-info { display:flex; align-items:center; gap:12px; }
.personal-stats-list .icon { display:flex; width:24px; flex-shrink:0; }
.personal-stats-list svg { width:24px; height:24px; fill:#a7c786; }
.personal-stats-list .label { font-size:15px; }
.personal-stats-list .value { color:#d4edb8; font-size:20px; font-weight:800; }
.follow-age-card, .not-following-card { display:flex; flex-direction:column; align-items:center; gap:12px; padding:24px; border:1px solid #748e50; border-radius:12px; background:radial-gradient(ellipse at 50% 25%,#a0bd4a13,transparent 70%),#1b2a1d; text-align:center; }
.rank-header { display:flex; flex-direction:column-reverse; align-items:center; }
.rank-title { font-size:26px; font-weight:900; }
.rank-emblem { display:inline-block; position:relative; width:160px; height:160px; }
.rank-emblem > img { width:100%; height:100%; object-fit:contain; }
.rank-level { position:absolute; bottom:0; left:50%; transform:translateX(-50%); min-width:38px; padding:2px 10px; border:1px solid #bba365; background:#19271b; border-radius:5px; color:#eedb9d; font:700 16px Georgia,serif; }
.duration { font-size:30px; font-weight:900; color:#dbedc4; }
.since-date { color:#b2c3a2; font-size:14px; }
.next-rank-info { color:#b2c3a2; font-size:15px; }
.next-rank-info strong { color:#e6eddb; }
.rank-progress { width:100%; height:8px; accent-color:#c7f27b; border:0; border-radius:8px; overflow:hidden; }
.rank-progress::-webkit-progress-bar { background:#34472b; }
.rank-progress::-webkit-progress-value { background:#c7f27b; }
.xp-info-icon { order:1; width:100%; margin-top:10px; border-top:1px solid #405138; padding-top:10px; text-align:left; }
.xp-info-icon summary { font-size:14px; color:#b9cf9f; min-height:44px; padding:10px 0; cursor:pointer; }
.xp-tooltip-panel { font-size:12px; color:#c5d4b7; }
.xp-tooltip-panel h4 { margin:10px 0; font-size:17px; }
.calculation-grid { display:grid; grid-template-columns:minmax(0,2fr) repeat(5,minmax(0,1fr)); gap:8px 4px; align-items:center; }
.grid-label { overflow-wrap:anywhere; }
.grid-op { text-align:center; }
.grid-result { text-align:right; }
.calculation-total { display:flex; justify-content:space-between; margin-top:14px; padding-top:12px; border-top:1px solid #354738; font-size:15px; font-weight:800; }
.cta-text { font-size:23px; font-weight:800; }
.cta-link { background:#c7f27b; color:#172211; border-radius:6px; padding:10px 16px; text-decoration:none; font-weight:800; }
.rank-directory { border-top:1px solid #3e5038; padding-top:28px; margin-top:24px; }
.directory-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:10px; }
.directory-heading h3 { font-size:28px; letter-spacing:-.8px; margin:4px 0; }
.directory-heading > span { font-size:14px; color:#a2b492; }
.rank-directory > p { font-size:16px; max-width:720px; }
.rank-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); list-style:none; gap:14px; }
.rank-collectible { display:flex; position:relative; flex-direction:column; align-items:center; padding:20px 10px 15px; text-align:center; border:1px solid #394d37; border-radius:10px; background:radial-gradient(ellipse at 50% 35%,#90aa4810,transparent 80%),#152219; min-width:0; }
.rank-collectible.is-current { border-color:#b1d377; background-color:#273b22; }
.rank-number { position:absolute; left:10px; top:9px; color:#7f9871; font:11px ui-monospace,monospace; }
.rank-collectible .rank-emblem { width:min(100%,125px); height:auto; aspect-ratio:1; margin-bottom:10px; }
.rank-collectible h4 { font-size:15px; font-weight:900; line-height:1.3; margin-bottom:9px; }
.rank-collectible > span:not(.rank-emblem):not(.rank-number) { font-size:13px; color:#c6d7b5; }
.rank-collectible small { font-size:11px; color:#90a77d; margin-top:4px; }
.stats-group { padding-top:34px; margin-top:34px; border-top:1px solid #3e5038; }
.stats-group h3 { font-size:30px; margin:8px 0; }
.stats-group > p { font-size:16px; }
#global-stats-container { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.global-stat-card { position:relative; min-width:0; padding:25px 20px; border:1px solid #3e503b; border-radius:10px; background:#152219; text-align:left; cursor:pointer; }
.global-stat-card:hover { border-color:#8da66a; }
.global-stat-card .icon { position:absolute; top:20px; right:18px; color:#789c5d; }
.global-stat-card svg { width:23px; height:23px; fill:currentColor; }
.global-stat-card .value { display:block; font-size:36px; letter-spacing:-1px; font-weight:900; margin:22px 0 8px; color:#e5efd8; overflow-wrap:anywhere; }
.global-stat-card .label { display:block; font-size:13px; color:#a6bb94; text-transform:uppercase; letter-spacing:1px; }

/* Guide: useful starting points alongside searchable, accessible disclosures. */
.intro-art { justify-self:center; display:grid; place-content:center; border:1px solid #6d8952; border-radius:26px; width:175px; height:175px; background:#c4e89a; color:#23331b; font:italic 110px Georgia,serif; text-align:center; line-height:.85; transform:rotate(8deg); box-shadow:10px 10px 0 #344a2a; }
.intro-art > span { font:800 11px var(--font-main); margin-top:14px; letter-spacing:2px; }
.guide-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:30px; align-items:start; }
.guide-start { position:sticky; top:24px; border:1px solid #435a3e; border-radius:12px; padding:22px; background:#1e2f20; }
.guide-start h3 { font-size:25px; letter-spacing:-.7px; margin:8px 0 24px; line-height:1.2; }
.guide-start button { display:block; width:100%; text-align:left; background:transparent; border:0; border-top:1px solid #405639; padding:18px 0; color:#e3eed5; }
#commands .guide-start code { padding:0; background:transparent; font-size:15px; color:#d6eeae; }
.guide-start button > span { display:flex; justify-content:space-between; font-size:13px; color:#a6bc93; margin-top:8px; }
#commands .guide-start p { font-size:14px; color:#a4ba91; margin:18px 0 0; }
.guide-library { min-width:0; }
#command-search { width:100%; }
.command-category { margin-bottom:12px; border:1px solid #3f523d; border-radius:10px; background:#152219; overflow:hidden; }
.command-category-header { display:block; width:100%; position:relative; padding:19px 50px 19px 20px; border:0; background:#1e2e21; color:#e5eddc; text-align:left; font-size:17px; font-weight:800; }
.command-category-header::after { content:'+'; position:absolute; right:20px; top:50%; transform:translateY(-50%); font-size:24px; font-weight:400; color:#c7f27b; }
.command-category-header.active::after { content:'−'; }
.command-category-header:hover { background:#2b3e26; }
.command-category-content { padding:0 22px 22px; }
#commands h4 { margin:24px 0 12px; color:#e2eccf; font-size:20px; }
#commands ul { padding-left:20px; }
#commands li { margin-bottom:12px; color:#c0ceb4; font-size:16px; overflow-wrap:anywhere; }
#commands .command-category-content p { font-size:16px; }
#commands code { background:#293b27; padding:2px 5px; border-radius:4px; font-size:14px; color:#d9edbf; overflow-wrap:anywhere; }
#commands pre { border-left:2px solid #94b46c; margin:16px 0; }
#commands pre code { padding:0; background:transparent; }
#commands table { display:block; width:100%; max-width:100%; overflow-x:auto; font-size:14px; }
#commands td, #commands th { vertical-align:top; padding:14px 12px; min-width:90px; }

/* Support: clear destinations and room for a simple thank you. */
.support-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.support-card { display:flex; flex-direction:column; padding:26px; border:1px solid #4b6341; border-radius:12px; background:#1c2d1e; text-decoration:none; color:#ecf0e1; }
.support-card:hover { border-color:#b0cb81; background:#243923; }
.support-card .eyebrow { display:flex; justify-content:space-between; gap:10px; font-size:10px; }
.support-card h3 { font-size:28px; letter-spacing:-1px; margin:28px 0 12px; line-height:1.15; }
.section .support-card p { font-size:16px; color:#b9cbaa; }
.support-action { border-top:1px solid #43593b; padding-top:16px; margin-top:auto; color:#cee7aa; font-size:14px; font-weight:800; }
.support-foot { display:flex; justify-content:space-between; align-items:center; gap:36px; padding:28px 0 0; margin-top:30px; border-top:1px solid #405438; }
.support-foot > div { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.support-foot .eyebrow { width:100%; }
.support-foot strong { font:20px ui-monospace,monospace; }
.support-foot p { max-width:390px; font:italic 20px/1.5 Georgia,serif; color:#bbcba9; margin:0; }
#copy-binance-status { color:#c7f27b; font-size:13px; }
#auth-button.logged-in { gap:8px; }
#user-avatar { width:28px; height:28px; border-radius:50%; }

@media (max-width:1000px) {
  .guide-layout { grid-template-columns:210px minmax(0,1fr); gap:20px; }
  .guide-start { padding:18px; }
  .rank-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .food-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .support-options { grid-template-columns:1fr; }
  .support-card { display:grid; grid-template-columns:1fr 1.2fr; gap:10px 26px; }
  .support-card h3 { grid-column:1; margin:5px 0; }
  .support-card p { grid-column:2; grid-row:1 / 3; margin:0; align-self:center; }
  .support-action { grid-column:1 / -1; margin-top:10px; }
}
@media (max-width:800px) {
  .page-intro { gap:20px; }
  .section .page-intro h2 { font-size:42px; }
  .menu-art { min-height:260px; }
  .menu-stamp { font-size:10px; }
  .menu-stamp strong { font-size:18px; }
  .feature-notes { gap:10px; }
  .feature-notes > span { align-items:start; gap:7px; font-size:12px; }
  .schedule-days { gap:12px; }
  #stats-layout-container { grid-template-columns:1fr; }
  .stats-right-panel { grid-row:1; }
  .guide-layout { grid-template-columns:1fr; }
  .guide-start { position:static; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 14px; }
  .guide-start > .eyebrow, .guide-start > h3, .guide-start > p { grid-column:1 / -1; }
  .guide-start h3 { margin-bottom:16px; }
  #commands .guide-start code { font-size:13px; }
  .guide-start button > span { font-size:12px; }
  .profile-login { flex-wrap:wrap; }
  .support-foot { align-items:start; gap:24px; }
}
@media (max-width:580px) {
  .page-intro { grid-template-columns:1fr; gap:12px; padding-bottom:24px; margin-bottom:24px; }
  .section .page-intro h2 { font-size:42px; letter-spacing:-1.8px; }
  .page-intro > div > p { font-size:17px; }
  .food-intro .menu-art { min-height:235px; width:100%; max-width:360px; justify-self:center; }
  .food-intro { gap:20px; }
  .feature-notes { grid-template-columns:1fr; gap:12px; }
  .feature-notes > span { font-size:14px; }
  .feature-notes strong { min-width:24px; }
  #food-controls { padding:15px; gap:12px; }
  #food-controls > label, #food-sort-container, #food-ownership-filter-container { flex:1 1 110px; }
  #food-controls .food-search { flex:1 1 100%; }
  .food-grid { grid-template-columns:1fr; gap:18px; }
  .food-art { height:200px; }
  .stream-schedule { flex-direction:column; align-items:stretch; padding:18px 14px; gap:16px; }
  .schedule-days { justify-content:space-between; gap:8px; }
  .schedule-hours { text-align:left; }
  .standings-intro, .support-intro, .commands-intro { position:relative; }
  .standings-emblem, .support-emblem { position:absolute; right:0; top:0; width:70px; height:70px; opacity:.9; }
  .standings-intro .eyebrow, .support-intro .eyebrow { max-width:calc(100% - 75px); }
  .intro-art { position:absolute; right:4px; top:6px; width:52px; height:52px; border-radius:9px; font-size:36px; box-shadow:4px 4px 0 #344a2a; }
  .intro-art > span { display:none; }
  .commands-intro .eyebrow { padding-right:60px; }
  .leaderboard-podium { gap:8px; margin-bottom:26px; }
  .podium-place { padding:20px 7px; }
  .podium-1 { padding-top:34px; }
  .podium-number { width:42px; height:42px; font-size:22px; }
  .podium-place h3 { font-size:13px; margin:8px 0 14px; }
  .podium-place > strong { font-size:18px; }
  .podium-place .eyebrow { font-size:8px; letter-spacing:.5px; }
  .podium-place > small { font-size:10px; }
  #search-container { flex-direction:column; align-items:stretch; gap:14px; }
  .standings-table th, .standings-table td { padding:13px 7px; font-size:13px; }
  .standings-table th { font-size:10px; letter-spacing:.5px; }
  .standings-table th:first-child { width:35px; }
  .standings-table th:last-child { width:34%; }
  .rank-showcase { min-height:170px; width:min(100%,330px); justify-self:center; }
  .profile-login { padding:20px; gap:18px; }
  .profile-login button { width:100%; }
  .directory-heading { align-items:start; flex-direction:column; gap:8px; }
  .directory-heading h3 { font-size:25px; }
  .rank-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .rank-collectible { padding:17px 8px 14px; }
  .rank-collectible h4 { font-size:14px; }
  #global-stats-container { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .global-stat-card { padding:18px 12px; }
  .global-stat-card .value { font-size:28px; }
  .global-stat-card .label { font-size:11px; }
  .guide-start { grid-template-columns:1fr; }
  .guide-start button { padding:14px 0; }
  #commands .guide-start code { font-size:15px; }
  .guide-start button > span { font-size:14px; }
  .command-category-header { padding-left:14px; font-size:16px; }
  .command-category-content { padding:0 16px 20px; }
  #commands li, #commands .command-category-content p { font-size:15px; }
  #commands code { font-size:13px; }
  .support-card { display:flex; padding:24px; gap:0; }
  .support-card h3 { margin:22px 0 12px; }
  .support-card p { margin-bottom:18px; align-self:start; }
  .support-action { margin-top:auto; }
  .support-foot { flex-direction:column; gap:26px; }
  .support-foot p { font-size:19px; }
}
