:root{--ink:#20201d;--paper:#fffdf1;--mint:#70d4ab;--blue:#9dcde7;--yellow:#ffdc35;--coral:#ff9d7b;--muted:#50534b;--line:#20201d;--sans:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-family:var(--sans);color:var(--ink);background:var(--mint);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;min-height:100svh;display:flex;flex-direction:column}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #174bc3;outline-offset:5px}h1:focus{outline:none}h1,h2,p,figure{margin:0}main{flex:1}a{color:inherit}::selection{background:var(--yellow);color:var(--ink)}[hidden]{display:none!important}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip:focus{position:fixed;z-index:20;background:white;padding:16px}
/* One wordmark and a drawer mark connect the entry and the playing table. */
.site-header{min-height:100px;padding:22px 4.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:2px solid;gap:16px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:49px;height:49px;flex-shrink:0}.brand-name{display:block;font-family:Arial,Helvetica,sans-serif;font-size:26px;letter-spacing:-1.1px;font-weight:950;font-style:italic;line-height:1.1}.brand-caption{display:block;font-size:12px;font-weight:700;letter-spacing:.12em;margin-top:6px}.text-button{border:0;background:transparent;padding:10px 0;font-size:14px;line-height:1.6;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px;text-decoration-color:transparent}.text-button:hover{text-decoration-color:currentColor}.site-header>.text-button{border:1.5px solid;border-radius:30px;padding:8px 16px;font-weight:700;white-space:nowrap}.help-icon{display:inline-grid;place-items:center;background:var(--ink);color:var(--mint);width:20px;height:20px;border-radius:50%;margin-left:8px}.site-footer{padding:27px 4.5%;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;border-top:2px solid;background:var(--mint)}.site-footer>span:last-child{font-weight:900;font-style:italic;font-family:Arial,Helvetica,sans-serif;letter-spacing:-.3px;font-size:17px}.eyebrow{display:block;font-family:Arial,Helvetica,sans-serif;font-size:12px;font-weight:800;letter-spacing:.1em;line-height:1.7}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;min-height:54px;padding:15px 28px;border-radius:40px;border:2px solid var(--ink);font-size:16px;font-weight:700;line-height:1.5;text-decoration:none;transition:background .18s,transform .18s,box-shadow .18s}.primary{background:var(--ink);color:var(--paper)}.primary:hover:not(:disabled){background:#393b32;transform:translateY(-2px);box-shadow:0 3px 0 var(--ink)}.secondary{background:var(--paper);color:var(--ink)}.secondary:hover{background:var(--yellow)}
/* Entrance: an illustrated scene, followed by a focused choice. */
.welcome{max-width:1600px;margin:auto;padding:60px 4.5% 54px;display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:36px}.welcome-copy{position:relative;z-index:1;min-width:0}.welcome-copy>.eyebrow{margin-bottom:22px}.welcome h1{font-size:clamp(34px,4.3vw,66px);font-weight:900;line-height:1.45;letter-spacing:-.045em}.accent{display:inline-block;position:relative;z-index:0;letter-spacing:-.03em;padding-inline:3px}.accent:after{content:"";position:absolute;inset:44% -3px 10%;background:var(--yellow);transform:rotate(-4deg);z-index:-1}.welcome-lead{font-size:16px;line-height:2;margin-top:22px}.hero-start{margin-top:28px}.experience-meta{display:flex;flex-wrap:wrap;gap:0;margin-top:20px;font-size:12px}.experience-meta span+span:before{content:"/";margin:0 12px}.welcome-visual{min-width:0;transform:rotate(2deg);position:relative}.welcome-visual img{display:block;width:100%;height:auto;border:2px solid var(--ink);border-radius:120px 18px 18px 18px;box-shadow:7px 8px 0 var(--ink)}.welcome-visual figcaption{display:table;margin:22px 0 0 auto;background:var(--paper);border:1.5px solid;padding:10px 18px;border-radius:24px;font-size:14px;font-weight:700;transform:rotate(-4deg)}.welcome-ribbon{background:var(--yellow);border-block:2px solid;display:flex;justify-content:center;gap:52px;padding:17px 24px;font-size:18px;font-weight:800;letter-spacing:.06em}.welcome-ribbon span+span:before{content:"✳";margin-right:52px}.theme-section{background:var(--blue);display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:9%;padding:68px max(6%,calc((100vw - 1200px)/2));scroll-margin-top:0}.theme-intro h2{font-size:clamp(32px,3.2vw,46px);font-weight:900;line-height:1.5;letter-spacing:-.025em;margin:18px 0}.theme-intro>p{font-size:16px;line-height:2}.experience-steps{display:flex;align-items:center;gap:12px;margin:30px 0}.experience-steps span{display:grid;place-items:center;min-width:90px;height:104px;padding:12px;border:2px solid;border-radius:7px;background:var(--paper);font-size:16px;font-weight:800;box-shadow:3px 3px 0 var(--ink);transform:rotate(-7deg)}.experience-steps span:nth-child(2){transform:rotate(4deg);background:var(--coral)}.experience-steps span:nth-child(3){transform:rotate(-3deg);background:var(--yellow)}.theme-intro .theme-small{font-size:14px;line-height:1.8}.theme-form-panel{background:var(--paper);border:2px solid;border-radius:14px;padding:30px;box-shadow:6px 6px 0 var(--ink)}fieldset{border:0;margin:0;padding:0;min-width:0}legend{font-size:16px;font-weight:800;margin-bottom:16px;line-height:1.8}.theme-option{display:flex;align-items:center;position:relative;border:1.5px solid var(--ink);padding:15px 14px;margin-top:10px;cursor:pointer;border-radius:7px;font-size:14px;min-height:55px;gap:10px;transition:background .2s,box-shadow .2s}.theme-option:hover{background:#edf7ed}.theme-option:has(input:checked){background:var(--yellow);box-shadow:3px 3px 0 var(--ink);font-weight:700}.theme-option .theme-word{white-space:nowrap}.theme-option input{position:absolute;opacity:0;width:1px;height:1px}.theme-option:has(input:focus-visible){outline:3px solid #174bc3;outline-offset:4px}.radio-indicator{width:19px;height:19px;flex-shrink:0;border:1.5px solid;border-radius:50%;margin-left:auto;display:grid;place-items:center;background:var(--paper)}.theme-option input:checked~.radio-indicator:after{content:"";width:9px;height:9px;background:var(--ink);border-radius:50%}#custom-theme-wrap{margin-top:18px}#custom-theme-wrap label{display:block;font-size:14px;margin-bottom:8px}#custom-theme{width:100%;border:1.5px solid;border-radius:5px;padding:14px;font-size:16px;background:white;color:var(--ink)}.start-button{width:100%;margin-top:24px}.resume-button{width:100%;display:block;background:transparent;border:1.5px solid;border-radius:7px;color:var(--ink);margin-top:16px;padding:12px;font-size:14px;font-weight:700}.resume-button:hover{background:var(--mint)}.resume-button span{display:block;margin-top:6px;font-size:12px;font-weight:400}
/* Stable paper cards: color supports the word rather than competing with it. */
.being-card{border:2px solid var(--ink);background:var(--paper);border-radius:11px;min-width:0;min-height:310px;padding:20px;display:flex;flex-direction:column;text-align:left;position:relative;color:var(--ink);box-shadow:4px 5px 0 var(--ink);transition:background .18s,box-shadow .18s}.card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;letter-spacing:0;min-height:27px}.card-mark{display:block;width:27px;height:27px;flex-shrink:0}.card-content{display:flex;flex:1;flex-direction:column;justify-content:center;padding:26px 0;gap:0}.card-word{font-size:30px;line-height:1.5;letter-spacing:-.025em;font-weight:800;overflow-wrap:anywhere}.card-word.long-word{font-size:25px}.card-rule{display:block;width:30px;border-top:3px solid;margin:17px 0}.card-meaning{font-size:16px;line-height:1.8;word-break:normal;overflow-wrap:anywhere}.card-bottom{display:flex;justify-content:space-between;align-items:center;font-size:14px;line-height:1.7;min-height:26px;color:var(--muted)}.card-bottom>span:first-child{font-size:12px;font-weight:700}.card-bottom>span:last-child{font-size:22px}button.being-card:hover:not(:disabled){background:#fff6d0;box-shadow:5px 7px 0 var(--ink)}.being-card.selected{background:var(--yellow)}.being-card.selected .card-bottom{font-weight:700;color:var(--ink)}.being-card.incoming{background:var(--coral)}.being-card.incoming .card-top>span:last-child{font-size:12px}.being-card.selected .card-bottom:after{content:"✓";font-size:16px}
.game-shell{max-width:1200px;margin:auto;padding:0 40px 48px}.theme-bar{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;border-bottom:1px solid}.theme-bar>div{display:flex;gap:16px;align-items:center;min-width:0}.theme-bar span{font-size:12px;white-space:nowrap}.theme-bar strong{font-size:14px;font-weight:700;line-height:1.8;overflow-wrap:anywhere}.theme-bar>.text-button{font-size:12px;flex-shrink:0}.stage-heading{text-align:center;padding:38px 0 26px}.stage-heading .eyebrow{margin-bottom:12px}.stage-heading h1{font-size:clamp(28px,3vw,42px);font-weight:850;line-height:1.6;letter-spacing:-.025em}.stage-heading p{font-size:16px;line-height:1.9;margin-top:12px}.progress-wrap{display:flex;justify-content:center;align-items:center;gap:16px;font-size:12px;margin:0 auto 30px}.progress{display:flex;gap:6px}.progress span{width:24px;height:7px;border:1px solid;background:transparent;border-radius:4px}.progress span.done{background:var(--ink)}.progress span.current{background:var(--yellow)}.quiet-note{font-size:12px;line-height:1.8;margin-top:14px}.play-shell{--table-card-width:244px;--table-card-height:360px}.play-shell .stage-heading{padding-block:30px 18px}.play-shell .stage-heading p{min-height:31px}.card-table{display:grid;grid-template-columns:repeat(4,var(--table-card-width));gap:18px;justify-content:center;margin:auto}.table-slot{width:var(--table-card-width);height:var(--table-card-height);position:relative;perspective:1100px}.card-table .being-card{width:100%;height:100%;min-height:0;padding:20px;animation:none;transform:none;translate:none;box-sizing:border-box}.card-table .being-card:disabled{opacity:1;cursor:default}.card-table button.being-card:hover{transform:none}.card-table button.being-card:not(:disabled):hover{background:#fff1ae}.card-table .being-card.incoming:not(:disabled):hover{background:#ffad8f}.card-table .being-card .card-content{padding:20px 0;justify-content:center;min-height:0}.card-table .being-card .card-bottom{font-size:14px;min-height:26px}.card-table .being-card.deck-card{background:var(--blue);align-items:center;justify-content:center;box-shadow:4px 4px 0 var(--paper),5px 5px 0 1px var(--ink),8px 8px 0 var(--ink);gap:14px}.card-table .deck-card:hover:not(:disabled){background:#b7def3}.deck-border{position:absolute;inset:11px;border:1.5px solid;border-radius:5px;pointer-events:none}.deck-wordmark{font-family:Arial,Helvetica,sans-serif;font-weight:950;font-style:italic;font-size:20px;letter-spacing:-.6px;text-align:center;line-height:1.05;position:relative}.deck-symbol{width:130px;height:130px;margin:6px 0;transform:rotate(-7deg)}.deck-action{font-size:16px;font-weight:700;z-index:1}.deck-caption{font-size:12px}.table-caption{display:flex;max-width:1030px;justify-content:space-between;align-items:center;gap:20px;min-height:62px;margin:22px auto 0;font-size:14px;line-height:1.8}.table-caption .text-button{flex-shrink:0}.table-note{text-align:center;margin-top:4px}.review-undo{display:block;margin:16px auto 0}
/* Review is denser; selected cards are yellow, without changing their size. */
body[data-screen="review"]{background:var(--blue)}.review-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:4px 0 22px}.review-toolbar p{font-size:14px;line-height:1.8}.review-toolbar strong{font-size:14px;font-weight:500;white-space:nowrap}.review-toolbar strong span{font-size:24px;font-weight:800;margin:0 3px}.review-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.being-card.compact{min-height:310px;padding:16px}.compact .card-content{padding:20px 0}.compact .card-word{font-size:25px}.compact .long-word{font-size:21px}.compact .card-rule{margin:12px 0}.compact .card-top{font-size:12px;align-items:flex-start}.compact .card-bottom{font-size:14px}.compact.selected .card-bottom:after{content:none}.review-actions{position:sticky;bottom:16px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 24px;margin-top:28px;background:var(--paper);border:2px solid;border-radius:12px;box-shadow:4px 5px 0 var(--ink)}.review-actions>span{font-size:14px;line-height:1.8}.review-actions .primary{flex-shrink:0}
/* Each chosen word has its own question on the reverse. */
body[data-screen="result"]{background:#f5e9b1}.result-shell .stage-heading{padding-bottom:36px}.result-deck{display:grid;grid-template-columns:repeat(3,244px);gap:28px;justify-content:center;margin:0 auto}.result-item{min-width:0}.result-flip{display:block;position:relative;width:100%;height:360px;border:0;padding:0;background:transparent;text-align:left;perspective:1200px;border-radius:11px}.flip-inner{display:block;position:relative;width:100%;height:100%;transform-style:preserve-3d;transform:rotateY(0deg)}.result-flip.is-flipped .flip-inner{transform:rotateY(180deg)}.flip-face{display:block;position:absolute;inset:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:11px}.flip-back{transform:rotateY(180deg)}.result-deck .being-card{width:100%;height:100%;min-height:0;animation:none;padding:20px;box-sizing:border-box}.result-deck .card-word{font-size:30px}.result-deck .long-word{font-size:25px}.question-face{background:var(--coral);gap:12px}.result-item:nth-child(2) .question-face{background:var(--blue)}.result-item:nth-child(3) .question-face{background:var(--mint)}.question-word{font-size:23px;font-weight:800;line-height:1.5;margin-top:10px}.result-question{flex:1;display:flex;align-items:center;font-size:21px;font-weight:600;line-height:1.85;letter-spacing:0;overflow-wrap:anywhere}.result-deck .question-face .card-bottom{font-size:12px;color:var(--ink)}.result-invitation{text-align:center;font-size:14px;line-height:1.9;margin-top:24px}.result-reading{max-width:700px;margin:22px auto 0}.note-panel{padding:30px 0}.note-panel label{display:block;font-size:16px;line-height:1.8;font-weight:700}.note-panel label span{font-size:12px;font-weight:400;margin-left:8px}.note-panel>p{font-size:16px;line-height:1.8;margin:8px 0 14px}textarea{display:block;width:100%;background:var(--paper);border:1.5px solid;border-radius:6px;resize:vertical;min-height:130px;padding:16px;line-height:1.9;font-size:16px;color:var(--ink)}textarea::placeholder{color:#68685e}.note-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:1.8;margin-top:8px}.note-meta span:last-child{white-space:nowrap}.journey{border-block:1px solid;padding:20px 0}.journey summary{font-size:14px;cursor:pointer;line-height:1.8}.journey p{font-size:16px;line-height:1.9;margin-top:20px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:22px 0 8px}.word-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.word-chips span{font-size:14px;border:1px solid;padding:7px 12px;border-radius:4px;background:var(--paper)}.final-chips span{background:var(--yellow)}.result-actions{display:flex;gap:12px;margin-top:30px;justify-content:center;flex-wrap:wrap}.download-note{text-align:center;font-size:12px;margin-top:12px}.again-button{display:block;margin:20px auto 0}.closing-note{text-align:center;font-size:20px;font-weight:800;line-height:1.9;margin-top:38px}.storage-note{font-size:14px;line-height:1.8;text-align:center;padding:16px;color:#8d321b}
dialog{border:2px solid;border-radius:14px;max-width:580px;width:calc(100% - 36px);max-height:85svh;overflow:auto;background:var(--paper);color:var(--ink);padding:32px;box-shadow:7px 8px 0 var(--ink)}dialog::backdrop{background:#20201dbb}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.close-button{border:0;background:transparent;font-size:30px;width:44px;height:44px}dialog h2{font-size:28px;line-height:1.6;font-weight:800}dialog>p{font-size:16px;line-height:1.9;margin:20px 0}.rules{padding-left:22px;margin:28px 0}.rules li{padding-left:8px;margin-bottom:20px;font-size:16px}.rules strong{font-size:16px;font-weight:700}.rules p{font-size:16px;line-height:1.9;margin-top:6px}.close-help{width:100%}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}
@media(max-width:1100px){.welcome{gap:24px;padding-block:44px}.welcome h1{font-size:clamp(32px,4.5vw,48px)}.welcome-visual img{border-top-left-radius:80px}.theme-section{gap:6%;padding-inline:5%}.theme-form-panel{padding:24px}.review-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:721px) and (max-width:1100px){.game-shell{padding-inline:28px}.play-shell{--table-card-width:min(22vw,220px);--table-card-height:390px}.card-table{gap:12px}.card-table .being-card{padding:16px}.card-table .being-card .card-word{font-size:27px}.card-table .being-card .long-word{font-size:23px}.result-deck{grid-template-columns:repeat(3,minmax(0,244px));gap:20px}.theme-intro>p br{display:none}}
@media(max-width:720px){
.site-header{min-height:84px;padding:17px 20px;gap:10px}.brand{gap:7px}.brand-mark{width:34px;height:34px}.brand-name{font-size:18px;letter-spacing:-.85px}.brand-caption{font-size:12px;letter-spacing:.04em;margin-top:5px}.site-header>.text-button{font-size:12px;padding:7px 10px}.help-icon{display:none}.site-footer{padding:24px 20px;flex-direction:column;text-align:center;gap:12px}.site-footer>span:last-child{font-size:19px}.welcome{display:flex;flex-direction:column;padding:36px 24px 30px;gap:30px}.welcome-copy{width:100%;max-width:490px}.welcome h1{font-size:clamp(34px,9.5vw,52px);line-height:1.48;letter-spacing:-.05em}.welcome-copy>.eyebrow{font-size:12px;margin-bottom:15px;letter-spacing:.06em}.welcome-lead{margin-top:18px;font-size:16px;line-height:1.9}.hero-start{margin-top:22px;min-height:52px;font-size:14px;padding-inline:24px}.experience-meta{margin-top:18px;font-size:12px}.experience-meta span+span:before{margin:0 10px}.welcome-visual{width:100%;max-width:490px;transform:rotate(1deg)}.welcome-visual img{border-top-left-radius:70px;box-shadow:4px 5px 0 var(--ink)}.welcome-visual figcaption{font-size:12px;padding:8px 12px;margin-top:16px}.welcome-ribbon{flex-direction:column;gap:5px;padding:15px 20px;font-size:15px;text-align:center}.welcome-ribbon span+span:before{content:none}.theme-section{display:block;padding:40px 24px 46px}.theme-intro,.theme-form-panel{max-width:490px;margin:auto}.theme-intro h2{font-size:32px;margin:14px 0}.theme-intro>p{font-size:16px}.theme-intro>p br{display:none}.experience-steps{gap:13px;margin:25px 0 26px}.experience-steps span{min-width:84px;height:87px;font-size:14px;padding:10px}.theme-intro .theme-small{font-size:14px;margin-bottom:24px}.theme-intro .theme-small br{display:initial}.theme-form-panel{padding:22px 18px}.theme-option{padding:14px 12px;min-height:54px;font-size:14px}legend{font-size:16px}.start-button{font-size:15px;padding-inline:12px}.game-shell{padding:0 20px 32px}.theme-bar{padding:17px 0;align-items:flex-start;gap:16px}.theme-bar>div{display:block}.theme-bar span{font-size:12px;display:block;margin-bottom:4px}.theme-bar strong{font-size:14px}.theme-bar>.text-button{font-size:12px;max-width:100px;text-align:right;padding-top:4px}.stage-heading{padding:24px 0}.stage-heading .eyebrow{font-size:12px;margin-bottom:10px}.stage-heading h1{font-size:27px;letter-spacing:-.025em}.stage-heading p{font-size:16px;margin-top:12px}.progress-wrap{gap:10px;font-size:12px;margin-bottom:24px}.progress{gap:4px}.progress span{width:18px}.card-top{align-items:flex-start}.card-mark{width:24px;height:24px}.card-content{padding:22px 0}.card-rule{margin:14px 0}.card-bottom{font-size:14px}.play-shell{--table-card-width:calc((100vw - 52px)/2);--table-card-height:380px}.card-table{grid-template-columns:repeat(2,var(--table-card-width));gap:12px}.card-table .being-card{padding:16px}.card-table .being-card .card-word{font-size:clamp(21px,6.15vw,27px);letter-spacing:0}.card-table .being-card .long-word{font-size:22px}.card-table .being-card .card-top{min-height:30px}.card-table .being-card .card-content{padding-block:15px}.card-table .being-card .card-bottom{min-height:26px;font-size:14px}.play-shell .stage-heading p{min-height:60px}.play-shell .stage-heading{padding-block:22px 14px}.play-instruction-line{display:block}.play-shell .progress-wrap{margin-bottom:22px}.deck-wordmark{font-size:17px}.deck-symbol{width:95px;height:95px}.deck-action{font-size:14px}.deck-caption{font-size:12px}.table-caption{flex-direction:column;gap:0;margin-top:18px;text-align:center;font-size:14px}.table-caption .text-button{padding-block:8px}.table-note{font-size:12px}.review-toolbar{align-items:flex-start;margin-bottom:18px;gap:14px}.review-toolbar p{font-size:14px;max-width:240px}.review-toolbar strong{font-size:12px}.review-toolbar strong span{font-size:21px}.review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.being-card.compact{padding:14px;min-height:310px}.compact .card-word{font-size:25px}.compact .long-word{font-size:21px}.review-actions{bottom:10px;padding:14px;flex-direction:column;gap:10px;margin-top:22px}.review-actions>span{font-size:14px}.review-actions .primary{width:100%;min-height:49px;font-size:15px}.result-shell .stage-heading{padding-bottom:25px}.result-deck{grid-template-columns:minmax(0,290px);gap:32px}.result-flip{height:360px}.result-question{font-size:23px}.result-deck .card-word{font-size:32px}.result-deck .long-word{font-size:27px}.result-invitation{font-size:14px}.result-reading{margin-top:26px}.note-panel label{font-size:16px}.note-panel>p{font-size:16px}.comparison{grid-template-columns:1fr;gap:20px}.result-actions{display:grid;grid-template-columns:1fr}.result-actions .primary,.result-actions .secondary{font-size:15px}.closing-note{font-size:18px}.dialog-actions{flex-direction:column-reverse}.dialog-actions button{width:100%}dialog{padding:24px}dialog h2{font-size:24px}
}
@media(max-width:370px){.site-header{padding-inline:14px}.brand-mark{width:26px;height:26px}.brand-name{font-size:16px;letter-spacing:-.75px}.brand{gap:4px}.site-header>.text-button{padding-inline:8px}.welcome{padding-inline:20px}.welcome-lead br.desktop-br{display:none}.theme-section{padding-inline:20px}.theme-form-panel{padding:20px 14px}.theme-intro>p{font-size:16px}.experience-steps{gap:10px}.experience-steps span{min-width:78px;padding:8px}.game-shell{padding-inline:16px}.stage-heading h1{font-size:24px}.progress-wrap{gap:7px}.progress span{width:15px}.play-shell{--table-card-width:calc((100vw - 44px)/2);--table-card-height:420px}.card-table .being-card{padding:13px}.card-table .being-card .card-word.long-word{font-size:21px}.card-table .deck-card{gap:10px}.deck-wordmark{font-size:15px}.deck-action{font-size:13px}.deck-caption{font-size:12px;text-align:center}.result-deck{grid-template-columns:minmax(0,270px)}.being-card.compact{padding:12px}.compact .card-word{font-size:23px}.compact .long-word{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Share follows reflection, with four reviewable images before handing off. */
.share-panel{margin-top:30px;padding:28px;border:2px solid;border-radius:12px;background:var(--mint);box-shadow:4px 5px 0 var(--ink)}.share-panel h2{font-size:26px;line-height:1.6;margin:10px 0}.share-panel>p{font-size:16px;line-height:1.8}.social-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:20px}.social-buttons button{border:2px solid;border-radius:30px;background:var(--paper);padding:12px 10px;min-height:48px;font-weight:700;font-size:14px}.social-buttons button:hover{background:var(--yellow)}.share-panel .share-help,.share-help{font-size:14px;line-height:1.8;margin-top:14px}.share-caption-label{display:block;font-size:16px;font-weight:700;margin:26px 0 12px}.share-caption-label span{font-size:12px;font-weight:400;margin-left:10px}#share-dialog{max-width:940px}#share-dialog>p{font-size:16px;line-height:1.8}.share-previews{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0}.share-previews figure{min-width:0}.share-previews img{display:block;width:100%;height:auto;border:1px solid;border-radius:7px}.share-previews figcaption{font-size:14px;font-weight:700;line-height:1.7;margin-top:10px;overflow-wrap:anywhere}.share-previews .text-button{display:inline-block;font-size:14px;text-decoration-color:currentColor;padding:8px 0}.share-previews[aria-busy="true"]{min-height:120px;background:var(--blue);border-radius:8px}.share-file-actions,.share-post-actions{display:flex;gap:12px;flex-wrap:wrap}.share-file-actions>*,.share-post-actions>*{flex:1}#share-status{font-size:14px!important;line-height:1.8;min-height:25px}#share-caption{min-height:130px}.share-post-actions{margin-top:14px}#share-dialog .share-help{font-size:14px;margin:14px 0 0}#share-retry{margin-bottom:15px}
@media(max-width:720px){.share-panel{padding:22px 18px}.share-panel h2{font-size:23px}.social-buttons{grid-template-columns:repeat(2,1fr)}#share-dialog{padding:20px;max-height:90svh}.share-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.share-file-actions,.share-post-actions{flex-direction:column}.share-file-actions>*,.share-post-actions>*{width:100%;flex:auto;font-size:14px}.share-panel .share-help{font-size:14px}.share-caption-label span{display:block;margin:4px 0 0}}

/* Complete card artwork is revealed at the end; questions remain readable below. */
.result-deck{grid-template-columns:repeat(3,minmax(0,340px));gap:28px}
.result-flip{height:auto;aspect-ratio:var(--card-ratio,1072 / 1467)}
.result-art{display:block;width:100%;height:100%;overflow:hidden;background:var(--paper);outline:2px solid var(--ink);border-radius:10px;box-shadow:4px 5px 0 var(--ink)}
.result-art-image{display:block;width:100%;height:100%;object-fit:contain}
.result-art-image[hidden],.result-art-fallback[hidden]{display:none}
.result-art-fallback{display:block;width:100%;height:100%}
.result-deck .result-art-fallback .being-card{border:0;box-shadow:none}
.result-card-question{border-top:1px solid var(--ink);margin-top:28px;padding-top:18px}
.result-card-question .eyebrow{font-size:12px;letter-spacing:.06em}
.result-card-question p{font-size:18px;line-height:1.9;margin-top:12px;overflow-wrap:anywhere}
@media(max-width:720px){.result-deck{grid-template-columns:minmax(0,350px);gap:40px}.result-card-question{margin-top:22px}.result-card-question p{font-size:18px}.result-invitation{max-width:350px;margin-inline:auto}}

/* Supplied BeCauseCard wordmark; preserve the original transparent PNG. */
.round-progress{max-width:720px;margin:0 auto 30px;padding:20px 24px 16px;background:transparent;border:2px solid transparent}
.round-summary{display:flex;align-items:center;justify-content:space-between;gap:16px}
.round-caption{font-size:14px;font-weight:700;line-height:1.5}
.round-count{font-size:20px;font-weight:700;line-height:1.3;margin-top:3px;font-variant-numeric:tabular-nums}
.round-count strong{font-size:38px;margin-inline:4px;font-weight:850}
.round-count>span{font-size:14px;font-weight:500;margin-left:5px}
.round-remaining{font-size:16px;white-space:nowrap;background:var(--yellow);border-radius:24px;padding:8px 14px}
.round-remaining b{font-size:22px;font-variant-numeric:tabular-nums}
.round-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;list-style:none;margin:16px 0 10px;padding:0}
.round-step{text-align:center;min-width:0}
.round-number{display:grid;place-items:center;height:46px;border:1.5px solid var(--ink);border-radius:7px;background:transparent;font-size:24px;font-weight:800;font-variant-numeric:tabular-nums}
.round-state{display:block;height:20px;margin-top:3px;font-size:12px;line-height:20px;font-weight:700}
.round-step.is-done .round-number{background:var(--ink);color:var(--paper)}
.round-step.is-current .round-number{background:var(--yellow);border-width:3px}
.round-step.is-done .round-state{font-size:16px}
.round-next{text-align:center;font-size:14px;line-height:1.6}
.play-shell .stage-heading p,.play-shell .round-next{position:relative;width:fit-content;max-width:100%;background:#fff;border:1.5px solid var(--ink);border-radius:18px;padding:12px 24px;margin:18px auto 12px;text-wrap:balance}
.play-shell .stage-heading p:after,.play-shell .round-next:after{content:"";position:absolute;bottom:-9px;width:16px;height:16px;background:#fff;border-right:1.5px solid var(--ink);border-bottom:1.5px solid var(--ink);transform:rotate(45deg)}
.play-shell .stage-heading p:after{left:28px}
.play-shell .round-next:after{right:28px}
.play-shell .round-next{font-size:16px;line-height:1.7;margin-top:14px}
.play-shell .round-next>span{display:inline-block}
@media(max-width:720px){.play-shell .stage-heading p,.play-shell .round-next{padding:11px 16px;border-radius:15px}.play-shell .round-next{font-size:14px}}
@media(max-width:720px){.round-progress{padding:15px 14px 13px;margin-bottom:26px}.round-summary{gap:8px}.round-count{font-size:18px}.round-count strong{font-size:32px;margin-inline:2px}.round-count>span{font-size:12px;margin-left:1px}.round-caption{font-size:14px}.round-remaining{font-size:14px;padding:6px 10px}.round-remaining b{font-size:18px}.round-steps{gap:6px;margin-top:12px}.round-number{height:40px;font-size:21px;border-radius:5px}.round-next{font-size:14px}.round-state{margin-top:2px}}
@media(max-width:370px){.round-progress{padding-inline:10px}.round-count{font-size:16px}.round-count strong{font-size:30px}.round-remaining{padding:6px 8px}.round-steps{gap:5px}.round-number{font-size:20px}}
.brand{width:280px;max-width:calc(100% - 90px)}
.brand-logo{display:block;width:100%;height:auto}
.footer-logo{display:block;width:190px;height:auto}
.card-logo{width:112px;max-width:65%;height:auto;object-fit:contain;align-self:flex-start}
.deck-logo{display:block;width:100%;max-width:250px;height:auto;margin-block:42px}
@media(max-width:720px){.brand{width:230px}.card-logo{width:90px}.deck-logo{margin-block:40px}.card-table .being-card .card-top{flex-direction:column;justify-content:flex-start;gap:2px;min-height:40px}.card-table .card-top>span{font-size:12px;white-space:nowrap}}
