@font-face{font-family:RocoRuneLocal;src:url(/fonts/roco-rune.ttf) format("truetype");font-display:swap}.translator-shell{max-width:1120px;margin:0 auto}.translator-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:2rem;padding:clamp(1.5rem,4vw,3rem);margin-bottom:1rem;border:3px solid #2a1b14;border-radius:2rem;background:linear-gradient(135deg,#fff8df,#fff 64%,#ffe8f3);box-shadow:0 7px #2a1b14}.translator-hero:after{content:"";position:absolute;width:220px;height:220px;right:-65px;bottom:-105px;border-radius:50%;background:#ffd558;opacity:.42}.translator-mascot{position:relative;z-index:1;display:grid;place-items:end center;width:220px;height:240px;flex:0 0 auto;align-self:end;margin:-1rem -.5rem -2rem 0}.translator-mascot img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;-o-object-position:bottom center;object-position:bottom center}.translator-stack{display:grid;gap:1rem}.translator-card{padding:clamp(1rem,3vw,1.5rem);border:3px solid #2a1b14;border-radius:1.5rem;background:#fffffff5;box-shadow:0 6px #2a1b14}.translator-keyboard-card{margin-top:1rem}.translator-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.translator-kicker{margin-bottom:.25rem;color:#d54393;font-size:.72rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.rune-caption{font-family:RocoRuneLocal,sans-serif;letter-spacing:.04em;text-transform:none}.title-rune{display:block;margin-top:.35rem;color:#d54393;font-size:.45em;letter-spacing:.12em}.heading-rune{display:block;margin-top:.2rem;color:#d54393;font-size:.58em;letter-spacing:.08em}.translator-chip{display:inline-flex;border:2px solid #2a1b14;border-radius:999px;background:#ffd558;padding:.3rem .65rem;font-size:.75rem;font-weight:900;white-space:nowrap}.translator-chip-blue{background:#a9ddff}.translator-label{display:block;margin:.7rem 0 .4rem;color:#6d5b51;font-size:.8rem;font-weight:900}.translator-help{margin-top:.55rem;color:#8d7b70;font-size:.75rem;font-weight:700}.translator-input,.translator-output{width:100%;border:2px solid #cfc4b9;border-radius:1rem;background:#fffdf8;padding:.85rem 1rem;color:#2a1b14;font:inherit;font-weight:650;outline:none}.translator-input{min-height:125px;resize:vertical}.translator-input:focus{border-color:#ef6ab4;box-shadow:0 0 0 3px #ef6ab433}.translator-output{min-height:90px;white-space:pre-wrap;overflow-wrap:anywhere}.rune-output,.rune-input{font-family:RocoRuneLocal,Courier New,monospace;letter-spacing:.08em}.rune-output{font-size:1.55rem;line-height:1.7}.translator-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.85rem}.translator-button{min-height:42px;border:2px solid #2a1b14;border-radius:999px;background:#fff;padding:.5rem .9rem;color:#2a1b14;font-weight:900;box-shadow:0 3px #2a1b14;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,background .15s ease}.translator-button:hover{background:#fff2c9;transform:translateY(-1px);box-shadow:0 4px #2a1b14}.translator-button:active{transform:translateY(2px);box-shadow:0 1px #2a1b14}.translator-button-primary{background:#ef6ab4;color:#fff}.translator-button-disabled,.translator-button-disabled:hover{background:#e7e2de;color:#958b84;border-color:#bdb4ad;box-shadow:0 3px #bdb4ad;cursor:not-allowed;transform:none}.translator-help-muted{color:#a39a94;font-style:italic}.translator-image-test{margin-top:1.25rem;padding-top:1rem;border-top:2px dashed #d7cbbd}.translator-file-input{display:block;width:100%;margin:.4rem 0 .75rem;border:2px dashed #cfc4b9;border-radius:.8rem;background:#fffdf8;padding:.65rem;color:#6d5b51;font:inherit}.rune-keyboard{display:grid;gap:.55rem;max-width:820px;margin-top:1rem;padding:1rem;border:2px solid #d7cbbd;border-radius:1.25rem;background:#fffdf8}.rune-key-row{display:flex;justify-content:center;gap:.55rem}.rune-key{width:clamp(34px,7vw,68px);min-height:48px;border:2px solid #2a1b14;border-radius:.9rem;background:#fff8df;color:#2a1b14;font-family:RocoRuneLocal,sans-serif;font-size:1.35rem;font-weight:900;box-shadow:0 3px #2a1b14;cursor:pointer}.rune-key.utility{width:clamp(60px,10vw,100px);font-family:inherit;font-size:.72rem;letter-spacing:.04em}.rune-key.space{width:clamp(150px,38vw,360px);font-family:inherit;font-size:.75rem}.rune-key:hover{background:#ffd558}.translator-toast{position:fixed;right:1rem;bottom:1rem;z-index:40;max-width:280px;transform:translateY(150%);border:2px solid #2a1b14;border-radius:999px;background:#fff;padding:.7rem 1rem;box-shadow:0 4px #2a1b14;font-weight:900;transition:transform .2s ease}.translator-toast.show{transform:translateY(0)}@media(max-width:760px){.translator-hero{padding:1.25rem}.translator-mascot{width:120px;height:150px;margin:0 -.5rem -1.25rem 0}.rune-keyboard{padding:.6rem;gap:.4rem}.rune-key-row{gap:.35rem}.rune-key{min-height:42px;border-radius:.7rem;font-size:1.1rem}}
