/* Store and focused play experience. Shared typography comes from styles.css. */
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-top:26px}
.hero-actions .button{margin:0;font-size:15px}
.collections .product-featured{display:block;grid-column:auto;margin-bottom:0}
.collections .product-art,.collections .product-featured .product-art{height:370px;width:100%}
.collections .product-info{padding-top:25px}
.collections .product-title-row{align-items:flex-start}
.collections .product-title-row h3{font-size:27px;line-height:1.55;margin:0}
.collections .product-price{margin-top:4px}
.collections .featured-description{min-height:100px;margin-top:20px;font-size:16px!important}
.price-stack{display:grid;gap:3px;line-height:1.5;white-space:nowrap;text-align:right}
.price-stack del{font-size:15px;color:var(--muted);font-weight:400;text-decoration-thickness:1px}
.price-stack strong{font-size:29px;line-height:1.4;color:var(--ink)}
.price-stack small{font-size:13px;font-weight:600;color:#71501e;white-space:normal;line-height:1.7}
.product-modal-price .price-stack{display:flex;justify-content:flex-start;align-items:center;gap:15px;flex-wrap:wrap;text-align:left}
.product-modal-price .price-stack strong{font-size:32px}
.product-modal-price .price-stack small{background:#f4e5c2;border-radius:20px;padding:4px 11px}
.product-play{margin-top:12px;font-size:14px}
.product-modal-details .small-note{font-size:13px!important;line-height:1.8;margin-top:16px}
.product-modal-cover{position:relative;gap:15px;grid-template-rows:1fr auto;min-width:0}
.product-modal-cover img{height:auto;max-width:80%;align-self:center}
.product-modal-cover.has-product-photo img{transform:none;width:100%;max-width:100%;border:0;box-shadow:none}
.sample-caption{font-size:13px;color:var(--muted);text-align:center;padding:7px 12px}
.product-specification{margin:0 45px 35px;padding:25px;border:1px solid var(--line);border-radius:10px;background:#f1f3e9}
.product-specification h3{font-size:22px;margin-bottom:20px}
.product-specification dl{display:grid;grid-template-columns:1fr 1fr;gap:18px 30px;margin:0 0 18px}
.product-specification dt{font-size:13px;color:var(--muted)}
.product-specification dd{font-size:15px;margin:4px 0 0;line-height:1.85}
.product-specification .small-note{font-size:13px;margin:0}
.product-photo-strip{display:flex;gap:10px;margin-top:15px;overflow:auto}
.product-photo-strip button{padding:0;background:none;flex:0 0 90px}
.product-photo-strip img{width:90px;height:90px;object-fit:cover;border-radius:6px}
.gallery-toolbar{display:grid;gap:18px;margin-bottom:15px}
.gallery-search-label{font-size:14px;line-height:1.8;display:grid;gap:7px;max-width:440px}
.gallery-search-label input{width:100%;font:inherit;font-size:16px;border:1px solid #9cae92;border-radius:6px;padding:12px;background:#fffef8;min-height:48px;color:var(--ink)}
.gallery-filters{display:flex;gap:9px;flex-wrap:wrap}
.gallery-filters button{padding:8px 14px;min-height:44px;border-radius:30px;border:1px solid #a7b49a;background:none;font-size:14px}
.gallery-filters button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.gallery-result-count{font-size:13px;color:var(--muted);margin-bottom:22px}
.gallery-empty{grid-column:1/-1;padding:25px;border:1px dashed var(--line);font-size:16px}
.gallery-expanded img{height:auto;object-fit:contain;touch-action:pan-y}
.gallery-navigation button{width:48px;height:48px}
.play-promo{display:grid;grid-template-columns:1.25fr 1fr;align-items:center;gap:35px;background:#203c31;color:#f8f8ef;padding:48px;border-radius:15px;margin-block:35px 85px;overflow:hidden}
.play-promo p{max-width:550px;color:#d1ddc6;font-size:16px;line-height:1.9}
.play-promo h2{font-size:34px;line-height:1.5}
.play-promo .eyebrow{font-size:13px;color:#d7c189}
.play-promo .text-link{color:#f4d390;font-size:14px}
.promo-cards{display:flex;justify-content:center;gap:0;padding:15px}
.promo-cards img{width:45%;height:auto;border:5px solid #fffdf1;border-radius:9px;transform:rotate(-12deg);box-shadow:7px 9px 20px #0b241c50}
.promo-cards img+img{transform:rotate(12deg);margin-left:-20px;margin-top:20px}
.shop-contact{display:flex;justify-content:space-between;align-items:center;gap:35px;padding-block:65px;border-bottom:1px solid var(--line)}
.shop-contact h2{font-size:29px}
.shop-contact p{font-size:16px;max-width:570px}
.shop-contact>div:last-child{min-width:260px;text-align:center}
.contact-phone{display:block;font-size:18px;margin-top:15px;font-weight:600}
/* The game opens directly on its controls. */
.play-header{padding-block:25px}
.play-header nav{display:flex;gap:25px;font-size:15px;align-items:center}
.play-page .game-section{padding-top:20px;margin-bottom:35px;scroll-margin-top:15px}
.play-page .section-heading{align-items:center;margin-bottom:24px}
.play-page #play-title{font-size:38px;line-height:1.5;margin:0;letter-spacing:-.02em}
.play-page .section-heading .eyebrow{margin-bottom:7px;font-size:13px}
.play-page .game-section-note{font-size:14px;text-align:right;max-width:none}
.game-shell:has(.game-entry){max-width:740px;margin-inline:auto;min-height:0}
.game-entry{padding:32px 42px 27px;max-width:620px;margin:auto}
.game-entry-switch{display:grid;grid-template-columns:1fr 1fr;border:1px solid #668263;border-radius:9px;padding:5px;gap:5px;margin-bottom:25px}
.game-entry-switch button{border-radius:6px;padding:10px 8px;font-size:15px;line-height:1.65;background:transparent;color:#e0e9d6;min-height:47px}
.game-entry-switch button[aria-pressed=true]{background:#efc576;color:#203c31;font-weight:600}
.entry-intro h2{font-size:25px;line-height:1.5;margin-bottom:9px;color:#f6f6eb}
.entry-intro p{font-size:15px;color:#d2dec6;line-height:1.8;margin-bottom:23px}
.game-entry .game-deck-field{margin-top:18px}
.game-entry .game-privacy{margin-top:20px!important;color:#c6d3bb!important}
.game-entry .game-privacy a{display:block;margin-top:8px;color:#efcf90;text-decoration:underline;text-underline-offset:4px}
.game-entry form .button{margin-top:23px;min-height:51px}
.game-players>summary{font-size:14px;line-height:1.7;cursor:pointer;display:flex;flex-wrap:wrap;gap:4px 15px;justify-content:space-between;padding:0 0 15px}
.game-players>summary>span{font-size:13px;color:#bdc9b2}
.player-meta .player-presence{font-size:13px;line-height:1.7;color:#c0dca6}
.player-meta .player-presence:before{content:'●';font-size:9px;margin-right:5px}
.player-meta .player-presence.is-offline{color:#e4c7aa}
.host-change-notice{padding:15px 30px;background:#36533d;font-size:14px;line-height:1.85;margin:0;color:#f1d897}
.round-score-reasons{margin-top:30px;border:1px solid #637b59;border-radius:9px;padding:20px}
.round-score-reasons h4{font-size:16px;margin:0 0 15px}
.round-score-reasons>div+div{border-top:1px solid #536c4c;padding-top:12px;margin-top:12px}
.round-score-reasons strong{font-size:15px;display:flex;justify-content:space-between;gap:20px}
.round-score-reasons strong span{color:#efcf90}
.round-score-reasons p{font-size:14px;margin:7px 0 0}
.rules-section{padding-block:55px;scroll-margin-top:25px}
.rules-steps{list-style:none;padding:0;margin:0 0 35px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.rules-steps li{background:#eef1e7;padding:25px;border:1px solid var(--line);border-radius:10px}
.rules-steps li>span{display:block;font-size:17px;color:#8b6a29;margin-bottom:14px}
.rules-steps h3{font-size:21px;line-height:1.55;margin-bottom:12px}
.rules-steps p{font-size:15px;line-height:1.9;margin:0}
.scoring-guide{padding:25px;border:1px solid var(--line);border-radius:10px}
.scoring-guide h3{font-size:22px;margin-bottom:20px}
.table-scroll{overflow-x:auto}
.scoring-guide table{width:100%;border-collapse:collapse;text-align:left;line-height:1.8}
.scoring-guide th{font-size:14px;background:#e7ecdf;padding:12px;font-weight:600}
.scoring-guide td{font-size:15px;padding:13px 12px;border-bottom:1px solid var(--line);min-width:120px}
.scoring-guide td:first-child{min-width:210px}
.practice-section{background:#e8eddf;border-radius:15px;padding:40px;margin-bottom:60px;scroll-margin-top:25px}
.practice-section>div>p{font-size:16px;line-height:1.9}
.practice-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;max-width:750px;margin:30px auto}
.practice-card{padding:0;border:3px solid #fffdf4;background:#fffdf4;border-radius:10px;overflow:hidden;box-shadow:0 5px 15px #203c3115}
.practice-card img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}
.practice-card span{display:block;padding:12px 8px;font-size:14px;line-height:1.8}
.practice-card:disabled{opacity:1;cursor:default}
.practice-answer{border-color:#7e9952;box-shadow:0 0 0 2px #7e9952}
.practice-chosen{outline:3px solid #ad7a28;outline-offset:5px}
.practice-result{max-width:750px;margin:auto}
.practice-result h3{font-size:25px}
.practice-result p{font-size:16px;line-height:1.9}
.practice-result dl{padding:20px;background:#f8f8f0;border-radius:9px}
.practice-result dl>div{display:flex;gap:20px;justify-content:space-between;padding:10px 0;font-size:15px}
.practice-result dt{font-weight:600}
.practice-result dd{margin:0;text-align:right}
.practice-result .button{font-size:14px;margin:10px 10px 0 0}
@media(max-width:1000px){
 .product-specification{margin:0 35px 30px}
 .collections .product-title-row h3{font-size:23px}
 .collections .product-art,.collections .product-featured .product-art{height:335px}
 .collections .featured-description{min-height:140px}
 .play-promo{padding:35px;grid-template-columns:1.3fr 1fr;gap:15px}
 .play-promo h2{font-size:29px}
 .play-header nav{gap:20px}
 .rules-steps{gap:15px}
 .rules-steps li{padding:20px}
 .rules-steps h3{font-size:19px}
}
@media(max-width:680px){
 .hero-actions{justify-content:center;gap:12px;margin-top:23px}
 .hero-actions .button{font-size:14px;min-height:51px}
 .collections .product-art,.collections .product-featured .product-art{height:330px}
 .collections .product-info{padding-top:22px}
 .collections .product-title-row h3{font-size:24px}
 .collections .product-title-row{gap:15px}
 .collections .featured-description{min-height:0;font-size:16px!important;margin-top:17px}
 .price-stack strong{font-size:27px}
 .price-stack del{font-size:14px}
 .price-stack small{font-size:13px}
 .product-modal-intro{padding:25px;gap:25px}
 .product-modal-cover{min-height:300px;grid-template-rows:1fr auto}
 .product-modal-cover img{max-width:78%;width:175px}
 .product-specification{margin:0 25px 25px;padding:20px}
 .product-specification dl{grid-template-columns:1fr;gap:15px}
 .product-specification h3{font-size:21px}
 .gallery-filters{gap:8px}
 .gallery-filters button{font-size:13px;padding:7px 11px}
 .play-promo{grid-template-columns:1fr;padding:30px 25px;gap:10px;margin-block:25px 50px}
 .play-promo h2{font-size:29px}
 .play-promo .hero-actions{justify-content:flex-start}
 .promo-cards{max-width:300px;margin:auto}
 .shop-contact{flex-direction:column;align-items:stretch;padding-block:40px;gap:15px}
 .shop-contact h2{font-size:27px;line-height:1.5}
 .shop-contact>div:last-child{text-align:left}
 .contact-phone{font-size:18px}
 .play-header{padding-block:19px;gap:20px}
 .play-header .brand{font-size:27px}
 .play-header .brand svg{width:32px}
 .play-header nav{font-size:14px;gap:18px}
 .play-page .game-section{padding-top:10px;scroll-margin-top:8px}
 .play-page #play-title{font-size:29px;line-height:1.5}
 .play-page .section-heading{margin-bottom:18px}
 .play-page .section-heading .eyebrow{display:none}
 .play-page .game-section-note{font-size:13px;text-align:left;margin-top:7px;line-height:1.7}
 .play-page .game-section-note br{display:none}
 .play-page .game-section-note br:after{content:' · '}
 .game-entry{padding:20px 18px 22px}
 .game-entry-switch{margin-bottom:20px}
 .game-entry-switch button{font-size:14px;padding:9px 5px;min-height:46px}
 .entry-intro h2{font-size:22px;line-height:1.55}
 .entry-intro p{font-size:14px;line-height:1.8;margin-bottom:18px}
 .game-entry form .button{margin-top:20px;font-size:15px}
 .game-entry .game-deck-field{margin-top:16px}
 .room-header-right{gap:10px}
 .room-header-right .room-connection{width:100%}
 .room-header-right .button{flex:1;font-size:13px;padding-inline:9px}
 .game-players>summary{padding-bottom:0}
 .game-players[open]>summary{padding-bottom:15px}
 .game-players>summary>span{font-size:13px}
 .host-change-notice{padding:14px 18px;font-size:14px}
 .round-score-reasons{padding:16px}
 .round-score-reasons p{font-size:14px}
 .rules-section{padding-block:30px;scroll-margin-top:15px}
 .rules-section .section-heading{display:block}
 .rules-section h2,.practice-section h2{font-size:29px;line-height:1.5}
 .rules-section .text-link{font-size:14px}
 .rules-steps{grid-template-columns:1fr;gap:13px;margin-top:25px}
 .rules-steps li{padding:23px}
 .rules-steps li>span{margin-bottom:8px}
 .rules-steps h3{font-size:22px}
 .rules-steps p{font-size:16px}
 .scoring-guide{padding:20px 15px}
 .scoring-guide th{font-size:13px}
 .scoring-guide td{font-size:14px;padding:12px 10px}
 .practice-section{padding:27px 20px;margin-bottom:35px}
 .practice-board{gap:11px;grid-template-columns:repeat(2,minmax(0,1fr));margin:25px auto}
 .practice-card:last-child{grid-column:1/-1;max-width:145px;justify-self:center}
 .practice-card span{font-size:13px;padding:8px 5px}
 .practice-result dl{padding:15px}
 .practice-result dl>div{display:block;font-size:15px}
 .practice-result dd{text-align:left;margin-top:4px}
 .practice-result .button{width:100%;margin-right:0}
}

.play-page .game-section-note>span{display:block}
@media(min-width:681px){.collections .product-art img:nth-of-type(1),.collections .product-art img:nth-of-type(2){top:85px}}
@media(max-width:680px){.play-page .game-section-note>span{display:inline}.play-page .game-section-note>span+span:before{content:" · "}}

/* A stable toolbar stays outside the changing round content. */
.game-display-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 22px;background:#294636;border-bottom:1px solid #4a614a;color:#dce6ce}
.game-display-tools>span{font-size:13px;line-height:1.8}
.game-fullscreen-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:9px 13px;border:1px solid #80956d;border-radius:6px;background:transparent;color:#f1f2e9;font-size:14px;line-height:1.7}
.game-fullscreen-button:hover{background:#38543e}
.game-fullscreen-button svg{width:20px;height:20px;flex-shrink:0}
.game-fullscreen-button[aria-pressed=true]{border-color:#efc576;color:#f3d593}
.game-display-status{font-size:14px;line-height:1.8;padding:12px 22px;margin:0;color:#f3d593}
body.game-display-expanded{overflow:hidden}
#game-surface.game-expanded{position:fixed;inset:0;z-index:1000;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border-radius:0;overflow:auto;overscroll-behavior:contain;background:#203c31}
#game-surface:fullscreen{width:100%;height:100%;max-width:none;max-height:none;border-radius:0;overflow:auto;background:#203c31}
#game-surface::backdrop{background:#203c31}
.game-expanded .game-display-tools{position:sticky;top:0;z-index:10;padding-top:max(13px,env(safe-area-inset-top));padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right))}
.game-expanded .game-entry{margin:25px auto}
.game-expanded .game-room-layout{min-height:calc(100dvh - 245px)}
.game-expanded .game-stage{padding-bottom:max(30px,env(safe-area-inset-bottom))}
@media(min-width:1280px){
 .game-expanded .game-hand{grid-template-columns:repeat(6,minmax(0,1fr));max-width:1200px;gap:15px}
 .game-expanded .game-board{grid-template-columns:repeat(auto-fit,minmax(125px,1fr));max-width:1200px;gap:15px}
}
@media(max-width:680px){
 .game-display-tools{padding:10px 15px;gap:10px}
 .game-display-tools>span{font-size:13px}
 .game-fullscreen-button{font-size:13px;min-height:44px;padding:8px 10px;gap:7px}
 .game-fullscreen-button svg{width:18px;height:18px}
 .game-expanded .game-display-tools>span{display:none}
 .game-expanded .game-display-tools{justify-content:flex-end;padding-left:max(15px,env(safe-area-inset-left));padding-right:max(15px,env(safe-area-inset-right))}
 .game-expanded .game-entry{margin:0 auto}
 .game-expanded .game-stage{padding-bottom:max(25px,env(safe-area-inset-bottom))}
}

/* A small room-wide chat lives inside the fullscreen game surface. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.room-chat{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:calc(max(18px,env(safe-area-inset-bottom)) + var(--chat-bottom-space,0px));z-index:40;color:#203c31;font-size:14px;line-height:1.75}
.chat-toggle{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 17px;border:1px solid #d3b265;border-radius:28px;background:#efc576;color:#203c31;font-size:14px;font-weight:600;box-shadow:0 5px 20px #0d241c40;margin-left:auto}
.chat-toggle svg{width:22px;height:22px;flex-shrink:0}
.chat-unread{background:#203c31;color:#fff9e4;min-width:23px;border-radius:20px;padding:1px 6px;font-size:13px;text-align:center}
.room-chat-panel{position:absolute;right:0;bottom:62px;display:flex;flex-direction:column;width:350px;height:420px;max-height:calc(var(--chat-view-height,100dvh) - 155px);background:#f8f8f0;border:1px solid #8eaa7a;border-radius:12px;overflow:hidden;box-shadow:0 9px 35px #0d241c50}
.chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:15px 16px;background:#e7eddf;border-bottom:1px solid #c9d3be}
.chat-header h2{font-size:16px;line-height:1.65;letter-spacing:0;margin:0;color:#203c31}
.chat-header p{font-size:13px;line-height:1.7;color:#52634b;margin:3px 0 0}
.chat-close{display:grid;place-items:center;flex-shrink:0;background:none;border:1px solid #9dad91;border-radius:50%;font:25px/1 Arial,sans-serif;width:34px;height:34px;color:#203c31}
.chat-messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:15px;scroll-behavior:auto}
.chat-message{background:#e9eddf;border-radius:9px;padding:9px 11px;margin-bottom:11px;overflow-wrap:anywhere}
.chat-message.chat-mine{background:#f4e4bc}
.chat-message-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.chat-message-meta strong{font-size:13px;font-weight:600;line-height:1.7}
.chat-message-meta time{font-size:13px;color:#53634f;white-space:nowrap}
.chat-message p{font-size:14px;line-height:1.85;margin:4px 0 0;white-space:pre-wrap;color:#203c31}
.chat-empty{font-size:14px;line-height:1.9;color:#53634f;text-align:center;padding:25px 8px}
.chat-form{padding:12px;border-top:1px solid #ccd5bf;background:#f0f3e8}
.chat-form>div{display:flex;gap:8px;align-items:stretch}
.game-shell .chat-form input{min-width:0;flex:1;width:0;min-height:45px;padding:10px;font-size:16px;border-color:#a3b394;background:#fffef7}
.game-shell .chat-form input::placeholder{font-size:14px}
.chat-form button{background:#203c31;color:#f8f8ef;border-radius:6px;font-size:13px;line-height:1.7;padding:9px 11px;min-height:45px;flex-shrink:0}
.chat-form-note{display:flex;justify-content:space-between;gap:10px;font-size:13px;line-height:1.8;color:#53634f;margin:9px 0 0}
.chat-status{font-size:13px;line-height:1.8;color:#8a3424;padding:0 12px 12px;margin:0;background:#f0f3e8}
.chat-status:empty{display:none}
.chat-jump{font-size:13px;line-height:1.8;background:#ecdaab;color:#203c31;padding:7px 10px;border-top:1px solid #d8c590}
@media(max-width:680px){
 .room-chat{right:max(14px,env(safe-area-inset-right));bottom:calc(max(14px,env(safe-area-inset-bottom)) + var(--chat-bottom-space,0px))}
 .chat-toggle{font-size:14px;min-height:47px;padding:10px 15px}
 .room-chat-panel{width:min(350px,calc(100vw - 28px));height:390px;max-height:calc(var(--chat-view-height,100dvh) - 145px)}
 .chat-header{padding:13px 14px}
 .chat-header h2{font-size:15px}
 .chat-header p{font-size:13px}
 .chat-messages{padding:12px}
 .chat-form{padding:11px}
 .chat-form-note{font-size:13px;gap:7px;flex-wrap:wrap}
}

/* Neighboring game modes share the same navigation. */
.experience-switch{display:flex;align-items:stretch;gap:8px;border-bottom:1px solid var(--line);padding-block:3px 14px;margin-bottom:8px}
.experience-switch a{display:flex;align-items:center;justify-content:center;padding:11px 19px;border:1px solid transparent;border-radius:7px;font-size:15px;font-weight:600;line-height:1.7;text-align:center}
.experience-switch a[aria-current=page]{background:#e5ebdc;border-color:#c5d1b7;color:#203c31}
.experience-switch a:hover{background:#edf1e5}
@media(min-width:1001px) and (max-width:1180px){.desktop-nav{gap:15px;font-size:13px}.desktop-nav a{white-space:nowrap}.site-header{gap:18px}}
@media(max-width:680px){.experience-switch{gap:7px;padding-bottom:13px}.experience-switch a{font-size:14px;line-height:1.65;padding:10px 12px}.experience-switch a:last-child{flex:1}}
