:root{color:#1a1a1a;background:#2a2218;font-family:Georgia,Times New Roman,serif}html,body,#root{height:100%}body{margin:0;overflow:hidden}:root{--ink:#1a1a1a;--ink-soft:#3b2f1e;--parchment:#f4ecd8;--parchment-dark:#d3c39f;--card:#fffaf0;--card-edge:#8a7550;--wood:#3b2f1e;--wood-text:#f4ecd8;--night:#2a2218;--touch:44px}*,:before,:after{box-sizing:border-box}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.5}.turned{transform:rotate(180deg)}.app{background:var(--parchment);max-width:430px;height:100dvh;color:var(--ink);flex-direction:column;margin:0 auto;display:flex;position:relative;overflow:hidden}.half{flex-direction:column;flex:1 1 0;justify-content:space-between;gap:8px;min-height:0;padding:10px 16px;display:flex}.half-white{background:var(--parchment)}.half-black{background:var(--parchment-dark)}.half-cards{flex-direction:column;gap:6px;min-height:0;display:flex;overflow-y:auto}.half-label{letter-spacing:1px;color:var(--ink-soft);font-size:12px}.hand-row{scrollbar-width:thin;flex-wrap:nowrap;gap:6px;padding-bottom:2px;display:flex;overflow:auto hidden}.draw-button{background:var(--wood);color:#fff;border:none;border-radius:10px;width:100%;min-height:52px;font-size:17px}.card{background:var(--card);color:var(--ink);border:1px solid var(--card-edge)}.card-mini{text-align:center;border-radius:6px;flex-direction:column;align-items:center;gap:2px;width:64px;height:88px;padding:4px;display:flex}.card-mini .card-icon{flex:none;width:32px;height:32px}.card-mini .card-name{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:10px;line-height:1.2;display:-webkit-box;overflow:hidden}.mini-button{min-width:var(--touch);min-height:var(--touch);background:0 0;border:none;flex:none;padding:0;position:relative}.reminder-marker{border:1px solid var(--card-edge);color:var(--ink);letter-spacing:.5px;text-transform:uppercase;background:#f2d98c;border-radius:4px;padding:0 4px;font-size:8px;position:absolute;top:-1px;left:50%;transform:translate(-50%)}.mini-reminder .card-mini{border-style:dashed;padding-top:12px}.card-big{border-width:2px;border-radius:12px;flex-direction:column;flex:0 auto;min-height:0;padding:14px;display:flex}.card-big .card-name{text-align:center;margin:0 0 6px;font-size:20px}.card-big .card-icon{flex:none;width:72px;height:72px;margin:4px auto;display:block}.card-keep{letter-spacing:1px;text-align:center;text-transform:uppercase;color:var(--ink-soft);margin-bottom:8px;font-size:12px}.card-text{white-space:pre-line;flex:0 auto;min-height:0;font-size:15px;line-height:1.4;overflow-y:auto}.strip{background:var(--wood);min-height:52px;color:var(--wood-text);flex:none;align-items:center;gap:4px;padding:4px 8px;font-size:13px;display:flex}.strip-deck{flex:none;padding:0 4px}.strip-button{min-width:var(--touch);min-height:var(--touch);border:1px solid var(--wood-text);color:var(--wood-text);background:0 0;border-radius:8px;flex:none;padding:0 8px}.strip-last{white-space:nowrap;text-overflow:ellipsis;text-align:left;flex:auto;min-width:0;overflow:hidden}.overlay{z-index:10;flex-direction:column;display:flex;position:absolute;inset:0}.overlay-white{background:var(--parchment);color:var(--ink)}.overlay-black{background:var(--night);color:var(--wood-text)}.overlay-own{flex-direction:column;flex:1 1 0;align-items:center;gap:10px;min-height:0;padding:16px;display:flex;position:relative}.overlay-label{letter-spacing:1px;text-transform:uppercase;font-size:14px}.overlay-note{margin:0;font-size:14px}.big-wrap{flex-direction:column;flex:auto;justify-content:safe center;gap:10px;width:100%;max-width:340px;min-height:0;max-height:560px;display:flex}.card-actions,.other-buttons{flex-direction:column;flex:none;gap:8px;display:flex}.other-buttons{flex-direction:row}.action-button{border:1px solid var(--card-edge);background:var(--wood);color:#fff;border-radius:10px;flex:1 1 0;min-height:48px;font-size:16px}.overlay-black .action-button{background:var(--card);color:var(--ink)}.action-button.undo-button{min-height:var(--touch);color:inherit;background:0 0;flex:none;font-size:14px}.overlay-other{border-bottom:2px solid var(--card-edge);flex-direction:column;flex:0 auto;max-height:50%;padding:16px;display:flex;overflow-y:auto}.other-panel{flex-direction:column;flex:0 auto;gap:10px;min-height:0;display:flex}.other-card .card-big{padding:8px 12px}.other-card .card-big .card-name{margin-bottom:2px;font-size:17px}.other-card .card-big .card-icon{width:40px;height:40px;margin:2px auto}.other-text{text-align:center;margin:0;font-size:16px}.screen{z-index:10;background:var(--parchment);color:var(--ink);flex-direction:column;gap:12px;padding:16px;display:flex;position:absolute;inset:0}.screen-title{text-align:center;flex:none;margin:0;font-size:18px}.screen-body{flex-direction:column;flex:auto;gap:8px;min-height:0;display:flex;overflow-y:auto}.screen-heading{margin:8px 0 0;font-size:15px}.screen-text,.screen-list{margin:0;font-size:15px;line-height:1.4}.screen-list{padding-left:20px}.discard-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.discard-row{width:100%;min-height:var(--touch);border:1px solid var(--card-edge);background:var(--card);color:var(--ink);text-align:left;border-radius:8px;padding:0 12px}.action-button.screen-close,.action-button.menu-button{flex:none}.tour-backdrop{z-index:20;background:#1a140c99;justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}.tour-panel{border:1px solid var(--card-edge);background:var(--card);width:100%;max-width:340px;color:var(--ink);border-radius:14px;flex-direction:column;gap:8px;padding:18px;display:flex;box-shadow:0 8px 24px #0000004d}.tour-top{align-self:flex-start}.tour-count{letter-spacing:1px;color:var(--card-edge);font-size:12px}.tour-title{margin:0 0 4px;font-size:20px}.tour-text{margin:0;font-size:15px;line-height:1.4}.tour-buttons{gap:8px;margin-top:10px;display:flex}.tour-button{min-height:var(--touch);border:1px solid var(--wood);background:var(--wood);color:#fff;border-radius:10px;flex:1 1 0;font-size:16px}.tour-button.tour-quiet{color:var(--ink-soft);background:0 0}.tour-flash{z-index:21;pointer-events:none;border-radius:10px;animation:1.2s ease-in-out 3 forwards tour-pulse;position:relative}.hand-row.tour-flash{background:var(--parchment);min-height:60px}.hand-row.tour-flash:empty:before{content:attr(data-empty);color:var(--card-edge);margin:auto;font-size:14px}.strip-last.tour-flash{background:var(--wood)}@keyframes tour-pulse{0%,to{box-shadow:inset 0 0 0 3px #f2c94c,0 0 #f2c94c99}50%{box-shadow:inset 0 0 0 3px #f2c94c,0 0 16px 6px #f2c94c99}}@media (prefers-reduced-motion:reduce){.tour-flash{animation:none;box-shadow:inset 0 0 0 3px #f2c94c}}.tour-picture{width:100%;max-height:170px;margin:4px 0}.tour-picture-label{fill:var(--ink-soft);text-anchor:middle;font-size:11px}.tour-board-light{fill:var(--parchment)}.tour-board-dark{fill:var(--card-edge)}.tour-board-edge{fill:none;stroke:var(--ink-soft);stroke-width:1.5px}.tour-phone{fill:var(--ink)}.tour-phone-black{fill:var(--parchment-dark)}.tour-phone-strip{fill:var(--card-edge)}.tour-phone-white{fill:var(--parchment)}.feedback-layer{z-index:15;position:absolute;inset:0}.screen-footer{flex:none;gap:8px;display:flex}.screen-footer .action-button.screen-close{flex:1 1 0}.feedback-group{border:none;margin:0;padding:0}.feedback-choices{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.feedback-choice{min-height:var(--touch);border:1px solid var(--card-edge);background:var(--card);border-radius:10px;align-items:center;gap:6px;padding:0 12px;font-size:15px;display:flex}.feedback-rating{min-height:var(--touch);border:1px solid var(--card-edge);background:var(--card);border-radius:10px;padding:0 12px;font-size:15px}.feedback-rating[aria-pressed=true]{background:var(--wood);color:var(--wood-text)}.feedback-field{flex-direction:column;gap:6px;display:flex}.feedback-field select,.feedback-field textarea,.feedback-field input{min-height:var(--touch);border:1px solid var(--card-edge);background:var(--card);color:var(--ink);font:inherit;border-radius:8px;padding:8px;font-size:16px}.feedback-field textarea{resize:vertical}.feedback-honey{display:none}.feedback-error{flex-direction:column;gap:8px;display:flex}.action-button.feedback-mail{flex:none;justify-content:center;align-items:center;text-decoration:none;display:flex}.feedback-thanks{text-align:center;margin:auto 0;font-size:22px}.feedback-icon{width:var(--touch);height:var(--touch);opacity:.7;background:0 0;border:1px solid;border-radius:50%;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:8px;right:8px}.feedback-icon svg{width:22px;height:22px}.screen-footer .action-button.screen-close{color:inherit;background:0 0}.feedback-group legend{padding:0}
