@import url('./native-ui-frames.css');
/* Approved local interface. Real controllers and saved data remain authoritative. */
@font-face{font-family:PixelUI;src:url('/fonts/fusion-pixel/fusion-pixel-12px-proportional-ja.otf.woff2') format('woff2');font-display:swap}
:root{--v2-ink:#262032;--v2-paper:#f9f0f9;--v2-lavender:#dad0f2;--v2-dock:56px;--v2-top:40px}
html body{--bg:#e5d7ef;--surface:#f3e8f5;--raised:#e9def4;--read-bg:#faf2f8;--ink:#262032;--muted:#665574;--edge:#715977;--shadow:#b7a0be;--accent:#8065ba;--accent-ink:#231d32;color:var(--ink);background:#e5d7ef;font-family:PixelUI,'Fusion Pixel',sans-serif;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
html body::before{pointer-events:none}*{scrollbar-width:none}*::-webkit-scrollbar{display:none}input,textarea,[contenteditable=true]{user-select:text;-webkit-user-select:text}
html body :is(button,a,input,select,textarea){-webkit-tap-highlight-color:transparent}html body img{image-rendering:pixelated;-webkit-user-drag:none}
html body :is(button,a).v2-sprite{--v2-size:var(--v2-dock);display:inline-block;position:relative;flex:none;width:var(--v2-size);height:var(--v2-size);min-width:var(--v2-size);min-height:var(--v2-size);max-width:none;padding:0;border:0;border-image:none;background:var(--v2-normal) center/var(--v2-size) var(--v2-size) no-repeat;box-shadow:none;border-radius:0;image-rendering:pixelated;font-size:0;color:transparent;overflow:visible;transform:none;text-decoration:none}
html body :is(button,a).v2-sprite.v2-small{--v2-size:var(--v2-top);width:max(44px,var(--v2-top));height:max(44px,var(--v2-top));min-width:44px;min-height:44px}
html body .v2-sprite>*{display:none}html body .v2-sprite:before,html body .v2-sprite:after{content:none}
html body .v2-sprite:hover{background-image:var(--v2-hover)}html body .v2-sprite:active{background-image:var(--v2-pressed)}html body .v2-sprite:disabled{background-image:var(--v2-disabled);opacity:.7}html body .v2-sprite:focus-visible{outline:3px solid #7955b5;outline-offset:4px}
html body .v2-sprite>img{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:24px;height:16px;pointer-events:none}
html body :is(.pixel-button,.button,.small-action,.fc-home-action,.exercise-category,.category-button,.discovery-card,.dictionary-kana-card,.context-card,.fc-stats>div,.settings-volume,.settings-option,.settings-card,.settings-account-plan,.workshop-choices button,.personality-choices button,.workshop-parts button,.color-channels button,.workshop-environments button,.random-colors,.collection-panel button,.room-choice,.item-card){--frame:url('/assets/interface-v2/pastel-ui/paper-normal.png');border:8px solid transparent;border-image:var(--frame) var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;box-shadow:none;background:transparent;color:var(--ink);border-radius:0;text-shadow:none;image-rendering:pixelated;image-rendering:crisp-edges;}
html body :is(.primary,[aria-pressed=true],.settings-tab[aria-selected=true]){--frame:url('/assets/interface-v2/pastel-ui/mint-normal.png')}
html body :is(button.pixel-button,button.button,.small-action,.fc-home-action,.workshop-choices button,.personality-choices button,.workshop-parts button,.color-channels button,.workshop-environments button,.collection-panel button):hover:not(:disabled){--frame:url('/assets/interface-v2/pastel-ui/lavender-hover.png');background-color:transparent}
html body :is(button.pixel-button,button.button,.workshop-choices button,.personality-choices button):active:not(:disabled){--frame:url('/assets/interface-v2/pastel-ui/lavender-pressed.png')}
html body dialog{color:var(--ink);background:#eee1f3;border:8px solid transparent;border-image:url('/assets/interface-v2/pastel-ui/paper-normal.png') var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;box-shadow:0 8px 0 #57426155;border-radius:0;max-height:calc(100dvh - 24px);image-rendering:pixelated;image-rendering:crisp-edges;}
html body dialog::backdrop{background:#30203d65;backdrop-filter:blur(2px)}
html body :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){background:#fff8fc;color:var(--ink);border-color:#9980aa;border-radius:4px}
html body :is(h1,h2,.study-header h2,.home-name,#fc-total){color:#fff;font-weight:800;text-shadow:2px 0 #30243b,-2px 0 #30243b,0 2px #30243b,0 -2px #30243b,2px 2px #30243b,-2px -2px #30243b,-2px 2px #30243b,2px -2px #30243b}
html body :is(.reading-copy,.context-sentence,.context-romaji,.japanese,.romaji,.french,.dictionary-kanji,.dictionary-word,.discovery-glyph,.dictionary-kana-character,.aligned-word,#flashcard-word,#flashcard-reading,#flashcard-context,#expected-answer,#question-text,.word-reader,.dictionary-reading,.dictionary-detail,.translation-text){font-family:'Noto Sans JP','Yu Gothic',Meiryo,system-ui,sans-serif;image-rendering:auto}
/* Home: one room and four native controls. */
html body[data-home=true]{height:100dvh;overflow:hidden}html body[data-home=true] .app-shell{width:100%;height:100dvh;max-width:none;margin:0;padding:0;border:0;background:none;box-shadow:none}
html body[data-home=true] .app-header{position:fixed;inset:16px 16px auto;z-index:10;padding:0;border:0;background:none;height:44px;pointer-events:none}
html body[data-home=true] .app-header :is(a,button){pointer-events:auto}
html body[data-home=true] .home-account-links{display:none}html body[data-home=true] .home-profile-tools{display:contents}
html body[data-home=true] #home-settings-slot{position:absolute;left:0;top:0}html body[data-home=true] #account-link{position:absolute;right:0;top:0}
html body[data-home=true] #site-language-toggle{display:none}
html body #home-screen{position:fixed;inset:0;display:block;padding:0;margin:0;border:0;max-width:none;background:none;overflow:hidden;isolation:isolate}
html body #home-screen>.menu-options{display:contents}html body #home-screen .home-brand{position:absolute;top:90px;left:50%;transform:translateX(-50%);z-index:2;width:284px;height:76px;margin:0;background:url('/assets/interface-v2/ui/logo-pixelingo-normal.png') center/284px 76px no-repeat;pointer-events:none}
html body #home-screen .home-brand>*{opacity:0}html body #home-screen :is(.home-study-links,.home-legal,.trial-test-tools,#site-language-notice){display:none}
.v2-world-viewport{position:absolute;inset:0;overflow:hidden;touch-action:pan-y}.v2-world{position:absolute;width:2164px;height:1560px;transform-origin:0 0}.v2-world.is-panning{transition:transform .38s cubic-bezier(.2,.7,.2,1)}.v2-map{position:absolute;inset:0;width:2164px;height:1560px}
html body #home-pixelpote{position:absolute;left:714.833px;top:calc(496.333px + var(--map-actor-offset,0px));width:733.333px;height:733.333px;margin:0;padding:0;max-width:none;min-height:0;transform:none;overflow:visible}
html body #home-pixelpote .home-pixelpote-stage{width:100%;height:100%;margin:0;max-width:none;overflow:visible}
html body #home-pixelpote-character{position:absolute;inset:0;width:100%;height:100%;max-width:none;padding:0;margin:0;border:0;background:none;box-shadow:none;overflow:visible;transform:none}
html body #home-pixelpote-character canvas{display:block;width:100%;height:100%;transform:none}
html body #home-pixelpote-bubble{font-size:52px;max-width:900px;min-width:300px;left:50%;top:var(--pp-head-top);border-width:6px;text-align:center;line-height:1.15}
.v2-home-dock{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:0;right:0;display:flex;align-items:center;justify-content:center;gap:16px;z-index:5}
html body #language-options{position:absolute;inset:auto 0 calc(var(--v2-dock) + 48px);z-index:6;display:flex;justify-content:center;gap:12px;margin:0;padding:0;min-height:0}
html body #language-options .language-option{position:relative;display:block;width:56px;height:56px;flex:none;margin:0;padding:0;border:0;background:url('/assets/interface-v2/ui/nav-langue-normal-cadre.png') center/56px no-repeat;box-shadow:none}
html body #language-options .language-option span{position:absolute;inset:0;display:grid;place-items:center;border:0;background:none;padding:0;box-shadow:none}
html body #language-options img{width:24px;height:16px}html body #language-options input{position:absolute;opacity:0;inset:0}
#v2-console-picker{width:100vw;height:100dvh;max-width:none;max-height:none;inset:0;margin:0;padding:0}
#v2-console-picker header{display:flex;align-items:center;gap:24px}#v2-console-picker .console-options{height:calc(100% - 100px);max-width:640px;margin:24px auto 0;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(0,1fr));gap:16px}
#v2-console-picker [data-system]{display:flex;align-items:center;justify-content:start;gap:28px;padding:10px 26px;border:8px solid transparent;border-image:url('/assets/interface-v2/pastel-ui/lavender-normal.png') var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;background:none;box-shadow:none;font-size:28px;text-align:left;image-rendering:pixelated;image-rendering:crisp-edges;}
#v2-console-picker [data-system]>img{width:128px;height:96px;object-fit:contain}#v2-console-picker [data-system] svg,#v2-console-picker [data-system] small{display:none}
/* Full learning pages keep the existing controllers, audio and exercise data. */
html body #vocabulary-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#e5d7ef;overflow:hidden}
html body #vocabulary-dialog .study-shell{height:100%;max-width:none;display:flex;flex-direction:column;padding:0}
html body #vocabulary-dialog .study-header{height:84px;flex:none;display:flex;align-items:center;justify-content:center;padding:12px 72px;background:#e7acae;margin:0;border:0}
html body #study-close{position:absolute;left:16px;top:20px}
html body #vocabulary-dialog .screen-tabs{position:absolute;bottom:20px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:8px;margin:0;height:var(--v2-dock);z-index:5}
html body #vocabulary-dialog .screen-tabs button{min-height:var(--v2-dock);min-width:var(--v2-dock);font-size:0;padding:0}
html body #vocabulary-dialog .study-shell>section{flex:1;min-height:0;overflow:auto;width:100%;max-width:1040px;align-self:center;padding:24px 24px calc(var(--v2-dock) + 44px)}
html body #vocabulary-dialog .exercise-categories{display:grid;gap:16px;max-width:740px;margin:0 auto}
html body #vocabulary-dialog [data-exercise]{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;min-height:110px;padding:8px 16px;gap:20px;border:8px solid transparent;border-image:url('/assets/interface-v2/pastel-ui/mint-normal.png') var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;background:none;box-shadow:none;text-align:left;color:var(--ink);image-rendering:pixelated;image-rendering:crisp-edges;}
html body #vocabulary-dialog [data-exercise=kanji]{border-image-source:url('/assets/interface-v2/pastel-ui/pink-normal.png')}html body #vocabulary-dialog [data-exercise=kana]{border-image-source:url('/assets/interface-v2/pastel-ui/blue-normal.png')}
html body #vocabulary-dialog [data-exercise]:hover{filter:brightness(1.06)}html body #vocabulary-dialog .category-icon{grid-row:1/4;display:grid;place-items:center;padding:0;margin:0;background:none;border:0;box-shadow:none}
html body #vocabulary-dialog .category-icon img{width:96px;height:96px;object-fit:contain;image-rendering:auto}html body #vocabulary-dialog [data-exercise] strong{font-size:28px;font-weight:800}html body #vocabulary-dialog .category-description{display:none}
html body #vocabulary-dialog .fc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}html body #vocabulary-dialog .fc-stats>div:nth-child(1){--frame:url('/assets/interface-v2/pastel-ui/peach-normal.png')}html body #vocabulary-dialog .fc-stats>div:nth-child(2){--frame:url('/assets/interface-v2/pastel-ui/pink-normal.png')}html body #vocabulary-dialog .fc-stats>div:nth-child(3){--frame:url('/assets/interface-v2/pastel-ui/lavender-normal.png')}html body #vocabulary-dialog .fc-stats>div:nth-child(4){--frame:url('/assets/interface-v2/pastel-ui/mint-normal.png')}
html body #vocabulary-dialog .fc-stats :is(dt,dd){font-weight:800;color:var(--ink)}html body .fc-home-action{display:flex;align-items:center;gap:20px;min-height:96px;font-size:26px;font-weight:700}
.fc-home-action>img{width:80px;height:80px;object-fit:contain}html body .fc-home-action:nth-child(2){--frame:url('/assets/interface-v2/pastel-ui/pink-normal.png')}html body .fc-home-action:nth-child(3){--frame:url('/assets/interface-v2/pastel-ui/mint-normal.png')}
html body #settings-dialog{width:min(900px,100vw);height:calc(100dvh - 32px);max-height:none;max-width:100vw;padding:24px;overflow:auto}
html body #settings-dialog .settings-tabs{gap:4px;border:0;position:sticky;top:0;background:#eee1f3;z-index:2}
html body #settings-dialog .settings-tab{border:8px solid transparent;border-image:url('/assets/interface-v2/menus-2026-09-21/tab-lavender.png') 4 fill stretch;background:none;color:var(--ink);min-height:48px;padding:4px 8px}
html body #settings-dialog .settings-tab[aria-selected=true]{border-image-source:url('/assets/interface-v2/menus-2026-09-21/tab-mint.png')}
html body :is(.settings-preference,.settings-volume-row){padding:12px 14px;min-height:64px;background:#f8eff9;border:2px solid #bba3c6;border-radius:6px}
html body #settings-dialog input[type=checkbox]{appearance:none;width:44px;height:26px;flex:none;vertical-align:middle;position:relative;border:3px solid #6e597c;border-radius:6px;background:#cebedc;cursor:pointer}
html body #settings-dialog input[type=checkbox]::after{content:'';display:block;width:16px;height:16px;background:#fff9ff;border:2px solid #6e597c;border-radius:3px;position:absolute;top:2px;left:2px;transition:transform .16s}
html body #settings-dialog input[type=checkbox]:checked{background:#a4ddc1}html body #settings-dialog input[type=checkbox]:checked::after{transform:translateX(18px)}
html body input[type=range]{accent-color:#9676cc}
/* Pixelpote: saved scene coordinates are projected into the new room. */
html body:has(.pp-shell){height:100dvh;overflow:hidden}.pp-shell{--scene-sidebar:0px;--scene-gap:0px}
html body .pp-shell{position:relative;width:100vw;height:100dvh;max-width:none;margin:0;padding:0;overflow:hidden;border:0;background:#daceed;box-shadow:none}
html body .pp-header{position:absolute;inset:16px 16px auto;height:44px;z-index:25;display:flex;align-items:center;justify-content:space-between;padding:0;border:0;pointer-events:none}
html body .pp-header>*{pointer-events:auto}html body .pp-header .back-link>*{display:none}html body .restart-creation{position:absolute;left:56px;font-size:0;width:44px;height:44px;padding:6px}html body .restart-creation .icon{width:24px;height:24px}
html body #home-view{position:absolute;inset:0}html body .home-layout{display:contents}html body .room-section{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:none;overflow:hidden}
html body .room-wrap{position:absolute;width:384px;height:240px;left:var(--world-offset-x);top:var(--world-offset-y);transform:scale(4.1666666667);transform-origin:0 0;border:0;aspect-ratio:auto;max-width:none;overflow:visible;background:none}
html body .room-touch{position:absolute;inset:0;width:384px;height:240px;border:0;padding:0;border-radius:0;overflow:visible;background:none;box-shadow:none}
html body #room-background{position:absolute;width:519.36px;height:374.4px;max-width:none;left:-67.56px;top:var(--map-local-top,-67.12px);object-fit:fill;image-rendering:pixelated}
html body :is(#room-base,#room,#wall-foreground){position:absolute;inset:0;width:384px;height:240px;border:0}
html body .home-status{position:absolute;left:50%;top:20px;transform:translateX(-50%);z-index:4;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px;width:240px;margin:0;padding:8px 14px 12px;border:8px solid transparent;border-image:url('/assets/interface-v2/identity-xp/identity-frame.png') 4 fill stretch;background:none;box-shadow:none;pointer-events:none}
html body #pote-name{font-size:24px;margin:0;text-shadow:none;color:#30233a;line-height:1.1}html body #level{font-size:18px;margin:0;color:#5a476a;white-space:nowrap}
html body #level-progress{grid-column:1/-1;width:100%;height:16px;min-height:0;margin:6px 0 0;background:#d8c5f0;border:3px solid #725688;border-radius:4px;overflow:hidden;box-shadow:none}
html body #level-progress-fill{height:100%;background:#9770c9;box-shadow:inset 0 2px #bda0e7}
html body .wallet{height:48px;min-width:112px;margin-left:auto;padding:6px 12px;border:8px solid transparent;border-image:url('/assets/interface-v2/room-hud/coin-counter.png') 4 fill stretch;background:none;color:#392936;gap:8px;font-size:24px}
html body .wallet .coin-name{display:none}html body .wallet [data-icon]{width:24px;height:24px}
html body .collection-section{position:static;display:contents}html body .collection-nav{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));left:0;right:0;display:flex;justify-content:center;gap:16px;width:auto;padding:0;margin:0;border:0;background:none;z-index:20}
html body .collection-nav .v2-sprite{width:var(--v2-dock);height:var(--v2-dock)}
html body .collection-panel{position:absolute;inset:112px 16px calc(var(--v2-dock) + 48px) auto;width:min(440px,calc(100% - 32px));max-height:none;height:auto;padding:16px;border:8px solid transparent;border-image:url('/assets/interface-v2/pastel-ui/paper-normal.png') var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;background:none;box-shadow:none;overflow:auto;z-index:15;animation:v2-drawer .24s ease-out;image-rendering:pixelated;image-rendering:crisp-edges;}
html body .collection-panel :is(.item-grid,.outfit-grid,.room-grid,.wardrobe-grid,.furniture-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body .collection-panel canvas{width:100%;height:auto;max-height:170px;object-fit:contain;background:none}
html body .collection-panel .collection-tabs{position:sticky;top:0;z-index:2;background:#eee1f3}
html body #decor-tools{position:absolute;z-index:21;left:16px;right:16px;bottom:calc(var(--v2-dock) + 40px);width:auto;margin:0}
html body #bubble{font-size:12px;line-height:1.2;border:1px solid #30243b;padding:4px 6px;max-width:140px;min-width:50px;box-shadow:0 1px #30243b;background:#fff9fc;color:#30243b;border-radius:3px;text-align:center}
html body #bubble::after{border-top-color:#fff9fc}
/* Creator: preview retains its column; only the options scroll. */
html body #creator-view{height:100%;padding:0;overflow:hidden}html body .workshop-layout{display:grid;grid-template-columns:56% 44%;height:100%;gap:0;align-items:stretch}
html body .workshop-preview{position:relative;inset:auto;width:100%;height:100%;padding:0;margin:0;align-self:stretch;background:none;overflow:hidden}
html body .workshop-stage{position:absolute;inset:0;min-width:0;width:100%;height:100%;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:auto;background:none;overflow:hidden;margin:0}
html body .workshop-room{position:absolute;max-width:none;object-fit:fill}html body #creator-sprite{max-width:none;bottom:auto}
html body .workshop-controls{display:flex;flex-direction:column;min-height:0;position:relative;width:100%;height:100%;padding:24px 20px 16px;border:8px solid transparent;border-image:url('/assets/interface-v2/creation-ui/panel-open.png') 8 fill stretch;background:none;z-index:10}
html body #creation-step-title{text-align:center;margin:0 0 12px;font-size:32px;flex:none}
html body #creator-options{flex:1;min-height:0;overflow:auto;padding:4px}html body #creation-error{flex:none;margin:0;font-size:16px}
html body .workshop-navigation{display:flex;flex:none;gap:16px;margin:12px 0 0;height:54px}
html body .workshop-navigation button{width:50%;font-size:23px;font-weight:700;min-height:0;padding:6px;--frame:url('/assets/interface-v2/pastel-ui/lavender-normal.png')}
html body .workshop-navigation #creator-next{--frame:url('/assets/interface-v2/pastel-ui/mint-normal.png')}
html body .workshop-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body .workshop-choices button{min-width:0;display:flex;flex-direction:column;align-items:center;padding:4px;overflow:hidden}
html body .workshop-choices canvas{width:112px;height:96px;object-fit:contain;background:none;max-width:none;max-height:none}
html body .workshop-choices span{font-size:18px;line-height:1.1;background:none!important;padding:4px;color:var(--ink)!important}
html body .hair-choices span{display:none}html body .hair-choices button[aria-pressed=true]{--frame:url('/assets/interface-v2/pastel-ui/mint-normal.png')}
html body .personality-choices{gap:8px}html body .personality-choices button{min-height:64px;padding:8px;gap:8px}html body .personality-choices strong{font-size:23px;font-weight:700}
html body .workshop-parts{margin:0 0 8px;gap:4px}html body .workshop-parts button{padding:3px;font-size:18px;min-height:42px}
html body .color-parts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
html body .color-parts button::before{content:'';display:block;width:48px;height:48px;background:var(--part-icon) center/contain no-repeat;image-rendering:pixelated}
html body [data-color-part=body]{--part-icon:url('/assets/interface-v2/creation-ui/part-body.png')}html body [data-color-part=eyes]{--part-icon:url('/assets/interface-v2/creation-ui/part-eyes.png')}html body [data-color-part=mouth]{--part-icon:url('/assets/interface-v2/creation-ui/part-mouth.png')}html body [data-color-part=hair]{--part-icon:url('/assets/interface-v2/creation-ui/part-hair.png')}html body [data-color-part=accessories]{--part-icon:url('/assets/pixelpotes/glasses/vue-02.png')}
html body .color-channels{gap:4px;margin:8px 0}html body .color-channels button{font-size:17px;min-height:36px;padding:2px}
html body .random-colors{padding:4px;min-height:36px;margin:0 0 8px;font-size:19px}html body .random-colors .icon{width:24px;height:24px}
html body .color-sv{height:clamp(130px,30vh,330px);border:3px solid #725688;border-radius:4px}html body .pixel-color-picker{margin:8px 0}
html body .workshop-environments{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));height:100%;gap:10px}
html body .workshop-environments button{display:grid;grid-template-columns:44% 1fr;align-items:center;gap:12px;padding:4px;min-height:0;height:100%;overflow:hidden}
html body .workshop-environments img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center 55%}html body .workshop-environments span{font-size:23px;font-weight:700}
html body #creator-floating-bubble{background:#fff8fd;color:#342539;border:3px solid #493751;border-radius:5px;box-shadow:0 3px #493751;font-family:PixelUI,sans-serif;font-size:22px;text-align:center}
html body #creator-floating-bubble::after{border-top-color:#fff8fd}
@keyframes v2-drawer{from{transform:translateX(100%);opacity:0}to{transform:none;opacity:1}}
@media(min-width:1200px) and (min-height:700px){:root{--v2-dock:112px;--v2-top:80px}html body[data-home=true] .app-header{inset:24px 28px auto;height:80px}html body #home-screen .home-brand{width:426px;height:114px;background-size:426px 114px;top:116px}html body .v2-sprite>img{width:48px;height:32px}html body #vocabulary-dialog .study-header{height:112px}html body #study-close{top:16px}html body .pp-header{height:80px;inset:24px 28px auto}html body .home-status{width:348px;top:28px;padding:12px 18px}html body #pote-name{font-size:30px}html body #level{font-size:24px}html body #level-progress{height:24px}html body .wallet{font-size:30px;height:64px;min-width:168px}html body .collection-panel{inset:136px 28px 152px auto;width:440px}html body .workshop-controls{padding:40px 32px 24px}html body .personality-choices button{min-height:92px}html body .personality-choices img{width:64px;height:64px}html body .workshop-choices canvas{width:224px;height:192px}html body .workshop-choices button{min-height:180px}}
@media(orientation:portrait){html body .workshop-layout{grid-template-columns:1fr;grid-template-rows:40% 60%}html body .workshop-controls{padding:12px 12px max(12px,env(safe-area-inset-bottom));border-bottom:0}html body #creation-step-title{font-size:28px;margin-bottom:8px}html body .workshop-navigation{height:48px;margin-top:8px}html body .workshop-environments{gap:8px}html body .workshop-environments span{font-size:20px}html body .workshop-environments img{max-height:110px}html body .home-status{top:82px}html body .collection-panel{top:170px}html body .color-sv{height:150px}}
@media(orientation:landscape) and (max-height:600px){html body .v2-home-dock,html body .collection-nav{bottom:12px}html body #home-screen .home-brand{top:12px}html body .home-status{top:12px;width:220px}html body .pp-header{top:12px}html body .collection-panel{top:76px;bottom:82px}html body .workshop-layout{grid-template-columns:48% 52%}html body .workshop-controls{padding:8px 12px}html body #creation-step-title{font-size:26px;margin-bottom:4px}html body .personality-choices button{min-height:52px}html body .workshop-navigation{height:42px;margin-top:6px}html body #vocabulary-dialog .study-header{height:64px}html body #study-close{top:10px}html body #vocabulary-dialog .screen-tabs{bottom:10px}html body #vocabulary-dialog .study-shell>section{padding-top:12px}html body .color-sv{height:130px}}
@media(max-width:600px){html body #vocabulary-dialog .study-shell>section{padding:16px 12px calc(var(--v2-dock) + 42px)}html body #vocabulary-dialog [data-exercise]{grid-template-columns:72px 1fr;gap:12px;min-height:100px;padding:4px 8px}html body #vocabulary-dialog .category-icon img{width:72px;height:72px}html body #vocabulary-dialog [data-exercise] strong{font-size:24px}html body #settings-dialog{height:100dvh;max-height:none;width:100vw;margin:0;padding:12px;border-width:6px}html body #vocabulary-dialog .fc-stats{gap:4px}html body #vocabulary-dialog .fc-stats>div{padding:4px}html body #vocabulary-dialog .fc-stats dt{font-size:17px}html body .fc-home-action{min-height:76px;font-size:23px}html body .fc-home-action>img{width:64px;height:64px}}
@media(prefers-reduced-motion:reduce){html body *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Native buttons are exempt from every stretching frame and legacy grid rule. */
html body :is(button,a).v2-sprite{width:var(--v2-size)!important;height:var(--v2-size)!important;min-width:var(--v2-size)!important;min-height:var(--v2-size)!important;max-width:var(--v2-size)!important;max-height:var(--v2-size)!important;flex:0 0 var(--v2-size)!important;grid-area:auto!important;padding:0!important;border:0!important;border-image:none!important;background:var(--v2-normal) center/var(--v2-size) var(--v2-size) no-repeat!important;box-shadow:none!important;font-size:0!important;color:transparent!important;filter:none!important}
html body :is(button,a).v2-sprite:hover{background-image:var(--v2-hover)!important}html body :is(button,a).v2-sprite:active{background-image:var(--v2-pressed)!important}html body :is(button,a).v2-sprite:disabled{background-image:var(--v2-disabled)!important}
html body #home-pixelpote :is(.home-pixelpote-stage,#home-pixelpote-character,canvas){width:733.333px!important;height:733.333px!important;max-width:none!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important}
html body #vocabulary-dialog .screen-tabs{top:auto!important;bottom:20px;flex-direction:row;align-items:center;padding:0;border:0;background:none}
html body #vocabulary-dialog .study-header h2{width:100%;margin:0;text-align:center;color:#fff}
html body #vocabulary-dialog .study-footer{display:none}
html body #vocabulary-dialog .catalog-heading{display:none}
html body #vocabulary-dialog [data-exercise]{grid-template-rows:auto;min-height:120px;height:auto}
html body #vocabulary-dialog [data-exercise] .category-icon{grid-row:1;grid-column:1}
html body #vocabulary-dialog [data-exercise]>span:last-child{display:none}
html body #vocabulary-dialog [data-exercise]>span:nth-child(2){grid-column:2;grid-row:1}
html body .v2-small[data-sprite^=nav-]{--v2-size:56px!important}
html body .v2-small[data-sprite^=action-]{--v2-size:40px!important;margin:8px}
@media(min-width:1200px) and (min-height:700px){html body .v2-small[data-sprite^=nav-]{--v2-size:112px!important}html body .v2-small[data-sprite^=action-]{--v2-size:80px!important;margin:16px}}
html body #vocabulary-dialog .screen-tabs .v2-sprite{margin:0}
html body:has(.pp-shell){margin:0!important;padding:0!important;width:100vw!important}
html body .room-section{box-shadow:none!important}html body .room-wrap{box-shadow:none!important}
html body .wallet{border:14px solid transparent;border-image:url('/assets/interface-v2/room-hud/coin-counter.png') 7 fill stretch;background:none;box-shadow:none;color:#392936}
html body .restart-creation .restart-label{display:none!important}html body .pp-header .restart-creation{left:calc(var(--v2-top) + 20px);width:36px;min-width:36px;min-height:36px;height:36px;padding:4px}
html body .collection-panel :is(.owned-clothes,.room-choices){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html body .collection-panel :is(.owned-clothes button,.outfit-choice,.room-choice,.item-card){min-width:0;min-height:128px;padding:8px}
html body .collection-panel .owned-clothes canvas{background:none}
html body #level-progress{border-image:none}
html body .dex-tile{border:6px solid transparent;border-image:url('/assets/interface-v2/pastel-ui/paper-normal.png') var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;background:none;color:var(--ink);box-shadow:none;image-rendering:pixelated;image-rendering:crisp-edges;}
html body #vocabulary-dialog .dex-tile-character{color:var(--ink);font-family:'Yu Gothic',Meiryo,system-ui,sans-serif}
html body #vocabulary-dialog .dex-tile-meaning{color:#665574;font-family:system-ui,sans-serif}
html body .discovery-entry:not(.is-locked) .dex-tile-number:after{content:'';float:right;width:6px;height:6px;margin:6px 0;border-radius:50%;background:#63b991}
@media(hover:none){html body #vocabulary-dialog .dex-tile:is(:hover,:active){transform:none;background:none;border-image-source:url('/assets/interface-v2/pastel-ui/paper-normal.png');box-shadow:none}}
html body .v2-room-settings{position:absolute!important;left:64px;top:0}
html body .pp-header .restart-creation{left:130px}
@media(min-width:1200px) and (min-height:700px){html body .v2-room-settings{left:120px}html body .pp-header .restart-creation{left:238px}}
html body .dex-load-more{height:2px;width:100%;pointer-events:none}
/* Cards are already appended in batches. Skipping their layout here makes the
   theme adapter force a separate layout for each offscreen card and gives the
   scroll container an estimated height that changes on reveal. */
html body .discovery-entry{content-visibility:visible;contain-intrinsic-size:none}
html body :is(h1,h2){color:var(--ink);text-shadow:none}
html body :is(#quiz-heading,#settings-heading,#creation-step-title,#v2-console-picker h2,.dialog-heading>h2){color:#fff;font-weight:800;text-shadow:2px 0 #30243b,-2px 0 #30243b,0 2px #30243b,0 -2px #30243b,2px 2px #30243b,-2px -2px #30243b,-2px 2px #30243b,2px -2px #30243b}
html body #vocabulary-dialog .study-shell{padding-bottom:calc(var(--v2-dock) + 40px)}
html body #vocabulary-dialog .study-shell>section{padding-bottom:24px}
html body #vocabulary-dialog .screen-tabs:before{content:'';position:absolute;inset:-12px 0 -20px;background:#d6c3e7;border-top:2px solid #b99dcf;z-index:-1}
html body .v2-study-settings{position:absolute!important;right:16px;top:16px}
html body .v2-sprite>.v2-letter{display:grid;place-items:center;position:absolute;inset:0;font:bold 32px/1 'Yu Gothic',Meiryo,system-ui,sans-serif;color:#fff;-webkit-text-stroke:1px #2b2234;paint-order:stroke fill}
@media(min-width:1200px) and (min-height:700px){html body .v2-sprite>.v2-letter{font-size:64px;-webkit-text-stroke:2px #2b2234}}
html body #vocabulary-dialog .dex-tile{border:6px solid transparent;border-image:url('/assets/interface-v2/pastel-ui/paper-normal.png') var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;background:none;box-shadow:none;image-rendering:pixelated;image-rendering:crisp-edges;}
html body :is(#discovery-detail,#vocabulary-dialog){--dex-green:#477b67;--dex-paper:#edf2d7;--dex-print:#263c35}
html body :is(.dex-panel,.dex-character-screen,.dex-button){border:8px solid transparent;border-image:url('/assets/interface-v2/pastel-ui/paper-normal.png') var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;background:none;box-shadow:none;color:var(--ink);image-rendering:pixelated;image-rendering:crisp-edges;}
html body .dex-character-screen{border-image-source:url('/assets/interface-v2/pastel-ui/mint-normal.png')}
html body .dex-reading-chip,html body .dex-form-chip{font-family:'Yu Gothic',Meiryo,system-ui,sans-serif;color:#3d4650}
html body .dex-panel summary{cursor:pointer}html body .dex-panel summary h2{display:inline-flex;margin:0}
html body .dex-french{font-family:system-ui,sans-serif;color:var(--ink)}
html body .v2-map-loading{display:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:30;padding:12px 16px;background:#f7edf8;border:3px solid #7b608c;color:#38283f}
html body[data-room-loading]:not([data-room-loading='']) .v2-map-loading{display:block}
html body button[aria-pressed=true]:hover{--frame:url('/assets/interface-v2/pastel-ui/mint-hover.png')}
html body .account-card,html body .account-plan,html body .offer-card{border:8px solid transparent;border-image:url('/assets/interface-v2/pastel-ui/paper-normal.png') var(--native-frame-slice,4) fill / var(--native-frame-corner,8px) / 0 repeat;background:none;box-shadow:none;color:var(--ink);image-rendering:pixelated;image-rendering:crisp-edges;}
html body .account-card h1{color:#fff;text-shadow:2px 0 #30243b,-2px 0 #30243b,0 2px #30243b,0 -2px #30243b}
html body [hidden]{display:none!important}
