.app-shell{min-height:100vh;padding:22px;background:linear-gradient(180deg,#ffffffb8,#fff0),#eef1e8}.app-shell-center{display:grid;place-items:center}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1180px;margin:0 auto 14px}.eyebrow{min-height:18px;margin:0 0 2px;color:#687366;font-size:.78rem}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(2rem,4vw,3.6rem);line-height:.95;letter-spacing:0}h2{margin-bottom:8px;font-size:1.7rem}.topbar-actions,.panel-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}.button,.icon-button{min-height:42px;border:1px solid #9aa58f;border-radius:8px;background:#fff;color:#1a241c;cursor:pointer;box-shadow:0 2px #18211b1f}.button{padding:0 15px;font-weight:700}.icon-button{width:42px;padding:0;font-weight:900}.button:hover,.icon-button:hover{border-color:#56624e}.button-primary{border-color:#1f5b4d;background:#1f5b4d;color:#fff}.button-secondary{background:#f8faf3}.stats-row{display:grid;grid-template-columns:repeat(3,minmax(86px,1fr));gap:8px;max-width:520px;margin:0 auto 18px}.stats-row div{display:flex;align-items:baseline;justify-content:center;gap:7px;min-height:42px;border:1px solid #c8d0be;border-radius:8px;background:#ffffff9e;color:#657061;font-size:.85rem;font-weight:700}.stats-row span{color:#18211b;font-size:1.25rem}.board-wrap{position:relative;display:grid;place-items:center;min-height:62vh;overflow:auto;border-top:1px solid rgba(86,98,78,.18);padding:26px 8px}.board{position:relative;flex:0 0 auto}.tile{position:absolute;display:grid;grid-template-rows:18px 1fr;align-items:center;width:136px;height:78px;border:1px solid #5e6a57;border-radius:8px;padding:8px 10px 10px;background:#fbfaf4;color:#152019;cursor:pointer;box-shadow:0 10px #d9d3bf,0 14px 22px #20261f2e;transition:transform .14s ease,box-shadow .14s ease,opacity .14s ease,border-color .14s ease}.tile:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1px solid rgba(94,106,87,.18);border-radius:5px;pointer-events:none}.tile-word{background:#fffaf0}.tile-translation{background:#f2fbf7}.tile.is-open:hover{transform:translateY(-4px);box-shadow:0 14px #d9d3bf,0 20px 28px #20261f33}.tile.is-locked{opacity:.48;cursor:default}.tile.is-selected{border-color:#1f5b4d;outline:3px solid rgba(31,91,77,.28)}.tile.is-hint{border-color:#9d6a00;outline:3px solid rgba(189,128,16,.26)}.tile-kind{color:#6f7968;font-size:.68rem;font-weight:900;letter-spacing:0}.tile-label{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;font-size:1rem;font-weight:800;line-height:1.18}.status-panel,.win-panel{width:min(420px,calc(100vw - 32px));border:1px solid #c5cebb;border-radius:8px;background:#ffffffe6;padding:24px;text-align:center;box-shadow:0 18px 48px #20261f24}.status-mark{width:42px;height:42px;margin:0 auto 14px;border:5px solid #c8d0be;border-top-color:#1f5b4d;border-radius:50%;animation:spin .9s linear infinite}.error-text{color:#8b2721}.win-panel{position:absolute;z-index:20}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 760px){.app-shell{padding:14px}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{justify-content:flex-start}.tile{width:124px;height:72px}}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#eef1e8;color:#17201a}button{font:inherit}
