.phone-reader-body,.phone-help-sheet{display:none}
@media(max-width:650px), (max-height:500px) and (pointer:coarse){
 .reader-shell #main{display:flex;flex-direction:column;height:100%;min-height:0}
 .reader-shell{height:100dvh;min-height:0;overflow:hidden}
 .reader-shell .focus-bar{height:auto;min-height:62px;flex:none;padding:8px 10px;gap:8px;align-items:center}
 .reader-shell .focus-title{min-width:0;gap:8px}
 .reader-shell .focus-title h1{font-size:20px;white-space:nowrap;margin:0}
 .reader-shell .focus-title small,.reader-shell .focus-tools .reader-gesture-tip,.reader-shell .focus-clock,.reader-shell #account-status{display:none}
 .reader-shell .focus-menu-button{width:36px;height:36px;min-width:36px}
 .reader-shell .focus-tools{gap:0;flex:none}
 .reader-shell .focus-tools .reader-end-session{font-size:12px;padding:8px}
 .reader-shell .focus-workspace{display:none!important}
 .phone-reader-body{display:flex;flex:1;min-height:0;min-width:0;flex-direction:column;background:#fffef8}
 .phone-page-nav{display:flex;justify-content:center;gap:8px;border-bottom:1px solid #dfe5d6;padding:7px 10px}
 .phone-page-nav button{min-height:36px;padding:5px 18px}
 .phone-gemara-scroll{overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;scrollbar-gutter:stable;scroll-padding-block:18px}
 .phone-gemara{padding:18px 20px 28px;font-family:'Times New Roman',serif;font-size:27px;line-height:2.15;overflow-wrap:anywhere;text-align:right}
 .phone-passage{margin:0 0 22px;font:inherit;color:#19251a}
 .phone-token{position:relative;display:inline-block;max-width:100%;vertical-align:top;margin-bottom:3px}
 .phone-passage:has(.phone-cheshbon) .phone-token{padding-block-start:15px}
 .phone-translation-unit{display:inline-block;max-width:100%;vertical-align:top;line-height:1.5}
 .phone-word{font:inherit;line-height:1.5;display:inline-block;padding:0 1px;border:0;border-radius:2px;background:transparent;color:inherit;min-width:0;min-height:36px;cursor:pointer;overflow-wrap:anywhere;max-width:100%}
 .phone-word-selected{outline:1px solid #718a9d;background:#edf3f8}
 .phone-word:focus-visible{outline:2px solid #315d51}
 .phone-token.step-start .phone-word{box-shadow:inset -1px 0 #4e62514d}
 .phone-gloss{display:block;font:11px/1.3 var(--sans),sans-serif;color:#4c763f;max-width:100%;text-align:center;overflow-wrap:anywhere;margin-top:1px}
 .phone-cheshbon{font:10px/1 var(--sans),sans-serif;position:absolute;inset-block-start:0;inset-inline-start:0;color:#627755;white-space:nowrap}
 .phone-attribution{font:11px/1.6 var(--sans),sans-serif;color:#7c8974;padding:12px 20px}
 .phone-sheet-mount{flex:none;min-height:0}.phone-sheet-mount:empty{display:none}
 .phone-help-sheet{display:flex;flex-direction:column;height:var(--sheet-height,33dvh);max-height:75dvh;min-height:0;flex:none;position:relative;background:#fffef9;border-top:1px solid #b6c6b0;box-shadow:0 -3px 12px #244d3f12;z-index:5;padding-bottom:env(safe-area-inset-bottom)}
 .phone-sheet-header{flex:none;padding:0 14px 6px;border-bottom:1px solid #e0e5dc}
 .phone-sheet-header>div{display:flex;align-items:center;justify-content:space-between}
 .phone-sheet-header>div:has(>.sr-only){justify-content:flex-end}
 .phone-sheet-header h2{font:18px/1.1 var(--serif),serif;margin:0;color:#244a40}
 .phone-sheet-handle{height:25px;display:flex;align-items:center;justify-content:center;width:100%;border:0;background:transparent;touch-action:none;cursor:ns-resize}
 .phone-sheet-handle span{width:48px;height:4px;background:#9baa96;border-radius:4px}
 .phone-sheet-close{border:0;background:transparent;color:#647d56;font-size:26px;line-height:1;width:38px;height:30px}
 .phone-sheet-scroll{overflow:auto;overscroll-behavior:contain;padding:10px 18px 22px;min-height:0;flex:1}
 .phone-resource-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .phone-resource-tabs button{padding:7px 2px;min-height:34px;min-width:0;border:1px solid #dce3d4;border-radius:4px;background:#f7f9f3;color:#425b38;font:12px/1.2 var(--sans),sans-serif;overflow-wrap:anywhere}
 .phone-resource-tabs button[aria-pressed=true]{background:#e4edda;border-color:#819d67;font-weight:600}
 .phone-resource-tabs button:disabled{opacity:.5}
 .phone-anchor,.phone-difficulty{font:11px/1.4 var(--sans),sans-serif;color:#77866c;margin:12px 0}
 .phone-resource-content{font:16px/1.65 var(--sans),sans-serif;color:#344b40;overflow-wrap:anywhere}
 .phone-resource-content p{margin:10px 0 16px}
 .phone-selected-he{font:27px/1.6 'Times New Roman',serif}
 .phone-step-type{display:inline-block;border-radius:3px;padding:4px 10px}
 .phone-sequence{list-style:none;padding:0;margin:12px 0}
 .phone-sequence li{padding:8px 0;border-bottom:1px solid #e7ebdf;font-size:14px}
 .phone-sequence span{font-weight:600;margin-right:8px}
 .phone-source-note{border-bottom:1px solid #e1e6dc;padding:12px 0}

 .phone-source-note [lang=he]{font-family:'Noto Rashi Hebrew',serif;font-size:22px;line-height:1.85}
}
.phone-reader-body .phone-cheshbon{color:#32708d;background:#eaf6ff;border-radius:2px;padding:1px 3px}
.phone-help-sheet .phone-resource-tabs{display:flex;flex-direction:column}
.phone-choice-row{display:flex;justify-content:center;gap:5px}
.phone-choice-row button{flex:1}
.phone-choice-row.bottom button{flex:0 1 42%}
.phone-translation-unit .phone-gloss::before{content:'';display:block;width:1px;height:4px;margin:0 auto 2px;background:#a7bf99}
