/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:root,:host{--font-sans:"Zen Kaku Gothic New", ui-sans-serif, system-ui, sans-serif;--font-mono:ui-monospace, "SFMono-Regular", "Menlo", monospace;--color-gray-400:oklch(70.7% .022 261.325);--spacing:.25rem;--radius-lg:.5rem;--shadow-sm:0 1px 3px #4a443d0d;--shadow-md:0 6px 24px #4a443d12;--shadow-lg:0 18px 48px #4a443d24;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-page:#faf7f2;--color-page-subtle:#f3eee5;--color-surface:#fff;--color-surface-muted:#f7f3ec;--color-accent:#b3986a;--color-accent-strong:#94794c;--color-accent-soft:#d8c6a4;--color-accent-tint:#b3986a14;--color-accent-border:#b3986a59;--color-secondary:#93a396;--color-secondary-tint:#93a39629;--color-success:#6f9276;--color-success-tint:#6f92761f;--color-success-border:#6f927647;--color-warning:#c0964f;--color-warning-tint:#c0964f1f;--color-danger:#b4544d;--color-text:#4a443d;--color-text-muted:#8b8279;--color-text-on-accent:#fff;--color-border:#4a443d1a;--font-display:"Cormorant Garamond", "Shippori Mincho", "Hiragino Mincho ProN", serif}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}body{min-width:calc(var(--spacing) * 80);background-color:var(--color-page);font-family:var(--font-sans);color:var(--color-text);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}button,input,textarea{font:inherit}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.block{display:block}.flex{display:flex}.grid{display:grid}.h-full{height:100%}.w-full{width:100%}.scale-110{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.gap-0{gap:0}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.bg-gray-400{background-color:var(--color-gray-400)}.bg-surface-muted{background-color:var(--color-surface-muted)}.object-cover{object-fit:cover}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.blur-md{--tw-blur:blur(var(--blur-md));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.saturate-75{--tw-saturate:saturate(75%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}@media (hover:hover){.group-hover\:scale-105:is(:where(.group):hover *){--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-accent:focus{--tw-ring-color:var(--color-accent)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:ring-offset-page:focus{--tw-ring-offset-color:var(--color-page)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}.long-press-button{color:#4a4238;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;background-color:#e8ded4;border:1px solid #d1c4b8;border-radius:8px;width:auto;padding:12px 16px;font-size:14px;font-weight:600;transition:all .2s;position:relative}.long-press-button:hover:not(:disabled){background-color:#ded0c4;border-color:#c4b5a8}.long-press-button:active:not(:disabled){background-color:#d4c2b4}.long-press-button:disabled{opacity:.5;cursor:not-allowed}.long-press-button-active{background-color:#d4c2b4}.long-press-overlay{z-index:10000;pointer-events:none;background-color:#000000b3;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.long-press-ring{filter:drop-shadow(0 0 8px #ffffff80);width:200px;height:200px}.long-press-ring-progress{transition:stroke-dashoffset .1s linear}.long-press-timer{color:#fff;text-shadow:0 0 10px #00000080;font-size:48px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.app-wrapper{background-color:var(--color-page);color:var(--color-text);box-sizing:border-box;min-height:100vh;padding:24px}.app-wrapper-login,.app-wrapper-game{isolation:isolate;position:relative}.app-wrapper-login:before,.app-wrapper-game:before{content:"";z-index:-1;filter:blur(2px);background-image:linear-gradient(#faf7f273,#faf7f299),url(/assets/bg.jpg);background-position:50%;background-repeat:no-repeat;background-size:cover;position:fixed;inset:-20px}.app-wrapper-login .navbar,.app-wrapper-login .join-container{-webkit-backdrop-filter:blur(22px)saturate(150%);background:linear-gradient(135deg,#ffffff9e,#ffffff61);border:1px solid #fff9;box-shadow:0 18px 48px #4a443d24,inset 0 1px #ffffffd9}.app-wrapper-login .navbar{justify-content:center;width:fit-content;margin:0 auto;padding:14px 36px}.app-wrapper-login .join-container{position:relative;overflow:hidden}.app-wrapper-login .join-container:before{content:"";pointer-events:none;background:linear-gradient(#ffffff73,#fff0);height:40%;position:absolute;inset:0 0 auto}.app-wrapper-login .join-container>*{position:relative}.app-wrapper-login .form-input{-webkit-backdrop-filter:blur(6px);background:#ffffff8c;border-color:#ffffffb3}.app-wrapper-login .form-input:focus{background:#ffffffd1}.app-wrapper-login .logo-image{height:64px}.app-container{flex-direction:column;gap:20px;max-width:1280px;margin:0 auto;display:flex}.navbar{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-md);z-index:100;border-radius:12px;justify-content:space-between;align-items:center;padding:18px 26px;display:flex;position:sticky;top:0}.logo-container{align-items:center;gap:12px;display:flex}.logo-icon{color:var(--color-accent)}.logo-image{width:auto;height:36px}.logo-text h1{font-family:var(--font-display);letter-spacing:.12em;color:var(--color-accent-strong);margin:0;font-size:28px;font-weight:600}.logo-text p{color:var(--color-text-muted);text-transform:uppercase;letter-spacing:1.5px;margin:2px 0 0;font-size:10px}.nav-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.status-badge{border-radius:9999px;align-items:center;gap:6px;padding:6px 12px;font-size:13px;font-weight:500;display:flex}.status-badge.connected{background:var(--color-success-tint);color:var(--color-success);border:1px solid var(--color-success-border)}.status-badge.demo{background:var(--color-warning-tint);color:var(--color-warning);cursor:pointer;border:1px solid #c0964f47}.btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.btn-primary{background:var(--color-accent);color:var(--color-text-on-accent);box-shadow:0 2px 8px #b3986a40}.btn-primary:hover{background:var(--color-accent-strong);box-shadow:0 4px 12px #b3986a4d}.btn-secondary{background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border)}.btn-secondary:hover{background:var(--color-surface-muted);border-color:var(--color-accent-border)}.btn-accent{background:var(--color-accent);color:var(--color-text-on-accent);box-shadow:0 4px 12px #b3986a33}.btn-accent:hover{background:var(--color-accent-strong)}.btn-icon{border-radius:8px;padding:8px}.join-container{background:var(--color-surface);border:1px solid var(--color-border);max-width:440px;box-shadow:var(--shadow-md);text-align:center;border-radius:16px;margin:60px auto;padding:36px 28px}.join-title{font-family:var(--font-display);letter-spacing:.06em;color:var(--color-accent-strong);margin-bottom:8px;font-size:26px;font-weight:600}.join-subtitle{color:var(--color-text-muted);margin-bottom:24px;font-size:13px}.form-field{text-align:left;margin-bottom:20px}.form-label{color:var(--color-text-muted);margin-bottom:6px;font-size:13px;font-weight:600;display:block}.form-input{background:var(--color-surface);border:1px solid var(--color-border);width:100%;color:var(--color-text);box-sizing:border-box;border-radius:8px;padding:10px 14px;font-size:15px;transition:all .2s}.form-input:focus{border-color:var(--color-accent);outline:none;box-shadow:0 0 0 3px #b3986a26}.game-dashboard{grid-template-columns:1fr 320px;gap:20px;display:grid}@media (width<=1024px){.game-dashboard{grid-template-columns:1fr}}.game-panel{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-md);border-radius:12px;margin-bottom:20px;padding:20px}.game-panel-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:10px;display:flex}.game-panel-title{font-family:var(--font-display);letter-spacing:.04em;color:var(--color-text);align-items:center;gap:8px;font-size:19px;font-weight:600;display:flex}.room-share-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.score-display{color:var(--color-text);background:linear-gradient(135deg,#ffd70026,#ffa50026);border:1px solid #ffd7004d;border-radius:6px;align-items:center;gap:8px;padding:6px 14px;font-size:14px;font-weight:600;display:flex}.score-display span{font-family:var(--font-mono);letter-spacing:.05em;color:#d4a017;font-size:16px;font-weight:700}.room-id-box{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:13px;display:flex}.room-id-box span{font-family:var(--font-mono);letter-spacing:.08em;color:var(--color-accent-strong);font-weight:700}.hamburger-menu{position:relative}.hamburger-button{border:1px solid var(--color-border);background:var(--color-surface-muted);width:36px;height:36px;color:var(--color-text);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;display:flex}.hamburger-backdrop{z-index:100;position:fixed;inset:0}.hamburger-dropdown{z-index:101;background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-md);border-radius:8px;flex-direction:column;align-items:stretch;gap:10px;min-width:220px;padding:12px;display:flex;position:absolute;top:calc(100% + 8px);right:0}.hamburger-dropdown .room-id-box{white-space:nowrap}.team-members-section{flex-direction:column;gap:8px;display:flex}.team-members-header{color:var(--color-text-muted);padding:0 4px;font-size:12px;font-weight:600}.team-members-list{flex-direction:column;gap:6px;max-height:200px;display:flex;overflow-y:auto}.team-member-item{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:6px;align-items:center;gap:8px;padding:6px 8px;font-size:13px;display:flex}.team-member-color{border:1px solid #0000001a;border-radius:50%;flex-shrink:0;width:12px;height:12px}.team-member-name{flex:1;font-weight:500}.team-member-number{color:var(--color-text-muted);font-size:11px;font-family:var(--font-mono)}.players-avatars{flex-wrap:wrap;align-items:center;gap:-6px;display:flex}.player-bubble{width:32px;height:32px;color:var(--color-text-on-accent);border:2px solid var(--color-surface);border-radius:50%;justify-content:center;align-items:center;margin-left:-6px;font-size:13px;font-weight:700;transition:transform .2s;display:flex;position:relative}.player-bubble:first-child{margin-left:0}.player-bubble:hover{z-index:10;transform:translateY(-4px)}.player-bubble.offline{filter:grayscale(.8)opacity(.4)}.player-online-indicator{background:var(--color-success);border:1.5px solid var(--color-surface);border-radius:50%;width:8px;height:8px;position:absolute;bottom:0;right:0}.tab-bar{border-bottom:1px solid var(--color-border);z-index:90;background:var(--color-page);gap:8px;margin-bottom:20px;padding-top:4px;display:flex;position:sticky;top:98px}.join-container .tab-bar{z-index:1;background:0 0;position:relative;top:auto}.tab{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000;flex:1;justify-content:center;align-items:center;gap:6px;padding:10px 16px;font-size:14px;font-weight:600;transition:all .2s;display:inline-flex}.tab:hover{color:var(--color-text)}.tab-active{color:var(--color-accent-strong);border-bottom-color:var(--color-accent)}.mission-list{flex-direction:column;gap:14px;display:flex}.mission-intro{color:var(--color-text);letter-spacing:.04em;background-color:var(--color-accent-tint);border-left:3px solid var(--color-accent);border-radius:8px;margin:0 0 4px;padding:10px 16px;font-size:13px}.mission-card{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-sm);border-radius:12px;gap:16px;padding:18px 20px;transition:border-color .2s,box-shadow .2s;display:flex}.mission-card:hover{border-color:var(--color-accent-border);box-shadow:var(--shadow-md)}.mission-card-cleared{border-color:var(--color-success-border);background:#eaeee6}.mission-rail{flex-direction:column;flex-shrink:0;align-items:center;gap:8px;width:44px;display:flex}.mission-ordinal{font-family:var(--font-display);letter-spacing:.04em;color:var(--color-accent-strong);font-size:22px;font-weight:600;line-height:1}.mission-card-cleared .mission-ordinal{color:var(--color-success)}.mission-rail-line{background:var(--color-border);flex:1;width:1px}.mission-card-cleared .mission-rail-line{background:var(--color-success-border)}.mission-body{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.mission-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.mission-title{letter-spacing:.02em;color:var(--color-text);margin:0;font-size:16px;font-weight:600}.mission-status{background:var(--color-surface-muted);border:1px solid var(--color-border);color:var(--color-text-muted);border-radius:9999px;flex-shrink:0;align-items:center;gap:4px;padding:4px 10px;font-size:11px;font-weight:500;display:inline-flex}.mission-card-cleared .mission-status{background:var(--color-surface);border-color:var(--color-success-border);color:var(--color-success)}.mission-condition{flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:14px;display:flex}.mission-condition-label{letter-spacing:.08em;background:var(--color-accent-tint);border:1px solid var(--color-accent-border);color:var(--color-accent-strong);border-radius:4px;padding:3px 8px;font-size:11px}.mission-condition-text{color:var(--color-text)}.mission-reward{color:var(--color-text-muted);align-items:center;gap:6px;margin:0;font-size:12px;display:flex}@media (width<=640px){.mission-card{gap:12px;padding:16px}.mission-rail{width:36px}.mission-heading{flex-direction:column;align-items:flex-start;gap:6px}}.tabs-header{grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:20px;display:grid}.tab-item{background:var(--color-surface-muted);border:1px solid var(--color-border);text-align:center;cursor:pointer;border-radius:8px;padding:10px;transition:all .2s}.tab-item.active{background:var(--color-accent-tint);border-color:var(--color-accent);box-shadow:none}.tab-item.solved{background:var(--color-success-tint);border-color:var(--color-success-border)}.tab-num{color:var(--color-text-muted);margin-bottom:2px;font-size:10px;font-weight:700}.tab-title{color:var(--color-text);justify-content:center;align-items:center;gap:4px;font-size:13px;font-weight:600;display:flex}.riddle-body{flex-direction:column;gap:16px;display:flex}.riddle-hint-box{background:var(--color-surface-muted);border-left:4px solid var(--color-accent);border-radius:0 8px 8px 0;padding:14px 16px;font-size:14px;line-height:1.6}.workspace-box{background:var(--color-surface-muted);border:1px dashed var(--color-border);border-radius:8px;justify-content:center;align-items:center;min-height:180px;padding:24px;display:flex}.submission-bar{align-items:center;gap:10px;width:100%;margin-top:12px;display:flex}.solved-card{background:var(--color-success-tint);color:var(--color-success);border:1px solid var(--color-success-border);border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;padding:14px;font-weight:600;display:flex}.cipher-panel{flex-direction:column;align-items:center;gap:20px;width:100%;display:flex}.interactive-wheel{justify-content:center;align-items:center;width:180px;height:180px;margin:10px 0;display:flex;position:relative}.circle-outer{background:var(--color-surface);border:2px solid var(--color-accent);width:180px;height:180px;color:var(--color-accent);border-radius:50%;position:absolute}.circle-inner{background:var(--color-surface-muted);border:2px solid var(--color-secondary);width:120px;height:120px;color:var(--color-accent-strong);border-radius:50%;justify-content:center;align-items:center;transition:transform .4s cubic-bezier(.175,.885,.32,1.15);display:flex;position:absolute}.letter-tick{transform-origin:bottom;text-align:center;width:16px;height:80px;font-size:11px;font-family:var(--font-mono);position:absolute;top:10px}.circle-inner .letter-tick{height:50px;font-size:9px;top:10px}.shift-controller{flex-direction:column;align-items:center;gap:6px;width:100%;max-width:260px;display:flex}.shift-slider{cursor:pointer;width:100%;accent-color:var(--color-secondary)}.translation-box{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:8px;gap:6px;padding:12px;display:flex}.translation-char{background:var(--color-surface-muted);border:1px solid var(--color-border);width:30px;height:52px;font-family:var(--font-mono);border-radius:4px;flex-direction:column;justify-content:center;align-items:center;display:flex}.char-orig{color:var(--color-text-muted);border-bottom:1px solid var(--color-border);text-align:center;width:100%;padding-bottom:2px;font-size:11px}.char-new{color:var(--color-accent-strong);padding-top:2px;font-size:16px;font-weight:700}.bells-panel{flex-direction:column;align-items:center;gap:16px;width:100%;display:flex}.bells-trigger-row{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.bell-button{background:linear-gradient(180deg, var(--color-surface), var(--color-surface-muted));border:1px solid var(--color-border);cursor:pointer;width:56px;height:76px;box-shadow:var(--shadow-md);color:var(--color-text);font-family:var(--font-mono);border-radius:28px 28px 6px 6px;flex-direction:column;justify-content:flex-end;align-items:center;padding-bottom:12px;font-size:13px;font-weight:700;transition:all .15s;display:flex}.bell-button:hover{border-color:var(--color-accent-border);transform:scale(1.05)translateY(-3px)}.bell-button:active,.bell-button.playing{animation:.4s ease-out ringSwing;transform:scale(.95)}@keyframes ringSwing{0%{transform:rotate(0)}25%{transform:rotate(12deg)}50%{transform:rotate(-10deg)}75%{transform:rotate(6deg)}to{transform:rotate(0)}}.btn-g{border-color:#6f927659}.btn-g:hover,.btn-g.playing{background:#6f927633;box-shadow:0 0 12px #6f92764d}.btn-y{border-color:#c0964f59}.btn-y:hover,.btn-y.playing{background:#c0964f33;box-shadow:0 0 12px #c0964f4d}.btn-r{border-color:#bf7e7859}.btn-r:hover,.btn-r.playing{background:#bf7e7833;box-shadow:0 0 12px #bf7e784d}.btn-b{border-color:#7d95a659}.btn-b:hover,.btn-b.playing{background:#7d95a633;box-shadow:0 0 12px #7d95a64d}.btn-o{border-color:#cc946a59}.btn-o:hover,.btn-o.playing{background:#cc946a33;box-shadow:0 0 12px #cc946a4d}.sequence-dots{align-items:center;gap:8px;min-height:16px;margin-top:10px;display:flex}.dot-item{background:var(--color-border);border-radius:50%;width:10px;height:10px;transition:all .2s}.maze-panel{flex-direction:column;align-items:center;gap:16px;width:100%;display:flex}.maze-box{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:10px;grid-template-rows:repeat(5,46px);grid-template-columns:repeat(5,46px);gap:6px;padding:8px;display:grid}.maze-btn{background:var(--color-surface-muted);border:1px solid var(--color-border);cursor:pointer;font-family:var(--font-mono);-webkit-user-select:none;user-select:none;border-radius:6px;justify-content:center;align-items:center;font-size:14px;font-weight:700;transition:all .2s;display:flex}.maze-btn:hover{background:var(--color-page-subtle);border-color:var(--color-accent-border)}.maze-btn.path-active{background:var(--color-secondary-tint);border-color:var(--color-secondary);color:var(--color-text)}.maze-btn.maze-start{border-color:var(--color-accent);background:var(--color-accent-tint)}.maze-btn.maze-goal{border-color:var(--color-success-border);background:var(--color-success-tint)}.maze-info-bar{color:var(--color-text-muted);gap:14px;font-size:12px;display:flex}.vault-panel{flex-direction:column;gap:16px;width:100%;display:flex}.vault-grids{flex-direction:column;gap:14px;display:flex}.vault-item{flex-direction:column;gap:4px;display:flex}.vault-label-row{color:var(--color-text-muted);justify-content:space-between;font-size:12px;display:flex}.vault-label-row span.green{color:var(--color-success);font-weight:700}.vault-input-box{position:relative}.vault-check-icon{position:absolute;top:50%;right:12px;transform:translateY(-50%)}.sidebar-layout{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;flex-direction:column;height:520px;display:flex;overflow:hidden}.sidebar-heading{border-bottom:1px solid var(--color-border);background:var(--color-surface-muted);align-items:center;gap:6px;padding:14px 18px;font-size:15px;font-weight:700;display:flex}.chats-list{flex-direction:column;flex-grow:1;gap:10px;padding:14px;display:flex;overflow-y:auto}.chat-bubble{word-break:break-word;border-radius:8px;max-width:85%;padding:6px 10px;font-size:13px;line-height:1.4}.chat-bubble.bubble-chat{background:var(--color-surface-muted);border:1px solid var(--color-border);align-self:flex-start}.chat-bubble.bubble-me{background:var(--color-accent-tint);border:1px solid var(--color-accent-border);align-self:flex-end}.bubble-author{margin-bottom:2px;font-size:10px;font-weight:700}.bubble-content{color:var(--color-text)}.chat-bubble.bubble-sys{background:var(--color-accent-tint);border:1px solid var(--color-border);color:var(--color-text-muted);text-align:center;box-sizing:border-box;width:100%;max-width:100%;font-style:italic}.chat-form{border-top:1px solid var(--color-border);gap:8px;padding:10px;display:flex}.win-layout{text-align:center;padding:30px 16px}.win-icon{width:64px;height:64px;color:var(--color-accent);margin-bottom:20px}.win-title{font-family:var(--font-display);letter-spacing:.06em;color:var(--color-accent-strong);margin-bottom:6px;font-size:34px;font-weight:600}.win-desc{color:var(--color-text-muted);margin-bottom:28px;font-size:14px}.stats-row{grid-template-columns:repeat(2,1fr);gap:12px;max-width:400px;margin:0 auto 30px;display:grid}.stat-box{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:8px;padding:12px}.stat-lbl{color:var(--color-text-muted);margin-bottom:2px;font-size:11px}.stat-val{color:var(--color-text);font-size:20px;font-weight:700}.guest-board-section{text-align:left;max-width:720px;margin:32px auto 0}.board-title{font-family:var(--font-display);letter-spacing:.06em;text-align:center;color:var(--color-accent);border-bottom:1px solid var(--color-border);margin-bottom:16px;padding-bottom:8px;font-size:22px;font-weight:600}.board-input-box{background:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:8px;flex-direction:column;gap:10px;margin-bottom:24px;padding:16px;display:flex}.board-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;display:grid}.sticky-note{background:linear-gradient(160deg, var(--color-surface), var(--color-surface-muted));border:1px solid var(--color-border);box-shadow:var(--shadow-md);border-radius:8px;padding:14px;transition:transform .2s}.sticky-note:hover{transform:scale(1.02)}.note-msg{color:var(--color-text);white-space:pre-wrap;margin-bottom:10px;font-size:13px;line-height:1.5}.note-foot{color:var(--color-text-muted);justify-content:space-between;align-items:center;font-size:10px;display:flex}.note-author{color:var(--color-accent-strong);font-weight:700}.toast-stack{z-index:2000;pointer-events:none;flex-direction:column;align-items:center;gap:8px;display:flex;position:fixed;top:16px;left:50%;transform:translate(-50%)}.toast{-webkit-backdrop-filter:blur(12px)saturate(160%);color:var(--color-text);box-shadow:var(--shadow-lg);background:#ffffff8c;border:1px solid #fff6;border-radius:9999px;padding:10px 20px;font-size:13px;font-weight:600;animation:.2s ease-out toastSlideIn}@keyframes toastSlideIn{0%{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}.overlay-modal{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:1000;background:#4a443d66;justify-content:center;align-items:center;animation:.15s ease-out modalFadeIn;display:flex;position:fixed;inset:0}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalContentFadeIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.modal-body{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;width:90%;max-width:460px;padding:20px;animation:.18s cubic-bezier(.16,1,.3,1) modalContentFadeIn;box-shadow:0 10px 25px #4a443d12}.photo-modal-body{border:1px solid var(--color-accent-border);background:var(--color-surface);border-radius:16px;flex-direction:column;max-width:90vw;max-height:90vh;animation:.18s cubic-bezier(.16,1,.3,1) modalContentFadeIn;display:flex;position:relative;overflow:hidden auto;box-shadow:0 20px 60px #4a443d12}.photo-modal-body>*{flex-shrink:0}.photo-modal-body img{object-fit:contain;max-width:90vw;max-height:60vh;display:block}.photo-modal-comment{border-left:2px solid var(--color-accent-soft);color:var(--color-text);margin:16px 20px 0;padding-left:12px;font-size:13px;line-height:1.7}.photo-modal-meta{grid-template-columns:auto 1fr;gap:4px 16px;margin:0;padding:16px 20px 20px;display:grid}.photo-modal-meta dt{color:var(--color-text-muted);font-size:12px}.photo-modal-meta dd{color:var(--color-text);margin:0;font-size:13px;font-weight:600}.photo-modal-answer-form{flex-direction:column;gap:8px;padding:16px 20px 20px;display:flex}.photo-modal-answer-row{gap:8px;display:flex}.photo-modal-answer-row .form-input{flex:1}.photo-modal-answer-error{color:var(--color-danger);margin:0;font-size:12px}.photo-modal-close{border:1px solid var(--color-border);width:36px;height:36px;color:var(--color-text);cursor:pointer;background:#ffffffe6;border-radius:9999px;justify-content:center;align-items:center;transition:background .2s;display:flex;position:absolute;top:12px;right:12px}.photo-modal-close:hover{background:var(--color-surface)}.modal-title-row{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.modal-title-row h3{color:var(--color-text);margin:0;font-size:16px}.btn-close{color:var(--color-text-muted);cursor:pointer;background:0 0;border:none}.btn-close:hover{color:var(--color-accent-strong)}.modal-foot-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.owner-content{flex-direction:column;gap:20px;display:flex}.owner-summary,.owner-team-card,.owner-empty{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-md);border-radius:12px}.owner-summary{justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.owner-summary h2{margin:0 0 6px;font-size:20px}.owner-summary p{color:var(--color-text-muted);margin:0;font-size:13px}.owner-summary>span{color:var(--color-accent);white-space:nowrap;font-weight:700}.owner-team-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;display:grid}.owner-team-card{padding:20px}.owner-team-header{border-bottom:1px solid var(--color-border);justify-content:space-between;gap:12px;padding-bottom:16px;display:flex}.owner-team-header p,.owner-team-meta dt{color:var(--color-text-muted);margin:0;font-size:11px}.owner-team-header h3{font-family:var(--font-display);color:var(--color-text);letter-spacing:.04em;margin:4px 0 0;font-size:20px}.owner-online-count{background:var(--color-success-tint);height:fit-content;color:var(--color-success);white-space:nowrap;border-radius:9999px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;display:inline-flex}.owner-team-meta{grid-template-columns:1fr;gap:12px;margin:16px 0;display:grid}.owner-team-meta dd{color:var(--color-text);margin:4px 0 0;font-size:13px}.owner-member-list{flex-direction:column;gap:8px;display:flex}.owner-member-list>p{color:var(--color-text-muted);margin:0;font-size:13px}.owner-member{align-items:center;gap:8px;min-width:0;font-size:13px;display:flex}.owner-member-avatar{border:2px solid var(--color-surface);width:28px;height:28px;color:var(--color-text-on-accent);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:inline-flex}.owner-member-status{color:var(--color-text-muted);margin-left:auto;font-size:11px}.owner-member-status.online{color:var(--color-success)}.owner-empty{color:var(--color-text-muted);flex-direction:column;align-items:center;gap:10px;padding:64px 24px;display:flex}.owner-empty p{margin:0}@media (width<=640px){.owner-summary{flex-direction:column;align-items:flex-start}}.owner-team-action{border-top:1px solid var(--color-border);margin-top:16px;padding-top:16px}.join-container-wide{text-align:left;max-width:760px}.join-container-wide .join-title{text-align:center}.photo-control-form{-webkit-backdrop-filter:blur(22px)saturate(150%);z-index:80;background:linear-gradient(135deg,#ffffff9e,#ffffff61);border:1px solid #fff9;border-radius:12px;margin-bottom:20px;padding:16px;position:sticky;top:158px;box-shadow:0 8px 24px #4a443d1a,inset 0 1px #ffffffd9}.photo-control-area{flex-wrap:wrap;align-items:center;gap:24px;display:flex}.checkbox-container{align-items:center;gap:8px;display:flex}.checkbox-input{cursor:pointer;width:18px;height:18px;accent-color:var(--color-accent)}.checkbox-label{color:var(--color-text);cursor:pointer;-webkit-user-select:none;user-select:none;font-size:14px;font-weight:500}.sort-selector-container{align-items:center;gap:8px;display:flex}.sort-selector-label{color:var(--color-text);white-space:nowrap;font-size:14px;font-weight:500}.sort-selector-select{color:var(--color-text);background-color:var(--color-surface);border:1px solid var(--color-border);cursor:pointer;border-radius:8px;padding:6px 12px;font-family:inherit;font-size:14px;transition:all .2s}.sort-selector-select:hover{border-color:var(--color-accent)}.sort-selector-select:focus{border-color:var(--color-accent);outline:none;box-shadow:0 0 0 3px #8b82791a}.sort-order-toggle{color:var(--color-text);background-color:var(--color-surface);border:1px solid var(--color-border);cursor:pointer;border-radius:8px;min-width:40px;padding:6px 12px;font-size:16px;font-weight:700;transition:all .2s}.sort-order-toggle:hover:not(:disabled){border-color:var(--color-accent);background-color:var(--color-accent-light)}.sort-order-toggle:disabled{opacity:.5;cursor:not-allowed}.photo-modal-footer-actions{align-items:center;gap:12px;padding:16px 20px 20px;display:flex}.photo-modal-footer-actions .long-press-button{flex:auto}.photo-modal-answer-display{background-color:var(--color-surface-muted);border:1px solid var(--color-border);border-radius:8px;margin:16px 20px 0;padding:12px}.photo-modal-answer-display .form-label{color:var(--color-text-secondary);margin-bottom:8px;font-size:13px;font-weight:600;display:block}.answer-display-text{color:var(--color-accent);background-color:var(--color-surface);border-radius:6px;padding:8px;font-size:16px;font-weight:500}.bonus-uploader{flex-direction:column;gap:10px;display:flex}.bonus-uploader-title{letter-spacing:.04em;color:var(--color-text-muted);margin:0;font-size:12px}.bonus-uploader-preview{align-items:center;gap:10px;display:flex}.bonus-uploader-preview img{object-fit:cover;border:1px solid var(--color-border);border-radius:8px;width:56px;height:56px}.bonus-uploader-preview span{color:var(--color-text-muted);font-size:12px}.bonus-uploader-input{display:none}.bonus-uploader-actions{gap:8px;display:flex}.bonus-uploader-error{color:var(--color-danger,#b4524a);margin:0;font-size:12px}.zoom-out-quiz{flex-direction:column;display:flex}.zoom-out-quiz-prompt{border-bottom:1px solid var(--color-accent-border);text-align:center;letter-spacing:.08em;margin:0;padding:14px 20px;font-size:20px;font-weight:600}.zoom-out-quiz-stage{background:var(--color-surface);width:min(90vw,460px);height:min(60vh,460px);position:relative;overflow:hidden}.zoom-out-quiz-image{object-fit:contain;transform-origin:50% 40%;width:100%;height:100%;animation:zoomOutQuizReveal var(--zoom-duration,60s) linear forwards}.zoom-out-quiz-progress{background:var(--color-accent-border);width:0;height:4px;animation:zoomOutQuizProgress var(--zoom-duration,60s) linear forwards;position:absolute;bottom:0;left:0}.zoom-out-quiz-restart{border:none;border-top:1px solid var(--color-accent-border);color:var(--color-text-muted,inherit);cursor:pointer;background:0 0;padding:8px;font-size:12px}@keyframes zoomOutQuizReveal{0%{transform:scale(18)}to{transform:scale(1)}}@keyframes zoomOutQuizProgress{0%{width:0}to{width:100%}}.problem-51{flex-direction:column;justify-content:center;align-items:center;min-height:300px;padding:32px 16px;display:flex}.problem-51-container{text-align:center;width:100%;max-width:500px}.problem-51-image-container{justify-content:center;margin-bottom:24px;display:flex}.problem-51-image{object-fit:contain;max-width:100%;max-height:50vh}.problem-51-instruction{color:var(--color-text);margin-bottom:24px;font-size:16px;font-weight:600}.problem-51-characters{flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;margin-bottom:32px;display:flex}.problem-51-character{width:80px;height:80px;color:var(--color-text);border:2px solid var(--color-accent-border);background:linear-gradient(135deg,#fffc,#ffffff80);border-radius:12px;justify-content:center;align-items:center;font-size:48px;font-weight:700;display:inline-flex;box-shadow:0 4px 12px #0000001a}.problem-51-hint{color:var(--color-text-muted);font-size:14px;line-height:1.6}.problem-51-loading,.problem-51-error{color:var(--color-text-muted);text-align:center;font-size:16px}.problem-51-error{color:#d32f2f}.problem-52{flex-direction:column;justify-content:center;align-items:center;max-height:80vh;padding:32px 16px;display:flex;overflow-y:auto}.problem-52-container{flex-direction:column;gap:32px;width:100%;max-width:600px;display:flex}.problem-52-image-container{justify-content:center;width:100%;display:flex}.problem-52-image-container .problem-52-image{object-fit:contain;width:100%;max-width:100%;max-height:40vh}.problem-52-section{background:var(--color-bg-secondary);border:1px solid var(--color-accent-border);border-radius:16px;padding:24px}.problem-52-title{color:var(--color-text);text-align:center;margin-bottom:16px;font-size:18px;font-weight:600}.problem-52-my-count{justify-content:center;align-items:baseline;gap:8px;display:flex}.problem-52-count-number{color:var(--color-accent);font-size:64px;font-weight:700;line-height:1}.problem-52-count-label{color:var(--color-text-muted);font-size:24px;font-weight:500}.problem-52-team-status{flex-direction:column;gap:12px;display:flex}.problem-52-player{background:var(--color-bg);border:1px solid var(--color-accent-border);border-radius:8px;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.problem-52-player-current{background:var(--color-accent-bg);border:2px solid var(--color-accent)}.problem-52-player-name{font-size:16px;font-weight:600}.problem-52-player-count{color:var(--color-text);font-size:18px;font-weight:700}.problem-52-answer-section{background:var(--color-bg);border:2px solid var(--color-accent);border-radius:16px;padding:24px;box-shadow:0 8px 24px #00000026}.problem-52-answer-reveal{text-align:center}.problem-52-answer{background:var(--color-bg);border:2px solid var(--color-accent);border-radius:12px;justify-content:center;align-items:baseline;gap:8px;padding:16px;display:flex}.problem-52-answer-label{color:var(--color-text-muted);font-size:18px;font-weight:600}.problem-52-answer-value{color:var(--color-accent);font-size:32px;font-weight:700}.problem-52-hint-section{text-align:center;background:var(--color-bg-secondary);border:1px solid var(--color-accent-border);border-radius:12px;padding:20px}.problem-52-hint{color:var(--color-text-muted);margin:0;font-size:14px;line-height:1.6}.problem-52-loading,.problem-52-error{color:var(--color-text-muted);text-align:center;font-size:16px}.problem-52-error{color:#d32f2f}.problem-53{flex-direction:column;justify-content:center;align-items:center;max-height:80vh;padding:32px 16px;display:flex;overflow-y:auto}.problem-53-container{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:600px;display:flex}.problem-53-image-container{justify-content:center;width:100%;margin-bottom:24px;display:flex}.problem-53-image-container .problem-53-image{object-fit:contain;width:100%;max-width:100%;max-height:40vh}.problem-53-main{flex-direction:column;justify-content:center;align-items:center;width:100%;display:flex}.problem-53-shape-button{cursor:pointer;color:var(--color-accent);background:0 0;border:none;justify-content:center;align-items:center;padding:20px;transition:transform .2s;display:flex}.problem-53-shape-button:hover{transform:scale(1.1)}.problem-53-shape-button:active{transform:scale(.95)}.problem-53-clear-section{flex-direction:column;justify-content:center;align-items:center;padding:40px 20px;display:flex}.problem-53-clear-message{text-align:center}.problem-53-clear-text{color:var(--color-accent);margin:20px 0;font-size:48px;font-weight:700}.problem-53-answer-section{background:var(--color-bg);border:2px solid var(--color-accent);border-radius:16px;padding:24px;box-shadow:0 8px 24px #00000026}.problem-53-answer-reveal{text-align:center}.problem-53-answer{justify-content:center;align-items:baseline;gap:8px;padding:16px;display:flex}.problem-53-answer-label{color:var(--color-text-muted);font-size:18px;font-weight:600}.problem-53-answer-value{color:var(--color-accent);font-size:32px;font-weight:700}.problem-53-loading,.problem-53-error{color:var(--color-text-muted);text-align:center;font-size:16px}.problem-53-error{color:#d32f2f}.rose-mark{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.rose-mark-active circle{pointer-events:auto;cursor:pointer}.rose-keyword-modal-body{width:90vw;max-width:420px}.rose-keyword-copy{color:var(--color-accent-strong);background:var(--color-accent-tint);border:1px dashed var(--color-accent);cursor:pointer;border-radius:12px;padding:20px 36px;font-size:40px;font-weight:700}.rose-keyword-copy:active{background:var(--color-accent-soft)}.problem-54{flex-direction:column;gap:24px;max-height:80vh;padding:20px;display:flex;overflow-y:auto}.problem-54-container{flex-direction:column;gap:20px;display:flex}.problem-54-image-container{width:100%;max-width:600px;margin:0 auto}.problem-54-image-container .problem-54-image{border-radius:8px;width:100%;max-width:100%;height:auto;max-height:40vh;box-shadow:0 2px 8px #0000001a}.problem-54-input{align-items:center;gap:12px;width:100%;max-width:500px;margin:0 auto;display:flex}.problem-54-input input{border:2px solid var(--color-border);background:var(--color-card);min-width:0;color:var(--color-text);border-radius:8px;flex:1;padding:12px 16px;font-size:16px}.problem-54-input input:focus{border-color:var(--color-accent);outline:none}.problem-54-input button{background:var(--color-accent);color:#fff;cursor:pointer;border:none;border-radius:8px;padding:12px 24px;font-size:16px;font-weight:600;transition:background .2s}.problem-54-input button:hover{background:var(--color-accent-hover)}.problem-54-input button:active{transform:scale(.98)}.problem-54-hint-wrapper{align-items:center;gap:12px;width:100%;max-width:500px;margin:0 auto;display:flex}.problem-54-hint{background:var(--color-card);border:2px solid var(--color-accent);text-align:center;border-radius:8px;flex:1;padding:16px}.problem-54-help-button{background:var(--color-accent);color:#fff;cursor:pointer;border:none;border-radius:50%;flex-shrink:0;width:40px;height:40px;font-size:20px;font-weight:700;transition:all .2s}.problem-54-help-button:hover{background:var(--color-accent-hover);transform:scale(1.05)}.problem-54-help-button:active{transform:scale(.95)}.problem-54-explanation{background:var(--color-card);border:2px solid var(--color-accent);border-radius:8px;width:100%;max-width:500px;margin:16px auto 0;padding:20px}.problem-54-explanation h3{color:var(--color-accent);text-align:center;margin:0 0 16px;font-size:18px}.problem-54-explanation p{margin:8px 0;line-height:1.6}.problem-54-explanation strong{color:var(--color-accent)}.problem-54-explanation-example{border-top:1px solid var(--color-border);margin-top:16px;padding-top:16px}.problem-54-explanation-example .example-title{color:var(--color-text);margin-bottom:12px;font-weight:600}.problem-54-explanation-example ul{margin:0;padding:0;list-style:none}.problem-54-explanation-example li{border-bottom:1px solid var(--color-border);padding:8px 0}.problem-54-explanation-example li:last-child{border-bottom:none}.attempt-hint{color:var(--color-accent);font-size:20px;font-weight:600}.problem-55{flex-direction:column;justify-content:center;align-items:center;max-height:80vh;padding:32px 16px;display:flex;overflow-y:auto}.problem-55-container{flex-direction:column;align-items:center;gap:32px;width:100%;max-width:600px;display:flex}.problem-55-image-container{justify-content:center;width:100%;display:flex}.problem-55-image-container .problem-55-image{object-fit:contain;border-radius:8px;width:100%;max-width:100%;max-height:35vh;box-shadow:0 2px 8px #0000001a}.problem-55-display{justify-content:center;align-items:center;width:100%;padding:40px;display:flex}.problem-55-letter{color:var(--color-accent);text-align:center;font-size:120px;font-weight:700;line-height:1}.status-display-content{max-width:1200px;margin:0 auto;padding:24px 16px}.status-display-grid{flex-direction:column;gap:16px;display:flex}.status-mission-card{background:var(--color-surface);box-shadow:var(--shadow-md);border-radius:12px;align-items:center;gap:20px;padding:20px;display:flex}.status-mission-header{border-right:2px solid var(--color-surface-muted);flex:none;min-width:160px;padding-right:20px}.status-mission-ordinal{font-family:var(--font-sans);color:var(--color-accent);letter-spacing:.5px;margin-bottom:4px;font-size:22px;font-weight:700;display:inline-block}.status-mission-title{font-family:var(--font-display);color:var(--color-text);margin:4px 0 0;font-size:18px;font-weight:600;line-height:1.4}.status-teams-container{flex:1;align-items:center;min-height:56px;display:flex}.status-teams-grid{flex-wrap:wrap;gap:16px;display:flex}.status-team-item{flex-direction:column;align-items:center;gap:4px;width:64px;display:flex}.status-team-name{color:var(--color-text);white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:12px;font-weight:600;overflow:hidden}.status-team-score{color:var(--color-accent);white-space:nowrap;font-size:16px;font-weight:700}.status-team-icon{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-size:15px;font-weight:700;transition:transform .2s;display:flex;box-shadow:0 2px 6px #0000001a}.status-team-item:hover .status-team-icon{transform:scale(1.1)}.status-mission-card:last-child{border:2px solid var(--color-success);background:linear-gradient(135deg,#f0f9ff 0%,#e0f2fe 100%)}.status-mission-card:last-child .status-mission-ordinal,.status-mission-card:last-child .status-mission-title{color:var(--color-success)}.ranking-content{width:100%;max-width:800px;padding:var(--spacing-lg);gap:var(--spacing-xl);flex-direction:column;margin:0 auto;display:flex}.ranking-section{gap:var(--spacing-md);flex-direction:column;display:flex}.ranking-section-title{font-size:var(--font-size-xl);color:var(--color-text);padding-bottom:var(--spacing-sm);border-bottom:2px solid var(--color-border);margin:0;font-weight:700}.ranking-list{gap:var(--spacing-md);flex-direction:column;display:flex}.ranking-team-card{background-color:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--border-radius-md);align-items:stretch;transition:all .2s;display:flex;overflow:hidden}.ranking-team-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.ranking-team-rank{background:linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);min-width:70px;padding:var(--spacing-lg);justify-content:center;align-items:center;display:flex}.ranking-rank-number{font-size:var(--font-size-xxl);color:#fff;font-weight:700}.ranking-team-info{padding:var(--spacing-lg);gap:var(--spacing-md);flex-direction:column;flex:1;display:flex}.ranking-team-header{align-items:center;gap:var(--spacing-md);display:flex}.ranking-team-icon{width:48px;height:48px;font-weight:700;font-size:var(--font-size-lg);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.ranking-team-name{font-size:var(--font-size-lg);color:var(--color-text);flex:1;font-weight:700}.ranking-team-score{font-size:var(--font-size-xl);color:var(--color-accent);font-weight:700}.ranking-team-members{gap:var(--spacing-sm);flex-wrap:wrap;padding-left:60px;display:flex}.ranking-member-item{align-items:center;gap:var(--spacing-xs);padding:var(--spacing-xs) var(--spacing-sm);background-color:var(--color-background);border-radius:var(--border-radius-sm);display:flex}.ranking-member-avatar{width:24px;height:24px;font-size:var(--font-size-xs);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:700;display:flex}.ranking-member-name{font-size:var(--font-size-sm);color:var(--color-text-secondary)}.ranking-player-card{background-color:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--border-radius-md);align-items:stretch;transition:all .2s;display:flex;overflow:hidden}.ranking-player-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.ranking-player-rank{min-width:60px;padding:var(--spacing-md);background:linear-gradient(135deg,#6366f1 0%,#4f46e5 100%);justify-content:center;align-items:center;display:flex}.ranking-player-info{padding:var(--spacing-md);align-items:center;gap:var(--spacing-md);flex:1;display:flex}.ranking-player-avatar{width:48px;height:48px;font-weight:700;font-size:var(--font-size-lg);color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.ranking-player-details{gap:var(--spacing-xs);flex-direction:column;flex:1;display:flex}.ranking-player-name{font-size:var(--font-size-lg);color:var(--color-text);font-weight:700}.ranking-player-team{font-size:var(--font-size-sm);color:var(--color-text-secondary)}.ranking-player-score{font-size:var(--font-size-xl);color:#6366f1;font-weight:700}@media (width<=640px){.ranking-content{padding:var(--spacing-md)}.ranking-team-rank,.ranking-player-rank{min-width:48px;padding:var(--spacing-sm)}.ranking-rank-number{font-size:var(--font-size-xl)}.ranking-team-header{flex-wrap:wrap}.ranking-team-members{padding-left:0}.ranking-team-icon,.ranking-player-avatar{width:40px;height:40px;font-size:var(--font-size-md)}.ranking-team-name,.ranking-player-name{font-size:var(--font-size-md)}.ranking-team-score,.ranking-player-score{font-size:var(--font-size-lg)}}
