.rf-bottom-sheet{position:fixed;left:0;right:0;bottom:0;z-index:10000;margin:0 auto;width:100%;max-height:60vh;max-height:60dvh;display:flex;flex-direction:column;background:var(--rf-word-card-bg);border:1px solid var(--rf-word-card-border);border-bottom:0;border-radius:var(--rf-radius-feature) var(--rf-radius-feature) 0 0;box-shadow:var(--rf-shadow-float);padding-bottom:env(safe-area-inset-bottom,0);color:var(--rf-word-card-text);animation:rf-bottom-sheet-up .2s ease-out;outline:none}.rf-bottom-sheet[hidden]{display:none}.rf-bottom-sheet.is-returning{transition:transform .15s ease-out}.rf-bottom-sheet-grab{flex:none;height:20px;display:flex;justify-content:center;padding-top:8px}.rf-bottom-sheet-handle{width:36px;height:4px;border-radius:var(--rf-radius-full);background:var(--rf-word-card-text-muted);opacity:.45}@media (min-width:768px){.rf-bottom-sheet{bottom:24px;width:calc(100% - 48px);max-width:560px;border-bottom:1px solid var(--rf-word-card-border);border-radius:var(--rf-radius-feature);padding-bottom:0;animation-name:rf-bottom-sheet-rise}.rf-bottom-sheet-grab{display:none}}@keyframes rf-bottom-sheet-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes rf-bottom-sheet-rise{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.rf-bottom-sheet,.rf-bottom-sheet.is-returning{animation:none;transition:none}}.word-card-sheet-close{position:absolute;top:12px;right:8px;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:var(--rf-radius-full);background:transparent;color:var(--rf-word-card-text-secondary);cursor:pointer}.word-card-sheet-close:hover{background:var(--rf-word-card-border)}.word-card-sheet-close:focus-visible{outline:2px solid var(--rf-main);outline-offset:2px}.word-card-sheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 16px}.word-card-sheet .tooltip-header{padding-right:40px;min-height:28px}@media (min-width:768px){.word-card-sheet-close{top:8px}.word-card-sheet-body{padding-top:16px}}.word-card-sheet.has-hall{--wc-frame:var(--word-card-hall-cover);--wc-tint:var(--word-card-hall-tint);--wc-ink:var(--word-card-hall-ink);--wc-on-ink:var(--rf-word-card-on-save-fill);border:2px solid var(--wc-frame,var(--rf-word-card-border));border-bottom:0}:root[data-page-colour=dark] .word-card-sheet.has-hall,:root[data-theme=dark]:not([data-page-colour]) .word-card-sheet.has-hall{--wc-frame:var(--word-card-hall-dark-ink);--wc-tint:var(--word-card-hall-dark-tint);--wc-ink:var(--word-card-hall-dark-ink);--wc-on-ink:var(--rf-word-card-bg)}.word-card-sheet.has-hall .rf-bottom-sheet-handle{background:var(--wc-frame,var(--rf-word-card-text-muted));opacity:1}.word-card-sheet.has-hall .tooltip-sentence-toggle{color:var(--wc-ink,var(--rf-main))}.word-card-sheet.has-hall .tooltip-sentence{background:var(--wc-tint,var(--rf-page))}.word-card-sheet.has-hall .tooltip-save{border-color:var(--wc-ink,var(--rf-word-card-save));color:var(--wc-ink,var(--rf-word-card-save))}.word-card-sheet.has-hall button.tooltip-save:hover:not(:disabled){background:var(--wc-tint,var(--rf-word-card-save-hover-bg))}.word-card-sheet.has-hall .tooltip-save.is-saved{border-color:var(--wc-ink,var(--rf-word-card-save-fill));background:var(--wc-ink,var(--rf-word-card-save-fill));color:var(--wc-on-ink)}:root.rf-word-hall{--wc-word-tint:var(--rf-word-hall-tint)}:root.rf-word-hall[data-page-colour=dark],:root.rf-word-hall[data-theme=dark]:not([data-page-colour]){--wc-word-tint:var(--rf-word-hall-dark-tint)}:root.rf-word-hall .clickable-word[data-pinned=true]{background-color:var(--wc-word-tint,var(--rf-story-word-tapped-bg))}@media (min-width:768px){.word-card-sheet.has-hall{border-bottom:2px solid var(--wc-frame,var(--rf-word-card-border))}}.rf-word-tap-hall{--wc-word-tint:var(--rf-word-hall-tint)}:root[data-page-colour=dark] .rf-word-tap-hall,:root[data-theme=dark]:not([data-page-colour]) .rf-word-tap-hall{--wc-word-tint:var(--rf-word-hall-dark-tint)}span[data-word-open]{background-color:var(--wc-word-tint,var(--rf-story-word-tapped-bg))}