@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-cyrillic-ext-400-normal-CuPM9foi.woff2)format("woff2"),url(/assets/nunito-cyrillic-ext-400-normal-xaE7D4Sw.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-cyrillic-400-normal-xAOo5cBP.woff2)format("woff2"),url(/assets/nunito-cyrillic-400-normal-D1j0u8EH.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-vietnamese-400-normal-BHkVbP3T.woff2)format("woff2"),url(/assets/nunito-vietnamese-400-normal-DtOtW02z.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-latin-ext-400-normal-i-8OOpdj.woff2)format("woff2"),url(/assets/nunito-latin-ext-400-normal-CjMJVfGn.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/nunito-latin-400-normal-r8SDr6Up.woff2)format("woff2"),url(/assets/nunito-latin-400-normal-DKg4f3fz.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-cyrillic-ext-700-normal-BuR0mlCG.woff2)format("woff2"),url(/assets/nunito-cyrillic-ext-700-normal-DfoqN4Gs.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-cyrillic-700-normal-DP36NgGt.woff2)format("woff2"),url(/assets/nunito-cyrillic-700-normal-DfHRUDv-.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-vietnamese-700-normal-Ch8EUCfz.woff2)format("woff2"),url(/assets/nunito-vietnamese-700-normal-C9SQsXvj.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-ext-700-normal-BWeMsAzO.woff2)format("woff2"),url(/assets/nunito-latin-ext-700-normal-D4woHhbd.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/nunito-latin-700-normal-Dort48En.woff2)format("woff2"),url(/assets/nunito-latin-700-normal-OcDqTBcA.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-cyrillic-ext-800-normal-B-cvGohL.woff2)format("woff2"),url(/assets/nunito-cyrillic-ext-800-normal-pjRatrRO.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-cyrillic-800-normal-D3igD7Kl.woff2)format("woff2"),url(/assets/nunito-cyrillic-800-normal-DymMgApb.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-vietnamese-800-normal-D_CZYdm9.woff2)format("woff2"),url(/assets/nunito-vietnamese-800-normal-Dz0hZPb5.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-latin-ext-800-normal-CtU8tJOV.woff2)format("woff2"),url(/assets/nunito-latin-ext-800-normal-CDcxIxx8.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-latin-800-normal-Dz8SOQK_.woff2)format("woff2"),url(/assets/nunito-latin-800-normal-D-J0wlBY.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-cyrillic-ext-400-normal-BjDhGU6t.woff2)format("woff2"),url(/assets/noto-sans-cyrillic-ext-400-normal-d9FrwbiD.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-cyrillic-400-normal-CHP_ranX.woff2)format("woff2"),url(/assets/noto-sans-cyrillic-400-normal-BDYvNhAR.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-devanagari-400-normal-C3FccbrF.woff2)format("woff2"),url(/assets/noto-sans-devanagari-400-normal-g9fsM2jL.woff)format("woff");unicode-range:U+900-97F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-greek-ext-400-normal-i2oSBwXz.woff2)format("woff2"),url(/assets/noto-sans-greek-ext-400-normal-L11LEhi4.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-greek-400-normal-DCESwnT1.woff2)format("woff2"),url(/assets/noto-sans-greek-400-normal-Be2BcUUc.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-vietnamese-400-normal-D2wP-Vm-.woff2)format("woff2"),url(/assets/noto-sans-vietnamese-400-normal-C3Al4sv4.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-latin-ext-400-normal-CVf-LbaS.woff2)format("woff2"),url(/assets/noto-sans-latin-ext-400-normal-CNh9dRW_.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/noto-sans-latin-400-normal-BTkUljjl.woff2)format("woff2"),url(/assets/noto-sans-latin-400-normal-DPpKfCgK.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Noto Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/noto-sans-cyrillic-ext-400-italic-C9NI8UaU.woff2)format("woff2"),url(/assets/noto-sans-cyrillic-ext-400-italic-DqW_YkPk.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Noto Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/noto-sans-cyrillic-400-italic-CMQj_TQM.woff2)format("woff2"),url(/assets/noto-sans-cyrillic-400-italic-Dm4hr-Ag.woff)format("woff");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Noto Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/noto-sans-devanagari-400-italic-aza5nvbj.woff2)format("woff2"),url(/assets/noto-sans-devanagari-400-italic-BpEXw0fu.woff)format("woff");unicode-range:U+900-97F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}@font-face{font-family:Noto Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/noto-sans-greek-ext-400-italic-DlxXzGt2.woff2)format("woff2"),url(/assets/noto-sans-greek-ext-400-italic-D9i0Od8_.woff)format("woff");unicode-range:U+1F??}@font-face{font-family:Noto Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/noto-sans-greek-400-italic-Cw158ua2.woff2)format("woff2"),url(/assets/noto-sans-greek-400-italic-Ds3lC5jm.woff)format("woff");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:Noto Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/noto-sans-vietnamese-400-italic-Dotu2pZp.woff2)format("woff2"),url(/assets/noto-sans-vietnamese-400-italic-da8J1rYs.woff)format("woff");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Noto Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/noto-sans-latin-ext-400-italic-BXXaecLH.woff2)format("woff2"),url(/assets/noto-sans-latin-ext-400-italic-C3uzHanu.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Noto Sans;font-style:italic;font-display:swap;font-weight:400;src:url(/assets/noto-sans-latin-400-italic-4m5KtZ19.woff2)format("woff2"),url(/assets/noto-sans-latin-400-italic-D8X3Awh8.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#fff8f2;--surface:#fff;--surface-2:#f6ece4;--ink:#241c18;--muted:#7c6d65;--line:#eadbd0;--primary:#d9482e;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9482e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");--primary-hover:#c23d25;--primary-soft:#fde3da;--on-primary:#fff;--word:#fff0b8;--word-ink:#6a4a00;--accent-ink:#1a8a92;--right:#23845f;--right-soft:#dcf3e8;--wrong:#c2352b;--wrong-soft:#fbe2df;--shadow:0 1px 2px #3c1e0a0f, 0 6px 20px #3c1e0a12;--radius:16px;--gutter:16px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=fotoloco]{--bg:#1ec3cc;--surface:#fff;--surface-2:#fbc425;--ink:#102a30;--muted:#0d4950;--line:#f5a623;--primary:#e8286e;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8286e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");--primary-hover:#cc1d5d;--primary-soft:#f5a623;--on-primary:#fff;--word:#fbc425;--word-ink:#2e2000;--accent-ink:#e8286e;--right:#0b5f65;--right-soft:#fff;--wrong:#5c2400;--wrong-soft:#f5a623;--shadow:0 1px 2px #0028321f, 0 6px 20px #00283224;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=fotoloco] .wordmark{background:#fff;border-radius:999px;padding:0 14px 2px}:root[data-theme=fotoloco] :is(.field input:not([type=checkbox]),.field select,.field textarea,.code-row input,.code-input){background-color:#fff}:root[data-theme=fotoloco] .dialog li.right .sentence{background:var(--surface)}:root[data-theme=fotoloco] .dialog li.right:not(.current) .sentence{border-color:var(--line)}:root[data-theme=fotoloco] .choice.right{border-width:3px}:root[data-theme=dark]{--bg:#1c1714;--surface:#2a221e;--surface-2:#352b26;--ink:#f6ece4;--muted:#b3a197;--line:#463a33;--primary:#f0694d;--select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0694d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");--primary-hover:#ff7d62;--primary-soft:#4a2a21;--on-primary:#1c1714;--word:#5a4712;--word-ink:#ffe9a3;--accent-ink:#5fd6dd;--right:#5fd3a4;--right-soft:#1f3a2f;--wrong:#ff8a7d;--wrong-soft:#47231f;--shadow:0 1px 2px #0000004d, 0 6px 20px #00000040;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font-family:Nunito,system-ui,-apple-system,sans-serif;font-size:17px;line-height:1.45;overflow-x:hidden}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default}:focus-visible{outline:3px solid color-mix(in srgb, var(--primary) 55%, transparent);outline-offset:2px}h1,h2,p{margin:0}ul,ol{margin:0;padding:0;list-style:none}a{color:inherit;text-decoration:none}.muted{color:var(--muted)}.small{font-size:14px}.center{text-align:center}.hint{color:var(--muted);font-size:14px}.screen{max-width:720px;padding:0 var(--gutter) calc(32px + var(--safe-bottom));flex-direction:column;gap:16px;min-height:100dvh;margin:0 auto;display:flex}.screen-center{min-height:60dvh;padding:var(--gutter);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex}.splash{min-height:100dvh}.splash .wordmark{font-size:34px}.header{z-index:10;margin:0 calc(-1 * var(--gutter));padding:calc(8px + var(--safe-top)) var(--gutter) 8px;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(12px);grid-template-columns:48px 1fr 48px;align-items:center;gap:8px;display:grid;position:sticky;top:0}.header-title{text-align:center;min-width:0}.header-title h1{white-space:nowrap;text-overflow:ellipsis;font-size:19px;font-weight:800;overflow:hidden}.header-title .ruby .rt{padding-bottom:3px}.header-title .ruby.joined:after{bottom:3px}.header-subtitle{color:var(--muted);flex-direction:column;font-size:13px;display:flex}.header-subtitle .transcriptions{align-items:center}.header-subtitle>span,.header-subtitle .phonetics,.header-subtitle .friendly{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:13px;overflow:hidden}.header-right{justify-content:flex-end;display:flex}.header-actions{display:flex}.text-screen .header{grid-template-columns:minmax(88px,max-content) 1fr minmax(88px,max-content)}.capsule{background:var(--primary);min-height:34px;color:var(--on-primary);white-space:nowrap;border:none;border-radius:999px;padding:0 14px;font-size:15px;font-weight:800}.capsule:hover:not(:disabled){background:var(--primary-hover)}.toast{left:50%;top:calc(16px + var(--safe-top));z-index:60;background:var(--ink);color:var(--bg);box-shadow:var(--shadow);border-radius:999px;padding:10px 18px;font-size:15px;font-weight:700;animation:.2s ease-out rise;position:fixed;transform:translate(-50%)}.section-title{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px;font-size:15px;font-weight:800}.wordmark{letter-spacing:-.02em;font-size:24px;font-weight:800}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}.button{border:none;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:50px;padding:0 22px;font-size:17px;font-weight:800;display:inline-flex}.button.primary{background:var(--primary);color:var(--on-primary)}.button.primary:hover:not(:disabled){background:var(--primary-hover)}.button:disabled{opacity:.55}.link{color:var(--primary);background:0 0;border:none;padding:8px;font-weight:700}.icon-button{width:44px;height:44px;color:var(--ink);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover:not(:disabled){background:var(--surface-2)}.icon-button:disabled{opacity:.3}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>span{color:var(--muted);font-size:14px;font-weight:700}.field em{font-style:normal;font-weight:400}.field-label-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.field-label-row label{color:var(--muted);min-width:0;font-size:14px;font-weight:700}.field-label-row .icon-button.small{width:32px;height:32px;color:var(--muted);flex-shrink:0;margin:-6px -8px -6px 0}.field-label-row .icon-button.small svg{width:20px;height:20px}.field input:not([type=checkbox]),.field select,.field textarea{border:1.5px solid var(--line);background:var(--bg);border-radius:12px;width:100%;min-height:48px;padding:10px 14px;font-size:17px}.field select{appearance:none;background-image:var(--select-chevron);cursor:pointer;text-overflow:ellipsis;background-position:right 14px center;background-repeat:no-repeat;background-size:20px;padding-right:44px}.field select.placeholder{color:var(--muted)}.field input:not([type=checkbox]):focus,.field select:focus,.field textarea:focus{border-color:var(--primary);outline:none}.field textarea{resize:vertical;min-height:calc(4.35em + 22px);line-height:1.45}.row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.segmented{flex-wrap:wrap;gap:6px;display:flex}.segmented button{border:1.5px solid var(--line);background:var(--surface);border-radius:999px;flex:auto;min-height:42px;padding:0 14px;font-size:15px;font-weight:700}.segmented button.selected{background:var(--ink);border-color:var(--ink);color:var(--bg)}.chips{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.chip{background:var(--surface-2);color:var(--muted);border:none;border-radius:999px;align-items:center;gap:4px;padding:2px 10px;font-size:13px;font-weight:700;display:inline-flex}.switch{color:var(--muted);align-items:center;gap:8px;font-size:15px;font-weight:700;display:inline-flex}.switch input{appearance:none;background:var(--line);border-radius:999px;width:42px;height:26px;margin:0;transition:background .15s;position:relative}.switch input:after{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px}.switch input:checked{background:var(--primary)}.switch input:checked:after{transform:translate(16px)}.spinner{border:2.5px solid color-mix(in srgb, currentColor 20%, transparent);border-top-color:currentColor;border-radius:50%;flex:none;width:20px;height:20px;animation:.75s linear infinite spin;display:inline-block}.spinner-large{width:34px;height:34px;color:var(--primary);border-width:3px}@keyframes spin{to{transform:rotate(360deg)}}.banner{border-radius:12px;padding:12px 14px;font-weight:600}.banner.error{background:var(--wrong-soft);color:var(--wrong)}.banner.quota{background:var(--primary-soft);color:var(--ink);text-align:center}.form-error{color:var(--wrong);font-size:15px;font-weight:600}.auth{max-width:420px;min-height:100dvh;padding:calc(24px + var(--safe-top)) var(--gutter) calc(24px + var(--safe-bottom));flex-direction:column;justify-content:center;gap:28px;margin:0 auto;display:flex}.auth-brand{text-align:center;flex-direction:column;gap:8px;display:flex}.auth-logo .wordmark{font-size:44px}.auth-brand p{color:var(--muted);font-size:18px}.auth-form,.sheet{flex-direction:column;gap:16px;padding:22px;display:flex}.auth-head{text-align:center;flex-direction:column;gap:4px;display:flex}.auth-head h2{font-size:22px;font-weight:800}.field-head{color:var(--muted);justify-content:space-between;align-items:baseline;gap:8px;font-size:14px;font-weight:700;display:flex}.field-status{font-size:13px;font-weight:700}.field-status.ok{color:var(--right)}.field-status.bad{color:var(--wrong)}.field-status.muted{color:var(--muted);font-weight:600}.auth-form input.ok{border-color:var(--right)}.auth-form input.bad{border-color:var(--wrong)}.small-link{align-self:flex-start;padding:0;font-size:15px}.auth-form .small-link:first-of-type{margin-top:-8px}.button.secondary{background:var(--primary-soft);color:var(--primary);min-height:46px}.verify{flex-direction:column;gap:8px;display:flex}.code-row{gap:8px;display:flex}.code-row input,.code-input{border:1.5px solid var(--line);background:var(--bg);letter-spacing:.3em;font-variant-numeric:tabular-nums;border-radius:12px;flex:1;min-width:0;min-height:48px;padding:10px 14px;font-size:20px}.code-row input:focus,.code-input:focus{border-color:var(--primary);outline:none}.code-row input::placeholder,.code-input::placeholder{letter-spacing:normal;font-size:17px}.code-row input.bad{border-color:var(--wrong)}.code-row .button{min-height:48px;padding:0 18px}.password{display:block;position:relative}.password input{padding-right:46px}.password-toggle{width:40px;height:40px;color:var(--muted);background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.sheet-backdrop{z-index:50;background:#140a0573;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet-backdrop .sheet{width:100%;max-width:520px;padding-bottom:calc(22px + var(--safe-bottom));border-radius:22px 22px 0 0;animation:.2s ease-out rise}@keyframes rise{0%{opacity:0;transform:translateY(30px)}}.sheet-head{justify-content:space-between;align-items:center;display:flex}.sheet h2{font-size:22px;font-weight:800}.setup{min-height:100dvh;padding:calc(24px + var(--safe-top)) var(--gutter) calc(24px + var(--safe-bottom));justify-content:center;align-items:center;display:flex}.setup .sheet{width:100%;max-width:440px}.modal-backdrop{z-index:50;padding:calc(16px + var(--safe-top)) var(--gutter) calc(16px + var(--safe-bottom));background:#140a0580;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{flex-direction:column;gap:12px;width:100%;max-width:400px;max-height:100%;padding:24px 22px 20px;animation:.2s ease-out rise;display:flex;overflow-y:auto}.modal>*{flex-shrink:0}.modal h2{text-align:center;font-size:22px;font-weight:800}.modal p{line-height:1.45}.modal .modal-lead{margin-top:4px;font-weight:700}.modal-perks{flex-direction:column;gap:8px;margin:0 0 8px;padding:0;list-style:none;display:flex}.modal-perks li{align-items:flex-start;gap:10px;line-height:1.4;display:flex}.modal-perks svg{color:var(--primary);flex-shrink:0;margin-top:2px}.modal-perks span{flex:1}.link-preview{background:var(--surface);border:1.5px solid var(--line);border-radius:14px;overflow:hidden}.link-preview-image{aspect-ratio:3/2;background:var(--bg);justify-content:center;align-items:center;display:flex}.link-preview-image img{object-fit:cover;width:100%;height:100%;display:block}.link-preview-image img[hidden]{display:none}.link-preview-text{flex-direction:column;gap:2px;padding:10px 12px;display:flex}.link-preview-text strong{font-size:15px;line-height:1.3}.postcards{scrollbar-width:none;gap:8px;margin:-2px -3px;padding:3px;display:flex;overflow-x:auto}.postcards::-webkit-scrollbar{display:none}.postcards button{aspect-ratio:3/2;background:var(--bg);cursor:pointer;border:2px solid #0000;border-radius:8px;flex:0 0 calc(21.0526% - 6.73684px);padding:0;overflow:hidden}.postcards button[aria-checked=true]{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.postcards img{object-fit:cover;width:100%;height:100%;display:block}.share-link{color:var(--muted);text-align:center;word-break:break-all;margin:-4px 0 4px;font-size:11.7px}.danger-link{color:var(--wrong)}.button.danger{background:var(--wrong);color:#fff}.note-sheet{max-height:calc(100% - var(--safe-top) - 12px)}.note-sheet h2{font-size:17px;font-weight:700}.note-sheet .sheet-head{gap:12px;margin-bottom:-6px}.note-sheet .sheet-head .capsule{flex-shrink:0;margin:-6px 0}.note-sheet.keyboard{padding-top:16px;padding-bottom:12px}.note-box{flex-shrink:1;height:max(55dvh,200px);min-height:120px;display:flex;position:relative}.note-sheet textarea{border:1.5px solid var(--line);background:var(--bg);resize:none;overscroll-behavior:contain;border-radius:12px;width:100%;height:100%;padding:12px 14px;font-size:17px;line-height:1.45}.note-sheet textarea:focus{border-color:var(--primary);outline:none}:root[data-theme=fotoloco] .note-sheet textarea{background-color:#fff}.note-foot{justify-content:space-between;align-items:center;gap:12px;margin-top:-4px;display:flex}.note-count{font-variant-numeric:tabular-nums;flex-shrink:0}.grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;display:grid}.tile{aspect-ratio:1;background:var(--surface-2);border-radius:10px;display:block;position:relative;overflow:hidden}.tile img{object-fit:cover;width:100%;height:100%;display:block}.badge{color:#fff;background:#0009;border-radius:999px;padding:1px 8px;font-size:12px;font-weight:700;position:absolute;bottom:6px;left:6px}.shared-with-me{margin-top:22px}.fab-bar{bottom:calc(16px + var(--safe-bottom));pointer-events:none;justify-content:center;margin-top:auto;display:flex;position:sticky}.fab{pointer-events:auto;box-shadow:0 8px 24px color-mix(in srgb, var(--primary) 40%, transparent)}.empty{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;padding:24px 8px 60px;display:flex}.empty h2{font-size:24px;font-weight:800}.empty p{max-width:360px}.empty-art{background:var(--primary-soft);width:96px;height:96px;color:var(--primary);border-radius:28px;justify-content:center;align-items:center;display:flex;transform:rotate(-6deg)}.hero{object-fit:cover;border-radius:var(--radius);background:var(--surface-2);width:100%;max-height:56dvh;display:block}.list{flex-direction:column;gap:10px;display:flex}.list-item{flex-direction:column;padding:14px 16px;display:flex}.list-title{font-size:18px;font-weight:800}.form{flex-direction:column;gap:16px;padding:18px;display:flex}.form h2{font-size:20px;font-weight:800}.form.collapsed{padding:0}.form-toggle{width:100%;font:inherit;color:inherit;cursor:pointer;text-align:left;background:0 0;border:none;justify-content:space-between;align-items:center;padding:0;display:flex}.form.collapsed .form-toggle{padding:18px}.form-toggle svg{color:var(--primary);transition:transform .2s}.form-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.generating{text-align:center;flex-direction:column;align-items:center;gap:10px;padding:36px 20px;display:flex}.generating h2{margin-top:6px;font-size:20px;font-weight:800}.text-photo{object-fit:cover;border-radius:var(--radius);background:var(--surface-2);align-self:center;width:80%;max-height:32dvh;margin-top:-16px;display:block}.text-photo.framed{background:var(--surface-2);border-radius:0}.tabs{background:var(--surface-2);border-radius:999px;gap:4px;padding:4px;display:flex}.tabs button{min-height:40px;color:var(--muted);background:0 0;border:none;border-radius:999px;flex:1;justify-content:center;align-items:center;gap:6px;font-size:15px;font-weight:800;display:inline-flex}.tabs button:disabled{opacity:.4;cursor:default}.switch input:disabled,.switch input:disabled+span{opacity:.45}.tabs button.selected{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.tabs .count{background:var(--line);color:var(--muted);border-radius:999px;padding:0 7px;font-size:12px}.reader{flex-direction:column;gap:14px;display:flex}.toggles{flex-wrap:wrap;gap:18px;display:flex}.reader{--player-height:130px}.player[hidden],.sentences[hidden]{display:none}.reader.reading .toggles,.reader.reading .plain-text{align-self:center;width:80%}.plain-text{flex-direction:column;gap:12px;padding-bottom:32px;font-size:20px;line-height:1.6;display:flex}.plain-text[lang^=zh]{font-size:24px}.plain-text.poetic,.plain-text.rap{gap:4px}.plain-text p{margin:0}.plain-speaker{color:var(--muted);margin-inline-end:10px;font-size:15px;font-weight:800}.sentences{padding-bottom:calc(var(--player-height) + 24px);flex-direction:column;gap:8px;display:flex}.sentences>li{scroll-margin-top:calc(var(--header-height,72px) + 8px);scroll-margin-bottom:calc(var(--player-height) + 12px)}.sentence{background:var(--surface);box-shadow:var(--shadow);border:2px solid #0000;border-radius:14px;flex-direction:column;gap:4px;padding:12px 14px;display:flex;position:relative}.sentence .spinner{color:var(--primary);width:16px;height:16px;position:absolute;top:10px;right:10px}.current .sentence{border-color:var(--primary)}.sentence-text{font-size:20px;line-height:1.5}.share-hint{background:var(--surface);box-shadow:var(--shadow);border-radius:12px;align-items:center;gap:6px;margin:2px 0 10px;padding:8px 4px 8px 12px;line-height:1.35;animation:.2s ease-out rise;display:flex;position:relative}.share-hint svg{flex-shrink:0}.share-hint span{flex:1}.share-hint:before{content:"";border:8px solid #0000;border-top:0;border-bottom:8px solid var(--surface);position:absolute;top:-7px;right:58px}.share-hint .icon-button.small{width:28px;height:28px;color:inherit;flex-shrink:0}.sentence-text[dir=rtl]{text-align:right}.translation{color:var(--muted);font-size:15px}.transcriptions{flex-direction:column;gap:1px;display:flex}.sentence-text[lang^=zh],.word-head strong[lang^=zh],.word-card strong[lang^=zh],.header-title strong[lang^=zh]{font-size:24px}.phonetics.pinyin{font-size:13px}.ruby{vertical-align:bottom;flex-direction:column;align-items:center;line-height:1.2;display:inline-flex;position:relative}.ruby .rb{text-align:center;align-self:stretch}.ruby .rt{color:var(--muted);white-space:nowrap;padding:0 2px;font-family:Noto Sans,system-ui,sans-serif;font-size:12px;font-weight:400;line-height:1.1}.ruby.joined:after{content:"-";transform:translateX(calc(50% + var(--hyphen-shift,0px)));color:var(--muted);font-family:Noto Sans,system-ui,sans-serif;font-size:12px;font-weight:400;line-height:1.1;position:absolute;bottom:0;right:0}.word-card .ruby .rt,.word-card .ruby.joined:after{color:inherit;opacity:.8}.word-card strong .ruby.joined:after{font-size:11px}.study-word.annotated{color:inherit;background:0 0;margin:0;padding:0}.study-word .ruby .rb{background:var(--word);color:var(--word-ink)}.study-word .ruby:first-child .rb{border-radius:5px 0 0 5px}.study-word .ruby:last-child .rb{border-radius:0 5px 5px 0}.study-word .ruby:only-child .rb{border-radius:5px}.word-card strong .ruby .rt{font-size:11px}.current .pick-word .rb{-webkit-text-decoration:underline dotted color-mix(in srgb, var(--muted) 60%, transparent);text-decoration:underline dotted color-mix(in srgb, var(--muted) 60%, transparent);text-underline-offset:5px;text-decoration-thickness:2px}.phonetics{color:var(--muted);font-family:Noto Sans,system-ui,sans-serif;font-size:15px;font-style:italic}.friendly{color:var(--accent-ink);font-size:15px;font-weight:700}.friendly:before{content:"≈ ";opacity:.7;font-weight:400}.word-card .transcriptions{margin-top:2px}.word-card .phonetics,.word-card .friendly{color:inherit;opacity:.85}.speaker{background:var(--surface-2);color:var(--muted);border-radius:999px;align-self:flex-start;padding:0 8px;font-size:12px;font-weight:800}.dialog li{max-width:88%}.dialog li.right{align-self:flex-end}.dialog li.right .sentence{background:var(--primary-soft)}.dialog li.right .speaker{background:var(--surface);align-self:flex-end}.dialog[dir=rtl] :is(.translation,.transcriptions){text-align:left;direction:ltr}.study-word{background:var(--word);color:var(--word-ink);font:inherit;line-height:inherit;border:none;border-radius:5px;margin:0 -1px;padding:0 3px}.player{z-index:20;padding:10px var(--gutter) calc(10px + var(--safe-bottom));background:color-mix(in srgb, var(--surface) 92%, transparent);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--line);flex-direction:column;align-items:center;gap:4px;display:flex;position:fixed;bottom:0;left:0;right:0}.player-controls{align-items:center;gap:22px;display:flex}.player-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;width:100%;max-width:688px;display:grid}.player-row .player-controls{grid-column:2}.player-row .auto-play{grid-column:3;justify-self:end;font-size:12px;position:relative}.player-row .auto-play span{margin-top:2px;position:absolute;top:100%;left:50%;transform:translate(-50%)}.player .play{background:var(--primary);width:60px;height:60px;color:var(--on-primary);border:none;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.player-position{color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}.word-card{background:var(--word);width:100%;max-width:688px;color:var(--word-ink);border-radius:12px;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:6px;padding:10px 6px 10px 14px;display:flex}.word-card .muted{color:inherit;opacity:.8;font-size:14px}.word-card .icon-button{color:inherit;width:32px;height:32px}.pick-card{background:var(--surface);color:var(--ink);border:1.5px solid var(--line);padding:12px 14px}.pick-body{flex-direction:column;flex:1;gap:10px;display:flex}.pick-body>p:first-child{font-weight:700}.pick-actions{gap:8px;display:flex}.pick-actions .button{flex:1;min-height:44px;font-size:16px}.pick-actions .button:not(.primary){background:var(--surface-2)}.current .pick-word{-webkit-text-decoration:underline dotted color-mix(in srgb, var(--muted) 60%, transparent);text-decoration:underline dotted color-mix(in srgb, var(--muted) 60%, transparent);text-underline-offset:5px;cursor:pointer;text-decoration-thickness:2px}.words .word{flex-direction:column;gap:4px;padding:14px 16px;display:flex;position:relative}.words .word .word-head{padding-right:40px}.word-remove{color:var(--muted);width:40px;height:40px;position:absolute;top:6px;right:6px}.word-remove:hover:not(:disabled){color:var(--wrong);background:var(--wrong-soft)}.word-head{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.word-head strong{font-size:20px}.word-translation{color:var(--primary);font-weight:700}.word-head .conjugate{align-self:center;min-height:26px;padding:0 10px;font-size:13px}.word-card .conjugate{vertical-align:2px;background:var(--word-ink);min-height:24px;color:var(--word);margin-left:4px;padding:0 9px;font-size:13px}.word-card .conjugate:hover:not(:disabled){background:var(--word-ink);opacity:.9}.modal.conjugation{max-width:480px}.conjugation .sheet-head{align-items:flex-start}.conjugation .sheet-head h2{text-align:left}.conjugation-wait{align-items:center;gap:10px;padding:8px 0;display:flex}.tenses{background:var(--line);border:1.5px solid var(--line);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5px;display:grid;overflow:hidden}.tense{background:var(--surface);padding:10px 10px 12px}.tense h3{margin-bottom:6px;font-size:14px;font-weight:800;line-height:1.3}.tense h3 .muted{font-size:12px;font-weight:600}.tense ul{flex-direction:column;gap:1px;margin:0;padding:0;font-size:14px;line-height:1.35;list-style:none;display:flex}.example{color:var(--muted);border-left:3px solid var(--line);margin-top:4px;padding-left:10px;font-size:15px}.section-row{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:10px;display:flex}.section-row .section-title{margin-bottom:0}.small-button{background:var(--surface);min-height:38px;box-shadow:var(--shadow);color:var(--ink);padding:0 14px;font-size:15px}.review-tools{flex-direction:column;gap:12px;display:flex}.search{border:1.5px solid var(--line);background:var(--surface);min-height:46px;color:var(--muted);border-radius:999px;align-items:center;gap:8px;padding:0 14px;display:flex}.search:focus-within{border-color:var(--primary)}.search input{min-width:0;color:var(--ink);background:0 0;border:none;outline:none;flex:1;font-size:17px}.chips.filter{margin-top:0}.chips.filter .chip{cursor:pointer;padding:6px 14px;font-size:15px}.chips.filter .chip.selected{background:var(--ink);color:var(--bg)}.lang-heading{align-items:baseline;gap:8px;margin-top:8px;display:flex}.lang-heading span{text-transform:none;letter-spacing:0;font-size:13px;font-weight:700}.review-word{gap:10px}.review-main{text-align:left;cursor:default;background:0 0;border:none;flex-direction:column;gap:4px;padding:0;display:flex}.review-main[aria-expanded=false]{cursor:pointer}.reveal{color:var(--muted);font-size:15px;font-style:italic}.sources{flex-wrap:wrap;gap:6px;display:flex}.source{background:var(--surface-2);max-width:100%;color:var(--muted);border-radius:999px;align-items:center;gap:6px;padding:3px 10px 3px 3px;font-size:13px;font-weight:700;display:inline-flex}.source img{object-fit:cover;border-radius:50%;flex:none;width:24px;height:24px}.source span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.quiz{flex-direction:column;gap:14px;display:flex}.quiz-progress{color:var(--muted);justify-content:space-between;align-items:center;font-size:14px;font-weight:700;display:flex}.progress{background:var(--surface-2);border-radius:999px;height:6px;overflow:hidden}.progress span{background:var(--primary);height:100%;transition:width .3s;display:block}.quiz-prompt{margin:6px 0;font-size:22px;font-weight:800;line-height:1.35}.blank{border-bottom:3px solid var(--primary);text-align:center;min-width:70px;padding:0 4px;display:inline-block}.blank.filled{color:var(--right);border-color:var(--right)}.choices{flex-direction:column;gap:10px;display:flex}.choice{border:2px solid var(--line);background:var(--surface);text-align:left;border-radius:14px;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:56px;padding:10px 16px;font-size:18px;font-weight:700;display:flex}@media (hover:hover){.choice:hover:not(:disabled){border-color:var(--primary)}}.choice.right{border-color:var(--right);background:var(--right-soft);color:var(--right)}.choice.wrong{border-color:var(--wrong);background:var(--wrong-soft);color:var(--wrong)}.choice.dim{opacity:.5}.feedback{border-radius:14px;flex-direction:column;gap:8px;padding:14px 16px;display:flex}.feedback.right{background:var(--right-soft)}.feedback.right strong{color:var(--right)}.feedback.wrong{background:var(--wrong-soft)}.feedback.wrong strong{color:var(--wrong)}.feedback .button{align-self:stretch;margin-top:4px}.quiz-result{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:28px 20px;display:flex}.quiz-result .score{color:var(--primary);font-size:34px;font-weight:800}@media (width>=600px){.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.lang-heading-row{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.lang-heading-row .section-title{margin-bottom:0}.quiz-words{min-height:42px;padding:0 22px;font-size:17px}.listen-prompt{align-items:center;gap:14px;display:flex}.listen-prompt .quiz-prompt{margin:0}.listen-play{background:var(--primary);width:56px;height:56px;color:var(--on-primary);border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.listen-play:disabled{opacity:.6}.feedback p{white-space:pre-line}.quiz-prompt-block{flex-direction:column;gap:4px;display:flex}.quiz-prompt-block .quiz-prompt{margin:0}.choice>span{flex-direction:column;gap:2px;display:flex}.choice .transcriptions{font-weight:400}.quiz-photo{object-fit:cover;border-radius:var(--radius);background:var(--surface-2);align-self:center;width:60%;max-height:28dvh;margin-top:4px;display:block}.icon-my-words{background-color:currentColor;flex-shrink:0;width:22px;height:22px;display:inline-block;-webkit-mask:url(/icons/my-words.png) 50%/contain no-repeat;mask:url(/icons/my-words.png) 50%/contain no-repeat}.impersonation-bar{padding:calc(6px + var(--safe-top)) var(--gutter) 6px;background:var(--wrong);color:#fff;justify-content:space-between;align-items:center;gap:10px;font-size:14px;font-weight:700;display:flex}.impersonation-bar span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.impersonation-bar .capsule{color:var(--wrong);background:#fff;flex-shrink:0}.sign-in-as-row{gap:8px;display:flex}.sign-in-as-row input{flex:1;min-width:0}.sign-in-as-row .button{min-height:0;padding:0 14px}
