.parlor-pack { max-width: 650px; margin: 0 auto; color: #465e50; }
.pl-hint { text-align: center; color: #64766b; font-size: 12px; margin: 3px 0 18px; line-height: 1.45; }
.pl-tiny-progress { display: block; font-size: 11px; line-height: 1.8; text-align: center; color: #7a8d7e; }
.pl-feedback { font-size: 12px; min-height: 1.4em; text-align: center; color: #a47a4c; }
.pl-letter-board { display: grid; grid-template-columns: repeat(var(--pl-size), minmax(0, 1fr)); gap: 8px; width: min(100%, 430px); margin: 0 auto; touch-action: none; user-select: none; }
.pl-letter { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; min-height: 0; padding: 0; font: 650 clamp(14px, 3vw, 25px)/1 Georgia, serif; color: #4d7259; border: 1px solid #d2d8be; border-radius: 9px; background: linear-gradient(145deg, #fffcef, #e9ecd7); box-shadow: 0 4px 0 #bfcab0, 0 6px 8px #29423210; touch-action: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pl-letter.is-selected { background: #d9b979; border-color: #c6a15b; color: #fffdf1; box-shadow: 0 3px 0 #aa884c; transform: translateY(1px); }
.pl-letter.is-found { background: #d5e1c6; box-shadow: 0 3px 0 #a7bb98; }
.pl-letter:disabled { opacity: 1; cursor: default; }
.pl-letter.is-used { opacity: .2; box-shadow: none; }
.parlor-pack[data-parlor-kind="wordsearch"] .pl-letter-board { gap: 6px; }
.parlor-pack[data-parlor-kind="wordsearch"] .pl-letter { border-radius: 6px; font-size: clamp(13px, 2.3vw, 20px); }
.pl-word-targets { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin: 0 0 18px; }
.pl-word-targets span { font-size: 10px; font-weight: 700; letter-spacing: .5px; padding: 6px 9px; border: 1px solid #d4dbc4; border-radius: 20px; color: #7b8b73; }
.pl-word-targets .is-found { background: #dfe9ce; border-color: #b7c7a4; color: #587c51; text-decoration: line-through; }
.pl-trace-entry { display: flex; gap: 7px; align-items: center; max-width: 430px; margin: 18px auto; }
.pl-trace-entry output { flex: 1; min-width: 0; padding: 10px; font-size: 14px; letter-spacing: 2px; text-align: center; border-bottom: 1px solid #becbad; }
.pl-trace-entry button, .pl-word-form button, .pl-undo { display: grid; place-items: center; width: 41px; height: 41px; min-width: 41px; border: 1px solid #c9d6b9; border-radius: 50%; background: #e5ecd5; color: #5e7f52; font-size: 23px; cursor: pointer; }
.pl-trace-entry button svg, .pl-word-form button svg, .pl-undo svg { width: 21px; height: 21px; }
.pl-trace-entry button:disabled, .pl-word-form button:disabled, .pl-undo:disabled { opacity: .4; cursor: default; }
.pl-progress-pill { border-radius: 22px; background: #e3ebd1; color: #637d51; width: fit-content; font-size: 12px; padding: 8px 17px; margin: 0 auto 20px; }
.pl-blossom { display: block; width: 145px; height: 155px; margin: 0 auto; }
.pl-answer { display: flex; gap: 7px; justify-content: center; margin: 5px 0 24px; }
.pl-answer > span { display: grid; place-items: center; width: 32px; height: 39px; border-bottom: 2px solid #a5b98e; font: 700 23px Georgia, serif; }
.pl-alphabet { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 7px; max-width: 420px; margin: 0 auto; }
.pl-alphabet button { aspect-ratio: 1; padding: 0; border: 1px solid #d2d9c2; border-radius: 7px; background: #f3f3e4; color: #536b4d; font-size: 14px; cursor: pointer; }
.pl-alphabet .is-correct { background: #cddfbe; color: #527445; }
.pl-alphabet .is-missed { opacity: .25; }
.pl-chain { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.pl-chain > span { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 13px 15px; border: 1px solid #ccd8b8; border-radius: 10px; background: #eef1dd; font-size: 17px; letter-spacing: 2px; box-shadow: 0 3px 0 #becbb0; }
.pl-chain small { font-size: 10px; letter-spacing: 0; color: #8a9b78; }
.pl-chain .pl-chain-goal { border-style: dashed; background: transparent; color: #93a17d; box-shadow: none; }
.pl-word-form { display: flex; align-items: center; gap: 10px; max-width: 360px; margin: 22px auto 10px; }
.pl-word-form input { width: 0; flex: 1; min-width: 0; padding: 13px; border: 1px solid #ccd8be; border-radius: 11px; background: #fdfcf0; color: #506c4c; font-size: 16px; text-transform: uppercase; outline-offset: 3px; }
.pl-word-form input::placeholder { text-transform: none; font-size: 12px; color: #8d9b83; }
.pl-undo { margin: 15px auto; width: 34px; height: 34px; min-width: 34px; }
.pl-word-list { max-width: 500px; margin: 20px auto 0; font-size: 11px; color: #819176; }
.pl-word-list summary { cursor: pointer; text-align: center; }
.pl-word-list p { line-height: 2.2; text-align: center; letter-spacing: .3px; }
.pl-crossword { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; max-width: 310px; margin: 0 auto; padding: 4px; border-radius: 9px; background: #789075; }
.pl-cross-cell, .pl-cross-block { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 3px; }
.pl-cross-cell { background: #fbfae9; color: #58714e; cursor: pointer; }
.pl-cross-cell small { position: absolute; left: 5px; top: 3px; font-size: 9px; font-weight: 500; }
.pl-cross-cell b { font: 650 24px Georgia, serif; }
.pl-cross-cell.is-given { background: #e2e9d0; }
.pl-cross-block { background: #6c8369; }
.pl-cross-cell.is-selected, .pl-cryptogram button.is-selected { background: #f2d293; outline: 2px solid #b48e46; outline-offset: -2px; }
.pl-letter-input { display: block; width: 48px; height: 44px; text-align: center; margin: 15px auto 9px; border: 1px solid #c1ceae; border-radius: 8px; background: #fbfaeb; color: #5a774f; text-transform: uppercase; font-size: 22px; }
.pl-letter-input::placeholder { color: #c0cbb2; }
.pl-clues { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 500px; margin: 15px auto; }
.pl-clues > div { display: grid; align-content: start; gap: 8px; }
.pl-clues > div > b { font-size: 11px; color: #91a081; }
.pl-clues button { display: block; text-align: left; padding: 0; background: none; border: none; font-size: 12px; line-height: 1.6; color: #637756; cursor: pointer; }
.pl-cryptogram { display: flex; flex-wrap: wrap; justify-content: center; gap: 21px; margin: 25px auto; }
.pl-cryptogram > div { display: flex; gap: 5px; max-width: 100%; }
.pl-cryptogram button { display: grid; gap: 5px; justify-items: center; padding: 8px 1px; width: 34px; flex-shrink: 1; min-width: 0; background: #f7f4df; border: 1px solid #d2d7ba; border-radius: 6px; box-shadow: 0 3px 0 #bcc8a9; color: #627b51; cursor: pointer; }
.pl-cryptogram b { font: 650 22px Georgia, serif; }
.pl-cryptogram small { border-top: 1px solid #d7dbc6; padding-top: 4px; width: 80%; text-align: center; font-size: 9px; color: #a1ac92; }
.pl-cryptogram .is-given { background: #dee8c9; }
.pl-tile-rack { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; max-width: 400px; margin: 20px auto; }
@media (max-width: 380px) { .pl-letter-board { gap: 7px; } .parlor-pack[data-parlor-kind="wordsearch"] .pl-letter-board { gap: 4px; } .pl-alphabet { gap: 4px; } .pl-cryptogram > div { gap: 4px; } .pl-cryptogram button { width: 29px; } .pl-cryptogram b { font-size: 19px; } }
