@media (width<=767px){body:has(.pr-session) .app-mbar,body:has(.pr-session) .ptabs{display:none!important}body.app:has(.pr-session){padding-bottom:0}}.pr-session-bar{align-items:center;gap:10px;min-height:44px;margin:0 -4px 8px;display:flex}@media (width<=767px){.pr-session-bar{z-index:30;padding:8px 12px calc(8px + env(safe-area-inset-top,0px));background:var(--bg);margin:0 -16px 12px;position:sticky;top:0}.pr-modes--header{display:none}}.pr-session-bar .pr-back{width:40px;height:40px;color:var(--ink);border-radius:999px;flex:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.pr-session-bar .pr-back:hover{background:var(--surface)}.pr-session-bar h1{font:650 16px/1.2 var(--sans);letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0;overflow:hidden}.pr-session-bar .pr-count{font:500 13px/1.2 var(--sans);font-variant-numeric:tabular-nums lining-nums;color:var(--muted);flex:none}.pr-settings-btn{width:40px;height:40px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:999px;flex:none;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.pr-settings-btn:hover,.pr-settings-btn[aria-expanded=true]{background:var(--surface)}@media (width>=761px){.pr-session-bar .pr-back{display:none}.pr-session-bar{margin-top:8px}.pr-session-bar h1{font-size:22px}}.pr-modes--header{margin-top:8px}.pr-sheet{background:var(--surface);width:min(100%,420px);max-height:min(88vh,720px);color:var(--ink);border:0;border-radius:20px;padding:20px 20px 24px;box-shadow:0 16px 40px -24px #11111180}.pr-sheet::backdrop{background:#11111159}@media (width<=767px){.pr-sheet{width:100%;padding-bottom:calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;margin:auto 0 0}}.pr-sheet__head{justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;display:flex}.pr-sheet__head h2{font:650 16px/1.2 var(--sans);margin:0}.pr-sheet__close{width:40px;height:40px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.pr-sheet__close:hover{background:var(--bg)}.pr-sheet fieldset{border:0;margin:0 0 16px;padding:0}.pr-sheet legend,.pr-sheet .pr-new label,.pr-sheet .pr-tones{font:500 13px/1.3 var(--sans);color:var(--muted)}.pr-sheet .pr-pick{gap:4px;margin-top:8px;display:grid}.pr-sheet .pr-pick label{min-height:44px;font:500 15px/1.3 var(--sans);color:var(--ink);cursor:pointer;border-radius:12px;align-items:center;gap:10px;padding:0 8px;display:flex}.pr-sheet .pr-pick label:hover{background:var(--bg)}.pr-sheet .pr-new{justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;display:flex}.pr-sheet .pr-new input{background:var(--surface);width:72px;min-height:40px;color:var(--ink);font:500 15px/1.2 var(--sans);text-align:center;border:1px solid #1111112e;border-radius:12px;padding:8px 10px}.pr-sheet .pr-tones{min-height:44px;color:var(--ink);align-items:center;gap:10px;margin:0 0 16px;font-size:15px;display:flex}.pr-sheet .pr-data-row{flex-wrap:wrap;gap:8px;margin:0 0 8px;display:flex}.pr-sheet .pr-data-row button,.pr-sheet .pr-file{background:var(--surface);min-height:40px;color:var(--ink);font:500 14px/1.2 var(--sans);cursor:pointer;border:1px solid #1111112e;border-radius:999px;padding:8px 12px}.pr-sheet .pr-data-row button:hover,.pr-sheet .pr-file:hover{border-color:var(--ink)}.pr-sheet .pr-file input{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.pr-sheet .pr-status{min-height:1.3em;font:400 13px/1.4 var(--sans);color:var(--muted);margin:0 0 16px}.pr-levels{gap:4px;margin:8px 0 0;display:grid}.pr-level-row{min-height:44px;color:var(--ink);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;text-decoration:none;display:flex}.pr-level-row:hover{background:var(--bg)}.pr-level-row[aria-current=page]{background:var(--accent-soft);font-weight:650}.pr-level-row .pr-due{font:400 12px/1.3 var(--sans);color:var(--muted)}.pr-pinyin{flex-wrap:wrap;justify-content:center;gap:12px 16px;margin:22px 0 0;display:flex}.pr-syl{flex-direction:column;align-items:center;gap:8px;min-width:72px;scroll-margin-bottom:180px;display:flex}.pr-syl .pr-hz{text-align:center;margin:0;font-size:clamp(40px,10vw,72px);font-weight:600;line-height:1.15}.pr-syl__in{background:var(--surface);width:100%;min-width:72px;max-width:120px;min-height:44px;color:var(--ink);font:500 18px/1.2 var(--sans);text-align:center;border:1px solid #1111112e;border-radius:12px;padding:8px 6px}.pr-syl__in::placeholder{color:var(--muted);opacity:1;font-size:14px;font-weight:400}.pr-syl__in:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.pr-syl.is-letters-ok .pr-syl__in,.pr-syl__in.is-right{border-color:var(--accent-bright);background:var(--accent-soft)}.pr-syl.is-letters-wrong .pr-syl__in,.pr-syl__in.is-wrong{border-color:#a33;text-decoration:line-through 1px}.pr-toneset{gap:4px;display:flex}.pr-tone{min-width:32px;height:32px;color:var(--ink);font:600 12px/1 var(--sans);cursor:pointer;background:#ffffffd9;border:0;border-radius:8px;padding:0 4px}.pr-tone:hover:not([aria-pressed=true]){color:var(--ink);background:var(--surface)}.pr-tone[aria-pressed=true],.pr-tone[aria-pressed=true]:hover,.pr-tone[aria-pressed=true]:focus-visible,.pr-tone[aria-pressed=true]:active{background:var(--ink);color:#fff}.pr-tone.is-right,.pr-tone.is-right[aria-pressed=true]{background:var(--accent-bright);color:var(--ink)}.pr-tone.is-wrong,.pr-tone.is-wrong[aria-pressed=true]{color:#fff;background:#a33}.pr-syl__correct{min-height:1.2em;font:500 14px/1.3 var(--sans);color:var(--muted);margin:0}.pr-type--cells{flex-direction:column;align-items:center;display:flex}.pr-type--cells .pr-act{bottom:calc(12px + env(safe-area-inset-bottom));z-index:2;margin-top:22px;position:sticky}.pr-session .pr-stage{margin-top:12px}
