@import url(https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Atkinson+Hyperlegible:wght@400;700&family=Rubik:wght@400;500;600;700&display=swap);*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }
/* ! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com */*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}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{text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-right-3{right:-.75rem}.-top-3{top:-.75rem}.right-2{right:.5rem}.right-4{right:1rem}.top-\[108px\]{top:108px}.z-40{z-index:40}.mb-2{margin-bottom:.5rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-6{height:1.5rem}.h-8{height:2rem}.w-10{width:2.5rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-80{width:20rem}.max-w-\[85vw\]{max-width:85vw}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.place-items-center{place-items:center}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-l-full{border-bottom-left-radius:9999px;border-top-left-radius:9999px}.rounded-r-2xl{border-bottom-right-radius:1rem;border-top-right-radius:1rem}.border{border-width:1px}.border-amber-300{--tw-border-opacity:1;border-color:#fcd34d;border-color:rgb(252 211 77/var(--tw-border-opacity,1))}.border-amber-400{--tw-border-opacity:1;border-color:#fbbf24;border-color:rgb(251 191 36/var(--tw-border-opacity,1))}.border-white\/20{border-color:#fff3}.bg-amber-100\/95{background-color:#fef3c7f2}.bg-amber-300\/90{background-color:#fcd34de6}.bg-slate-900{--tw-bg-opacity:1;background-color:#0f172a;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.bg-white\/15{background-color:#ffffff26}.object-contain{object-fit:contain}.p-4{padding:1rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pr-1{padding-right:.25rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-extrabold{font-weight:800}.font-semibold{font-weight:600}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.text-slate-800{--tw-text-opacity:1;color:#1e293b;color:rgb(30 41 59/var(--tw-text-opacity,1))}.text-slate-900{--tw-text-opacity:1;color:#0f172a;color:rgb(15 23 42/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:#fff;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow-2xl{--tw-shadow:0 25px 50px -12px #00000040;--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-2xl,.shadow-lg{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0 1px 2px 0 #0000000d;--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-sm,.shadow-xl{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color)}.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)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}*{box-sizing:border-box;margin:0;padding:0}body,html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#f0f9ff,#e6fffa);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;height:100%;overflow-x:hidden}#root{display:flex;flex-direction:column;height:100%}button,input,select,textarea{background:none;border:none;font-family:inherit;font-size:inherit;outline:none}ol,ul{list-style:none}a{color:inherit;text-decoration:none}[role=button],button{cursor:pointer}[role=button]:disabled,button:disabled{cursor:not-allowed;opacity:.6}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #4caf50;outline-offset:2px}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.visually-hidden{clip:rect(0,0,0,0)!important;border:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}.hover\:scale-105:hover{--tw-scale-x:1.05;--tw-scale-y:1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:bg-amber-300:hover{--tw-bg-opacity:1;background-color:#fcd34d;background-color:rgb(252 211 77/var(--tw-bg-opacity,1))}.hover\:bg-white\/25:hover{background-color:#ffffff40}.active\:scale-95:active{--tw-scale-x:.95;--tw-scale-y:.95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width:768px){.md\:h-11{height:2.75rem}.md\:w-11{width:2.75rem}}.next-button{border:none;border-radius:9999px;box-shadow:0 6px 20px #00000026;cursor:pointer;display:inline-flex;font-family:Fredoka,sans-serif;font-family:var(--font-ui,"Fredoka",sans-serif);font-weight:600;justify-content:center;overflow:hidden;transform:translateY(0);transition:all .2s cubic-bezier(.4,0,.2,1);-webkit-user-select:none;user-select:none}.button-content,.next-button{align-items:center;position:relative}.button-content{display:flex;gap:8px;z-index:1}.button-text{font-size:inherit}.arrow-icon{align-items:center;display:flex;transition:transform .3s ease}.next-button.primary{animation:buttonPulse 2s ease-in-out infinite;background:linear-gradient(90deg,#f59e0b,#f97316);color:#fff}@keyframes buttonPulse{0%,to{transform:scale(1)}50%{transform:scale(1.03)}}.next-button.primary:hover:not(.disabled){animation:none;background:linear-gradient(90deg,#fbbf24,#fb923c);box-shadow:0 8px 24px #f59e0b80,0 0 20px #f59e0b4d;transform:scale(1.05)}.next-button.primary:hover:not(.disabled) .arrow-icon{transform:translateX(4px)}.next-button.primary:active:not(.disabled){box-shadow:0 4px 12px #f59e0b4d;transform:scale(.95)}.next-button.secondary{background:linear-gradient(135deg,#95a5a6,#7f8c8d);color:#fff}.next-button.secondary:hover{background:linear-gradient(135deg,#bdc3c7,#95a5a6);box-shadow:0 6px 20px #00000026;transform:translateY(-2px)}.next-button.secondary:hover .arrow-icon{transform:translateX(4px)}.next-button.secondary:active{box-shadow:0 2px 8px #00000026;transform:translateY(0)}.next-button.normal{font-size:18px;min-height:48px;min-width:120px;padding:12px 24px}.next-button.large{font-size:24px;min-height:64px;min-width:160px;padding:16px 32px}.next-button.disabled{background:#bdc3c7!important;color:#7f8c8d!important;cursor:not-allowed}.next-button.disabled,.next-button.disabled:hover{box-shadow:0 2px 8px #0000001a!important;transform:none!important}.next-button.disabled .arrow-icon{transform:none!important}.next-button.loading{cursor:wait}.next-button.loading .button-text{opacity:.7}.spinner{animation:spin 1s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:20px;width:20px}.next-button:focus-visible{outline:3px solid #f39c12;outline-offset:4px}.next-button:before{background:#ffffff4d;border-radius:50%;content:"";height:0;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s;width:0;z-index:0}.next-button:active:before{height:300px;width:300px}@media (max-width:767px){.next-button.large{font-size:20px;min-height:56px;min-width:140px;padding:14px 28px}.next-button.normal{font-size:16px;min-height:44px;min-width:100px;padding:10px 20px}}@media (prefers-contrast:high){.next-button.primary{background:#2c3e50;border:2px solid #fff}.next-button.primary:hover{background:#34495e}.next-button.secondary{background:#7f8c8d;border:2px solid #fff}.next-button.secondary:hover{background:#95a5a6}}@media (prefers-reduced-motion:reduce){.arrow-icon,.next-button,.spinner{animation:none;transition:none}.next-button:hover{transform:none}.next-button:before{display:none}}.chapter-summary-content{margin:0 auto;max-width:800px;padding:1rem;width:100%}.lab-report{background:linear-gradient(135deg,#f5f5f5,#e8e8e8);border:2px solid #444;border-radius:10px;box-shadow:0 8px 16px #0000004d}.lab-report-header{background:linear-gradient(90deg,#2c3e50,#34495e);border-bottom:3px solid #1a252f;border-radius:8px 8px 0 0;color:#fff;padding:1.2rem}.lab-report-title{align-items:center;display:flex;font-family:Courier New,monospace;font-size:1.3rem;font-weight:700;gap:.75rem;justify-content:center;letter-spacing:1px;text-transform:uppercase}.title-icon{animation:pulse 2s infinite;font-size:1.5rem}.lab-report-body{font-family:Courier New,monospace;padding:1.5rem}.experiment-log{background:#fff;border:1px solid #ccc;border-radius:5px;box-shadow:inset 0 2px 4px #0000001a;padding:1.5rem}.log-header{border-bottom:2px dashed #7f8c8d;color:#2c3e50;font-size:1.1rem;font-weight:700;margin-bottom:1.5rem;padding-bottom:.75rem;text-align:center;text-transform:uppercase}.report-section{margin-bottom:1rem}.report-line{border-bottom:1px dotted #ddd;display:flex;gap:1rem;padding:.5rem 0}.report-label{color:#34495e;font-size:.9rem;font-weight:700;min-width:140px;text-transform:uppercase}.report-value{color:#2c3e50;flex:1 1;font-size:.95rem}.report-value.cards-list{font-style:italic}.experiment-footer{border-top:2px dashed #7f8c8d;margin-top:1.5rem;padding-top:1rem;text-align:center}.status-stamp{background:#27ae60;border-radius:3px;box-shadow:0 2px 4px #0003;color:#fff;display:inline-block;font-size:.9rem;font-weight:700;letter-spacing:1px;margin-bottom:.75rem;padding:.5rem 1rem;text-transform:uppercase}.scientist-note{color:#555;font-size:.9rem;font-style:italic;margin-top:.5rem;padding:0 1rem}@media (max-width:576px){.chapter-summary-content{padding:.5rem}.lab-report-title{font-size:1.1rem}.report-line{flex-direction:column;gap:.25rem}.report-label{min-width:auto}}.demo-completed-content{align-items:center;display:flex;justify-content:center;margin:0 auto;max-width:800px;min-height:400px;padding:2rem 1rem;width:100%}.demo-completed-card{background:linear-gradient(135deg,#f5f5f5,#e8e8e8);border:2px solid #444;border-radius:10px;box-shadow:0 8px 16px #0000004d;padding:2rem;width:100%}.demo-completed-header{border-bottom:3px solid #34495e;margin-bottom:2rem;padding-bottom:1.5rem;text-align:center}.demo-completed-header h2{color:#2c3e50;font-size:1.5rem;font-weight:700;margin-bottom:.75rem}.demo-completed-header .subtitle{color:#555;font-size:1.1rem;font-style:italic}.demo-completed-questions{margin:2rem 0}.question-section{margin-bottom:2rem}.question-text{color:#2c3e50;font-size:1.1rem;font-weight:500;margin-bottom:1rem}.radio-group{display:flex;gap:1rem;justify-content:center}.radio-option{font-size:1rem;justify-content:center;min-width:100px;padding:.75rem 1.5rem}.radio-option input[type=radio]{cursor:pointer;height:18px;width:18px}.radio-option span{color:#2c3e50}.demo-completed-actions{margin-top:2rem;text-align:center}.submit-button{background:linear-gradient(90deg,#3498db,#2980b9)}.submit-button:hover:not(:disabled){background:linear-gradient(90deg,#2980b9,#21618c)}.thank-you-card.final{background:linear-gradient(135deg,#f5f5f5,#e8e8e8);border:2px solid #444;border-radius:10px;box-shadow:0 8px 16px #0000004d;padding:3rem 2rem;text-align:center;width:100%}.thank-you-card.final h2{color:#27ae60;font-size:1.6rem;font-weight:700;margin-bottom:1.5rem}.thank-you-card.final p{color:#2c3e50;font-size:1.1rem;line-height:1.6;margin-bottom:1rem}.thank-you-card.final .closing-message{color:#555;font-size:1rem;font-style:italic;margin-top:1.5rem}@media (max-width:576px){.demo-completed-content{padding:1rem .5rem}.demo-completed-card{padding:1.5rem}.demo-completed-header h2{font-size:1.3rem}.demo-completed-header .subtitle,.question-text{font-size:1rem}.radio-group{flex-direction:row;gap:.75rem}.radio-option{font-size:.95rem;min-width:80px;padding:.5rem 1rem}.submit-button{font-size:1rem;padding:.75rem 2rem}.thank-you-card.final{padding:2rem 1.5rem}.thank-you-card.final h2{font-size:1.3rem}.thank-you-card.final p{font-size:1rem}}.typing-animation{color:inherit;display:inline-block;font-family:inherit;font-size:inherit}.typing-text{white-space:pre-wrap;word-break:break-word}.typing-cursor{color:currentColor;display:inline-block;font-weight:700;margin-left:2px}.card-game-container{background-color:#f8f9fa;bottom:0;box-shadow:0 -2px 10px #0000001a;display:flex;flex-direction:column;height:260px;left:0;padding:20px;position:absolute;right:0;transition:transform .4s ease-out,opacity .4s ease-out;z-index:100}.card-game-container.hidden{opacity:0;pointer-events:none;transform:translateY(100%)}.card-game-container.visible{animation:slideUp .4s ease-out;opacity:1;transform:translateY(0)}.deck-info{margin-bottom:10px}.deck-info,.game-controls-container{align-items:center;display:flex;justify-content:space-between}.game-controls-container{height:100%;width:100%}.discard-pile,.draw-pile{align-items:center;background-color:#ffffffb3;border-radius:8px;display:none;margin:0 5px;padding:5px 10px}.card-stack{align-items:center;border:2px dashed #ccc;border-radius:10px;display:flex;height:100px;justify-content:center;margin-right:10px;overflow:hidden;position:relative;width:70px}.pile-info{align-items:flex-start;display:flex;flex-direction:column}.pile-info h4{font-size:14px;font-weight:700;margin:0}.pile-count{font-size:12px;margin-top:2px}.card-stack:empty:before{color:#999;content:"Empty";font-size:12px;font-style:italic}.card-back-stack{background-color:#f4f4f4;border-radius:8px;box-shadow:0 1px 2px #0000001a;height:100%;position:relative;width:100%}.draw-pile .card-stack{border-color:#90caf9}.discard-pile .card-stack{border-color:#ffcc80}.draw-pile .card-back-stack{background-color:#e1f5fe}.discard-pile .card-back-stack{background-color:#ffecb3}.draw-pile .card-back-stack:before{background-image:linear-gradient(45deg,#0000000d 25%,#0000 0,#0000 50%,#0000000d 0,#0000000d 75%,#0000 0,#0000);background-size:10px 10px;border-radius:10px;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.pile-count{color:#666;font-size:14px}.hand-container{flex:1 1;overflow-y:hidden}.hand,.hand-container{align-items:center;display:flex;justify-content:center;width:100%}.hand{height:230px;max-width:1100px;overflow-x:auto;padding:10px 0;scrollbar-width:thin}.hand::-webkit-scrollbar{height:4px}.hand::-webkit-scrollbar-thumb{background-color:#0003;border-radius:4px}.card{cursor:pointer;flex-shrink:0;height:210px;margin:0 8px;position:relative;transition:transform .3s,box-shadow .3s;width:140px}.card:hover{box-shadow:0 8px 16px #00000030,0 4px 4px #0000003b}.card.flipped,.card:hover{transform:translateY(-8px)}.card.selected{box-shadow:0 10px 20px #00000040,0 8px 8px #00000038;transform:translateY(-12px) scale(1.05);z-index:10}.card-inner{box-shadow:0 4px 8px #0000001a;position:relative}.card-back,.card-front,.card-inner{border-radius:10px;height:100%;width:100%}.card-back,.card-front{align-items:center;display:flex;flex-direction:column;justify-content:center;left:0;overflow:hidden;position:absolute;top:0}.card-front{background-color:#fff;position:relative}.modifier-badge{background:linear-gradient(135deg,#7c4dff,#651fff);border-radius:8px;box-shadow:0 2px 4px #7c4dff66;color:#fff;font-size:10px;font-weight:800;padding:3px 6px;position:absolute;right:6px;top:6px;z-index:5}.card-back{background-color:#f8f9fa;opacity:0;padding:15px;text-align:center;transition:opacity .3s}.card.flipped .card-back{opacity:1}.card.flipped .card-front{opacity:0}.card-back h3{color:#333;font-size:16px;margin-bottom:12px;margin-top:0}.card-instruction{color:#666;font-size:14px;font-style:italic;margin:0}.card-description{color:#444;font-size:13px;line-height:1.5;margin:8px 0;padding:0 8px}.card-consequences{display:flex;flex-direction:column;gap:4px;margin-bottom:6px}.card-consequence-text{border-radius:4px;font-size:11px;font-weight:600;margin:0;padding:3px 6px}.card-consequence-text.positive{background:#7c4dff26;color:#7c4dff}.card-consequence-text.negative{background:#d843151f;color:#d84315}.card-image{height:auto;object-fit:contain;width:100%}.card-transition-enter{opacity:0;transform:translateY(20px)}.card-transition-enter-active{opacity:1;transform:translateY(0);transition:opacity .5s,transform .5s}.card-transition-exit{opacity:1}.card-transition-exit-active{opacity:0;transform:translateY(-20px) scale(.8);transition:opacity .5s,transform .5s}.card-to-discard{animation:moveToDiscard .6s ease-in forwards;pointer-events:none;z-index:5}.card-to-play{animation:moveToPlay .6s ease-in-out forwards;pointer-events:none;z-index:10}.chaos-card{position:relative}.chaos-card:after{background-color:#ff4081;border-radius:4px;box-shadow:0 1px 3px #0003;color:#fff;content:"CHAOS";font-size:9px;font-weight:700;padding:2px 4px;position:absolute;right:5px;top:5px;transform:rotate(5deg);z-index:5}.card-shake{animation:shakeCard .6s ease-in-out forwards;pointer-events:none;z-index:10}@keyframes moveToDiscard{0%{opacity:1;transform:translateY(0) scale(1) rotate(0deg)}to{opacity:0;transform:translateY(-100px) translateX(calc(100vw - 150px)) scale(.7) rotate(15deg)}}@keyframes moveToPlay{0%{opacity:1;transform:translateY(0) scale(1)}40%{opacity:1;transform:translateY(-50px) scale(1.1);z-index:100}to{opacity:1;transform:translateY(0) translateX(-40%) scale(1);z-index:100}}@keyframes shakeCard{0%{transform:translateY(0) scale(1) rotate(0deg)}10%{transform:translateY(-10px) scale(1.1) rotate(-5deg)}20%{transform:translateY(-15px) scale(1.15) rotate(5deg)}30%{transform:translateY(-10px) scale(1.1) rotate(-3deg)}40%{transform:translateY(-5px) scale(1.05) rotate(3deg)}50%{transform:translateY(0) scale(1) rotate(0deg)}60%{opacity:1;transform:translateY(-100px) translateX(calc(100vw - 150px)) scale(.7) rotate(15deg)}to{opacity:0;transform:translateY(-100px) translateX(calc(100vw - 150px)) scale(.7) rotate(15deg)}}.action-panel{animation:fadeIn .2s ease-out;background-color:#f9f9f9;border-radius:8px;box-shadow:inset 0 0 5px #0000001a;display:flex;flex-direction:row;height:100%;overflow:hidden;padding:15px;width:100%}.selected-card-display{align-items:center;border-right:1px solid #e0e0e0;display:flex;flex-direction:column;flex-shrink:0;padding-right:15px;width:120px}.selected-card-image{border-radius:8px;box-shadow:0 2px 4px #0000001a;height:auto;margin-bottom:10px;width:100px}.card-info{align-items:center;display:flex;flex-direction:column;text-align:center}.card-info h3{font-size:16px;margin:0 0 5px}.card-info p{color:#666;font-size:12px;margin:0}.suggested-phrases{display:flex;flex:1 1;flex-direction:column;margin-left:15px;min-height:0}.suggested-phrases h4{color:#333;flex-shrink:0;font-size:16px;margin-bottom:10px;margin-top:0}.suggested-phrases ul{animation:fadeInUp .3s ease-out forwards;display:flex;flex-wrap:wrap;gap:8px;list-style-type:none;margin:0 0 15px;max-height:80px;overflow-x:hidden;overflow-y:auto;padding:0 5px 0 0;scrollbar-color:#0003 #0000;scrollbar-width:thin}.suggested-phrases ul::-webkit-scrollbar{width:6px}.suggested-phrases ul::-webkit-scrollbar-track{background:#0000000d;border-radius:3px}.suggested-phrases ul::-webkit-scrollbar-thumb{background:#0003;border-radius:3px}.suggested-phrases ul::-webkit-scrollbar-thumb:hover{background:#0000004d}.suggested-phrases li{background-color:#fff;border:1px solid #e0e0e0;border-radius:20px;box-shadow:0 1px 3px #0000001a;color:#555;cursor:pointer;display:inline-block;font-size:13px;max-width:100%;overflow:hidden;padding:6px 12px;text-overflow:ellipsis;transition:all .2s;white-space:nowrap}.suggested-phrases li:hover{background-color:#f5f5f5;box-shadow:0 2px 5px #00000026;transform:translateY(-2px)}.suggested-phrases li.selected{animation:pulseSelected 1.5s ease-in-out infinite;background-color:#e3f2fd;border:1px solid #2196f3;box-shadow:0 2px 5px #2196f333;color:#0d47a1;font-weight:500}@keyframes pulseSelected{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.custom-phrase{align-items:center;background-color:#fff;border:1px solid #ddd;border-radius:5px;display:flex;gap:0;margin-bottom:10px;overflow:hidden}.custom-phrase-prefix{align-items:center;color:#333;display:flex;flex-shrink:0;font-size:13px;font-weight:500;height:36px;padding:0 8px 0 10px;white-space:nowrap}.custom-phrase input{background:#0000;border:none;flex:1 1;font-size:13px;height:36px;outline:none;padding:8px}.tutorial-typing-container{align-items:center;color:#333;display:flex;flex:1 1;font-size:13px;height:36px;padding:8px}.action-controls{display:flex;justify-content:flex-end;margin-top:auto}.submit-action-btn{background-color:#4caf50;border:none;border-radius:5px;box-shadow:0 2px 4px #0000001a;color:#fff;cursor:pointer;font-size:13px;height:36px;padding:8px 15px;transition:all .2s}.submit-action-btn:hover:not(:disabled){background-color:#45a049;box-shadow:0 3px 6px #0003}.submit-action-btn:disabled{background-color:#ccc;cursor:not-allowed}.main-content-padding{padding-bottom:230px}.tutorial-highlight{animation:tutorialPulse 2s infinite;box-shadow:0 0 0 4px #ffc10780,0 5px 15px #0003;position:relative;z-index:15}.card.tutorial-highlight{transform:translateY(-15px) scale(1.1)}.suggested-phrases li.tutorial-highlight{background-color:#fff8e8;border-color:#ffc107;box-shadow:0 0 0 3px #ffc10780,0 2px 8px #00000026;color:#ff8f00;font-weight:500}.custom-phrase.tutorial-highlight input{background-color:#fff8e8;border-color:#ffc107;box-shadow:0 0 0 3px #ffc1074d}@keyframes tutorialPulse{0%{box-shadow:0 0 0 0 #ffc107b3,0 5px 15px #0003}70%{box-shadow:0 0 0 8px #ffc10700,0 5px 15px #0003}to{box-shadow:0 0 0 0 #ffc10700,0 5px 15px #0003}}@media (max-width:768px){.card-game-container{height:240px}.main-content-padding{padding-bottom:250px}.card{height:165px;margin:0 5px;width:110px}.loading-image{width:120px}.loading-container p{font-size:14px}.card-stack{height:90px;width:60px}.pile-info h4{font-size:12px}.pile-count{font-size:10px}.hand-container h3{font-size:14px}.hand-instructions{font-size:10px}.action-panel{flex-direction:column;height:auto;max-height:none}.selected-card-display{border-bottom:1px solid #e0e0e0;border-right:none;flex-direction:row;margin-bottom:10px;padding-bottom:10px;padding-right:0;width:100%}.selected-card-image{margin-bottom:0;margin-right:10px;width:50px}.card-info{align-items:flex-start;text-align:left}.suggested-phrases{margin-left:0}.custom-phrase input{font-size:12px;height:32px;padding:6px 6px 6px 35px}.custom-phrase-prefix{font-size:12px}.suggested-phrases ul{gap:6px}.suggested-phrases li{font-size:12px;max-width:150px;padding:5px 10px}.submit-action-btn{font-size:12px;height:32px;padding:6px 12px}}@media (max-width:480px){.card-game-container{height:220px;padding:10px}.main-content-padding{padding-bottom:230px}.loading-image{width:100px}.card{height:142px;margin:0 4px;width:95px}.card-stack{height:75px;width:50px}.game-controls-container{align-items:center;flex-direction:column}.discard-pile,.draw-pile{margin:5px 0}.hand-container{margin:10px 0}.action-panel{padding:10px}.selected-card-display{margin-bottom:10px;padding-bottom:10px}.card-info h3{font-size:16px}.card-info p{font-size:12px}}.shuffle-animation{align-items:center;animation:fadeIn .3s;background-color:#00000080;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:1000}.shuffle-text{animation:pulse 1s infinite;background-color:#000000b3;border-radius:10px;color:#fff;font-size:24px;font-weight:700;padding:20px 40px}.loading-container{align-items:center;background:linear-gradient(#f9f9f9f7,#f0f0f0f7);border-radius:10px;bottom:0;box-shadow:inset 0 0 15px #0000000d;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:300}.loading-image{animation:pulse 1.5s ease-in-out infinite;filter:drop-shadow(0 0 8px rgba(0,0,0,.1));height:auto;margin-bottom:15px;width:150px}.loading-container p{color:#555;font-size:16px;font-style:italic;font-weight:500;margin:0}.tier-indicator{align-items:center;background-color:#faf8f5e6;border-radius:8px;bottom:8px;display:flex;gap:4px;justify-content:center;left:50%;padding:4px 8px;position:absolute;transform:translateX(-50%)}.tier-asterisk{opacity:.6;transition:opacity .3s ease,transform .3s ease}.tier-asterisk.filled{opacity:1}.tier-asterisk.animating{animation:asteriskSettle .6s ease-out forwards;opacity:1}@keyframes asteriskSettle{0%{filter:drop-shadow(0 0 0 transparent);opacity:.6;transform:scale(.5)}20%{filter:drop-shadow(0 0 6px rgba(124,152,133,.8));opacity:1;transform:scale(1.5)}40%{filter:drop-shadow(0 0 4px rgba(124,152,133,.5));transform:scale(.85)}60%{filter:drop-shadow(0 0 2px rgba(124,152,133,.3));transform:scale(1.2)}80%{filter:drop-shadow(0 0 0 transparent);transform:scale(.95)}to{filter:drop-shadow(0 0 0 transparent);opacity:1;transform:scale(1)}}@media (max-width:768px){.tier-indicator{gap:3px;padding:3px 6px}.tier-asterisk{height:14px;width:14px}}@media (max-width:480px){.tier-indicator{bottom:4px;gap:2px;padding:2px 4px}.tier-asterisk{height:12px;width:12px}}.playable-card{--card-width:180px;--card-height:calc(var(--card-width)*1.35);background-color:#faf8f5;border:5px solid #7c9885;border-radius:12px;box-shadow:0 4px 8px #00000026;cursor:pointer;display:flex;flex-direction:column;height:var(--card-height);overflow:hidden;position:relative;transition:transform .2s ease,box-shadow .2s ease;width:var(--card-width)}.playable-card:hover:not(.disabled){box-shadow:0 8px 16px #0003;transform:translateY(-4px)}.playable-card:active:not(.disabled){box-shadow:0 4px 8px #00000026;transform:translateY(-2px)}.playable-card.disabled{cursor:not-allowed;opacity:.6}.playable-card-title{color:#fff;font-family:Rubik,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:16px;font-weight:600;height:20%;line-height:1.2;padding:0 8px;text-align:center;text-shadow:0 1px 2px #0003}.playable-card-artwork,.playable-card-title{align-items:center;display:flex;justify-content:center}.playable-card-artwork{background:linear-gradient(180deg,#ffffff4d,#faf8f5);flex:1 1;padding:10px}.playable-card-image{border-radius:4px;max-height:100%;max-width:100%;object-fit:contain}.playable-card-chaos-badge{background-color:#ff4081;border-radius:4px;box-shadow:0 1px 3px #0003;color:#fff;font-size:10px;font-weight:700;padding:3px 6px;position:absolute;right:8px;top:calc(20% + 8px);transform:rotate(5deg);z-index:5}@media (max-width:768px){.playable-card{--card-width:140px}.playable-card-title{font-size:14px}.playable-card-chaos-badge{font-size:9px;padding:2px 4px}}@media (max-width:480px){.playable-card{--card-width:110px}.playable-card-title{font-size:12px}.playable-card-artwork{padding:6px}.playable-card-chaos-badge{font-size:8px;padding:2px 3px}}.card-grid{align-content:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin:0 auto;max-width:700px;padding:16px;width:100%}@media (max-width:768px){.card-grid{gap:12px;max-width:500px;padding:12px}}@media (max-width:480px){.card-grid{gap:8px;max-width:360px;padding:8px}}@media (max-width:360px){.card-grid{gap:6px;max-width:100%;padding:6px}}.deck-pile{align-items:center;display:flex;gap:12px}.deck-pile-stack{height:84px;position:relative;width:60px}.deck-pile-stack.empty{border:2px dashed #0003;border-radius:8px}.deck-pile-card{background:linear-gradient(135deg,#e8e4df,#d4cfc6);border:2px solid #c4bfb7;border-radius:8px;box-shadow:0 2px 4px #0000001a;height:100%;position:absolute;width:100%}.deck-pile-card-3{transform:translate(4px,4px);z-index:1}.deck-pile-card-2{transform:translate(2px,2px);z-index:2}.deck-pile-card-1{align-items:center;display:flex;justify-content:center;z-index:3}.deck-pile-icon{color:#8b8378;height:32px;opacity:.6;width:32px}.deck-pile-info{display:flex;flex-direction:column;gap:2px}.deck-pile-label{color:#fffc;font-size:12px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.deck-pile-count{color:#fff;font-size:24px;font-weight:700;text-shadow:0 1px 2px #0003}.deck-pile-draw .deck-pile-card{background:linear-gradient(135deg,#e3eef7,#c5d8e8);border-color:#a8c4d8}.deck-pile-draw .deck-pile-icon{color:#5d8aad}.deck-pile-discard .deck-pile-card{background:linear-gradient(135deg,#f7f0e3,#e8d8c5);border-color:#d8c4a8}.deck-pile-discard .deck-pile-icon{color:#ad8a5d}@media (max-width:768px){.deck-pile-stack{height:70px;width:50px}.deck-pile-icon{height:24px;width:24px}.deck-pile-label{font-size:11px}.deck-pile-count{font-size:20px}}@media (max-width:480px){.deck-pile{gap:8px}.deck-pile-stack{height:56px;width:40px}.deck-pile-card-3{transform:translate(3px,3px)}.deck-pile-card-2{transform:translate(1.5px,1.5px)}.deck-pile-icon{height:20px;width:20px}.deck-pile-label{font-size:10px}.deck-pile-count{font-size:18px}}.card-detail-overlay{background-color:#0000;bottom:0;left:0;position:fixed;right:0;top:0;transition:background-color .3s ease;z-index:1000}.card-detail-overlay.visible{background-color:#00000080}.card-detail-modal{background:linear-gradient(135deg,#4a5568,#2d3748 50%,#1a202c);border-radius:0;bottom:0;box-shadow:none;display:flex;flex-direction:column;height:100vh;left:0;overflow:hidden;position:absolute;right:0;top:0;transform:translateY(100%);transition:transform .3s ease-out}.card-detail-modal.visible{transform:translateY(0)}.card-detail-back{align-items:center;background:none;border:none;color:#fffc;cursor:pointer;display:flex;font-size:16px;font-weight:500;gap:8px;padding:16px 20px;transition:color .2s}.card-detail-back:hover{color:#fff}.card-detail-back svg{color:inherit}.card-detail-content{display:flex;flex:1 1;flex-direction:column;gap:32px;margin:0 auto;max-width:600px;overflow-y:auto;padding:20px 24px 24px;width:100%}.card-detail-top{align-items:flex-start;display:flex;flex:0 0 auto;gap:24px;justify-content:center}.card-detail-preview{--card-width:200px;cursor:default;flex-shrink:0}.card-detail-preview:hover{box-shadow:0 4px 8px #00000026;transform:none}.card-detail-preview .playable-card-title{font-size:18px}.card-detail-info{flex:0 1 280px;min-width:0}.card-detail-title{color:#fff;font-family:Rubik,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:26px;font-weight:700;margin:0 0 12px}.card-detail-description{color:#ffffffd9;font-size:16px;line-height:1.5;margin:0}.card-detail-chaos-text{color:#f7a8a8;font-style:italic}.card-detail-consequences{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:12px}.card-detail-consequence{font-size:15px;font-weight:600}.card-detail-consequence.positive{color:#a5d6a7}.card-detail-consequence.negative{color:#ef9a9a}.card-detail-bottom{display:flex;flex:1 1;flex-direction:column;gap:20px;min-height:0}.card-detail-section{align-items:center;display:flex;flex-direction:column;gap:12px}.card-detail-section-title{color:#fff9;font-size:14px;font-weight:600;letter-spacing:.5px;margin:0;text-align:center;text-transform:uppercase}.card-detail-phrases{align-items:center;display:flex;flex-direction:column;gap:10px;width:100%}.card-detail-phrase{background-color:#fffffff2;border:2px solid #ffffff4d;border-radius:12px;color:#333;cursor:pointer;font-size:17px;max-width:500px;padding:16px 20px;text-align:center;transition:all .2s;width:100%}.card-detail-phrase:hover:not(:disabled){background-color:#f5f8f6;border-color:#7c9885;box-shadow:0 2px 8px #0000001a;transform:translateY(-2px)}.card-detail-phrase.selected{background-color:#e8f0eb;border-color:#7c9885;color:#4a6850;font-weight:500}.card-detail-phrase:disabled{cursor:not-allowed;opacity:.6}.card-detail-no-phrases{color:#ffffff80;font-style:italic;margin:0}.card-detail-input-wrapper{align-items:center;background-color:#fffffff2;border:2px solid #ffffff4d;border-radius:12px;display:flex;max-width:500px;overflow:hidden;transition:border-color .2s,background-color .2s;width:100%}.card-detail-input-wrapper:focus-within{background-color:#fff;border-color:#7c9885}.card-detail-input-prefix{color:#555;flex-shrink:0;font-size:17px;font-weight:500;padding:16px 0 16px 20px;white-space:nowrap}.card-detail-input{background:#0000;border:none;color:#333;flex:1 1;font-size:17px;min-width:0;outline:none;padding:16px 20px 16px 4px}.card-detail-input::placeholder{color:#aaa}.card-detail-typing-container{color:#333;flex:1 1;font-size:17px;min-width:0;padding:16px 20px 16px 4px}.card-detail-play-btn{align-self:center;background:linear-gradient(135deg,#7c9885,#5d7a66);border:none;border-radius:12px;box-shadow:0 4px 12px #7c98854d;color:#fff;cursor:pointer;flex-shrink:0;font-size:20px;font-weight:600;margin-top:auto;max-width:500px;padding:18px 32px;transition:all .2s;width:100%}.card-detail-play-btn:hover:not(:disabled){box-shadow:0 6px 16px #7c988566;transform:translateY(-2px)}.card-detail-play-btn:active:not(:disabled){transform:translateY(0)}.card-detail-play-btn.chaos{background:linear-gradient(135deg,#d35f5f,#b84545);box-shadow:0 4px 12px #d35f5f4d}.card-detail-play-btn.chaos:hover:not(:disabled){box-shadow:0 6px 16px #d35f5f66}.card-detail-play-btn:disabled{background:#ccc;box-shadow:none;cursor:not-allowed}@media (max-width:768px){.card-detail-content{gap:24px;max-width:500px;padding:16px 20px 20px}.card-detail-preview{--card-width:160px}.card-detail-preview .playable-card-title{font-size:16px}.card-detail-title{font-size:22px}.card-detail-description{font-size:15px}.card-detail-phrase{font-size:16px;padding:14px 18px}.card-detail-input,.card-detail-input-prefix{font-size:16px}.card-detail-play-btn{font-size:18px;padding:16px 28px}}@media (max-width:480px){.card-detail-content{gap:20px;max-width:100%;padding:12px 16px 16px}.card-detail-top{align-items:center;flex-direction:column;gap:16px}.card-detail-preview{--card-width:160px}.card-detail-info{flex:none;text-align:center;width:100%}.card-detail-title{font-size:24px}.card-detail-description{font-size:15px}.card-detail-phrase{font-size:16px;max-width:100%;padding:14px 18px;width:100%}.card-detail-input-wrapper{align-items:stretch;flex-direction:column;max-width:100%}.card-detail-input-prefix{font-size:15px;padding:12px 16px 4px}.card-detail-input{font-size:16px;padding:4px 16px 14px}.card-detail-play-btn{font-size:18px;max-width:100%;padding:16px 24px}}.full-screen-card-mode{background:linear-gradient(135deg,#4a5568,#2d3748);bottom:0;display:flex;flex-direction:column;left:0;position:fixed;right:0;top:0;transform:translateY(100%);transition:transform .3s ease-out;z-index:100}.full-screen-card-mode.visible{transform:translateY(0)}.full-screen-card-mode-top-bar{align-items:center;background:#0003;border-bottom:1px solid #ffffff1a;display:flex;justify-content:space-between;padding:16px 24px}.full-screen-card-mode-back{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s}.full-screen-card-mode-back:hover{background:#fff3}.full-screen-card-mode-back svg{color:#fff}.full-screen-card-mode-content{align-items:center;display:flex;flex:1 1;flex-direction:column;justify-content:center;overflow-y:auto;padding:20px}.full-screen-card-mode-header{margin-bottom:24px;text-align:center}.full-screen-card-mode-header h2{color:#fff;font-size:28px;font-weight:600;margin:0 0 8px;text-shadow:0 2px 4px #0003}.full-screen-card-mode-header p{color:#ffffffb3;font-size:16px;margin:0}.full-screen-card-mode-loading{align-items:center;display:flex;flex-direction:column;gap:16px;justify-content:center}.full-screen-card-mode-loading-image{animation:pulse 1.5s ease-in-out infinite;filter:drop-shadow(0 0 8px rgba(255,255,255,.2));height:auto;width:150px}.full-screen-card-mode-loading p{color:#fffc;font-size:16px;font-style:italic}@keyframes pulse{0%{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.full-screen-card-mode-bottom-bar{align-items:center;background:#0003;border-top:1px solid #ffffff1a;display:flex;justify-content:flex-start;padding:16px 24px}@media (max-width:768px){.full-screen-card-mode-bottom-bar,.full-screen-card-mode-top-bar{padding:12px 16px}.full-screen-card-mode-back{font-size:13px;padding:8px 12px}.full-screen-card-mode-content{padding:16px}.full-screen-card-mode-header{margin-bottom:20px}.full-screen-card-mode-header h2{font-size:24px}.full-screen-card-mode-header p{font-size:14px}.full-screen-card-mode-loading-image{width:120px}.full-screen-card-mode-loading p{font-size:14px}}@media (max-width:480px){.full-screen-card-mode-bottom-bar,.full-screen-card-mode-top-bar{padding:10px 12px}.full-screen-card-mode-back{font-size:12px;gap:4px;padding:6px 10px}.full-screen-card-mode-back span{display:none}.full-screen-card-mode-content{padding:12px}.full-screen-card-mode-header{margin-bottom:16px}.full-screen-card-mode-header h2{font-size:20px}.full-screen-card-mode-header p{font-size:13px}.full-screen-card-mode-loading-image{width:100px}.full-screen-card-mode-loading p{font-size:13px}}.full-screen-card-offer{background:linear-gradient(135deg,#4a3a6b,#6b4a8a 50%,#8a5a9a);bottom:0;display:flex;flex-direction:column;left:0;overflow:hidden;position:fixed;right:0;top:0;transform:translateY(100%);transition:transform .3s ease-out;z-index:100}.full-screen-card-offer.visible{transform:translateY(0)}.sparkle-container{bottom:0;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0}.sparkle{animation:sparkle-float 4s ease-in-out infinite;background:radial-gradient(circle,#ffffffe6 0,#fff0 70%);border-radius:50%;height:8px;position:absolute;width:8px}.sparkle:before{height:12px;width:2px}.sparkle:after,.sparkle:before{background:#fffc;content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.sparkle:after{height:2px;width:12px}.sparkle:first-child{animation-delay:0s;left:10%;top:20%}.sparkle:nth-child(2){animation-delay:.5s;left:25%;top:60%}.sparkle:nth-child(3){animation-delay:1s;left:40%;top:30%}.sparkle:nth-child(4){animation-delay:1.5s;left:60%;top:70%}.sparkle:nth-child(5){animation-delay:2s;left:75%;top:25%}.sparkle:nth-child(6){animation-delay:2.5s;left:85%;top:55%}.sparkle:nth-child(7){animation-delay:3s;left:15%;top:80%}.sparkle:nth-child(8){animation-delay:3.5s;left:90%;top:85%}@keyframes sparkle-float{0%,to{opacity:.3;transform:translateY(0) scale(.8)}50%{opacity:1;transform:translateY(-20px) scale(1.2)}}.full-screen-card-offer-top-bar{align-items:center;background:#28143c4d;border-bottom:1px solid #ffffff26;display:flex;justify-content:flex-start;padding:16px 24px;position:relative;z-index:1}.full-screen-card-offer-skip{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:all .2s}.full-screen-card-offer-skip:hover:not(.disabled){background:#fff3}.full-screen-card-offer-skip.disabled{cursor:not-allowed;opacity:.4}.full-screen-card-offer-skip svg{color:#fff}.full-screen-card-offer-content{align-items:center;display:flex;flex:1 1;flex-direction:column;justify-content:center;overflow-y:auto;padding:20px;position:relative;z-index:1}.full-screen-card-offer-header{margin-bottom:32px;text-align:center}.full-screen-card-offer-header h2{color:#fff;font-size:28px;font-weight:600;margin:0 0 8px;text-shadow:0 2px 4px #0003}.full-screen-card-offer-header p{color:#ffffffbf;font-size:16px;margin:0}.selection-limit-badge{align-items:center;background:#ffffff26;border:2px solid #ffffff4d;border-radius:50px;color:#fff;display:inline-flex;font-size:18px;font-weight:600;gap:4px;margin-top:16px;padding:12px 24px}.selection-count{color:#4caf50;font-size:28px;font-weight:700;min-width:24px;text-align:center}.selection-separator{color:#ffffff80;font-size:24px}.selection-max{color:#fff;font-size:28px;font-weight:700}.selection-label{color:#fffc;font-size:16px;font-weight:500;margin-left:8px}.offered-cards-grid{display:flex;flex-wrap:wrap;gap:32px;justify-content:center;max-width:800px}.offered-card-wrapper{align-items:center;animation:fadeInCard .4s ease-out forwards;cursor:pointer;display:flex;flex-direction:column;opacity:0}@keyframes fadeInCard{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.offered-card-wrapper .playable-card{transition:transform .2s ease,box-shadow .2s ease}.offered-card-wrapper.selected .playable-card{box-shadow:0 0 0 4px #4caf50e6,0 0 40px #4caf50cc,0 0 80px #4caf5066,0 12px 24px #0006;transform:translateY(-12px) scale(1.05)}.offered-card-description{-webkit-line-clamp:3;-webkit-box-orient:vertical;color:#ffffffd9;display:-webkit-box;font-size:14px;line-height:1.5;margin-top:16px;max-width:200px;overflow:hidden;text-align:center}.full-screen-card-offer-bottom-bar{align-items:center;background:#28143c4d;border-top:1px solid #ffffff26;display:flex;justify-content:center;padding:20px 24px;position:relative;z-index:1}.full-screen-card-offer-accept{background-color:#4caf50;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;min-width:200px;padding:14px 48px;transition:all .2s}.full-screen-card-offer-accept:hover:not(.disabled){background-color:#43a047;box-shadow:0 4px 12px #4caf5066;transform:translateY(-2px)}.full-screen-card-offer-accept.disabled{background-color:#fff3;color:#ffffff80;cursor:not-allowed}@media (max-width:768px){.full-screen-card-offer-bottom-bar,.full-screen-card-offer-top-bar{padding:12px 16px}.full-screen-card-offer-skip{font-size:13px;padding:8px 12px}.full-screen-card-offer-header h2{font-size:24px}.full-screen-card-offer-header p{font-size:14px}.selection-limit-badge{margin-top:12px;padding:10px 20px}.selection-count,.selection-max{font-size:24px}.selection-separator{font-size:20px}.selection-label{font-size:14px}.offered-cards-grid{gap:24px}.offered-card-description{font-size:13px;max-width:160px}.full-screen-card-offer-accept{font-size:15px;padding:12px 36px}}@media (max-width:480px){.full-screen-card-offer-bottom-bar,.full-screen-card-offer-top-bar{padding:10px 12px}.full-screen-card-offer-skip{font-size:12px;gap:4px;padding:6px 10px}.full-screen-card-offer-content{padding:16px 12px}.full-screen-card-offer-header{margin-bottom:24px}.full-screen-card-offer-header h2{font-size:20px}.full-screen-card-offer-header p{font-size:13px}.selection-limit-badge{margin-top:10px;padding:8px 16px}.selection-count,.selection-max{font-size:20px}.selection-separator{font-size:16px}.selection-label{font-size:12px;margin-left:6px}.offered-cards-grid{gap:20px}.offered-card-description{font-size:12px;margin-top:12px;max-width:130px}.full-screen-card-offer-accept{font-size:14px;max-width:280px;padding:12px 24px;width:100%}}.upgrade-overlay{align-items:center;animation:upgradeOverlayFadeIn .3s ease-out;background-color:#000000bf;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.upgrade-modal{animation:upgradeSlideUp .3s ease-out;background-color:#faf8f5;border-radius:12px;box-shadow:0 4px 24px #0000004d;max-height:90vh;max-width:700px;overflow-y:auto;padding:24px;width:90%}.upgrade-header{margin-bottom:24px;text-align:center}.upgrade-header h2{color:#3a3a3a;font-family:Rubik,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:26px;margin:0 0 8px}.upgrade-header p{color:#666;font-size:16px;margin:0}.upgrade-content{gap:24px}.upgrade-content,.upgrade-source{align-items:center;display:flex;flex-direction:column}.upgrade-source{gap:12px}.upgrade-source-card{background-color:#faf8f5;border:5px solid #7c9885;border-radius:12px;box-shadow:0 4px 12px #00000026;display:flex;flex-direction:column;height:189px;overflow:hidden;position:relative;width:140px}.upgrade-arrow{color:#3c3228}.upgrade-card-title{color:#fff;font-family:Rubik,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;font-weight:600;height:20%;padding:0 8px;text-align:center;text-shadow:0 1px 2px #0003}.upgrade-card-artwork,.upgrade-card-title{align-items:center;display:flex;justify-content:center}.upgrade-card-artwork{background:linear-gradient(180deg,#ffffff4d,#faf8f5);flex:1 1;padding:8px}.upgrade-card-image{border-radius:4px;max-height:100%;max-width:100%;object-fit:contain}.upgrade-options{display:flex;flex-wrap:wrap;gap:20px;justify-content:center}.upgrade-option{align-items:center;background-color:#fff;border:3px solid #e0e0e0;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;padding:16px;position:relative;transition:all .2s ease;width:180px}.upgrade-option:hover{border-color:#7c9885;box-shadow:0 6px 16px #0000001f;transform:translateY(-4px)}.upgrade-option.selected{background-color:#f5f8f6;border-color:#7c9885;box-shadow:0 0 0 3px #7c98854d}.upgrade-option-card{background-color:#faf8f5;border:4px solid #7c9885;border-radius:10px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;height:162px;margin-bottom:12px;overflow:hidden;position:relative;width:120px}.upgrade-option-card .upgrade-card-title{font-size:12px}.upgrade-option-info{text-align:center}.upgrade-option-description{color:#555;font-size:13px;line-height:1.4;margin:0}.upgrade-selected-indicator{align-items:center;animation:upgradeCheckScale .2s ease-out;background-color:#7c9885;border-radius:50%;color:#fff;display:flex;font-size:16px;font-weight:700;height:28px;justify-content:center;position:absolute;right:8px;top:8px;width:28px}.upgrade-actions{display:flex;justify-content:center;margin-top:24px}.upgrade-confirm-button{background:linear-gradient(135deg,#7c9885,#5d7a66);border:none;border-radius:10px;box-shadow:0 4px 12px #7c98854d;color:#fff;cursor:pointer;font-size:18px;font-weight:600;padding:14px 40px;transition:all .2s}.upgrade-confirm-button:hover:not(:disabled){box-shadow:0 6px 16px #7c988566;transform:translateY(-2px)}.upgrade-confirm-button:active:not(:disabled){transform:translateY(0)}.upgrade-confirm-button:disabled{background:#ccc;box-shadow:none;cursor:not-allowed}@keyframes upgradeOverlayFadeIn{0%{opacity:0}to{opacity:1}}@keyframes upgradeSlideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes upgradeCheckScale{0%{transform:scale(0)}to{transform:scale(1)}}@media (max-width:768px){.upgrade-modal{max-width:90%;padding:20px}.upgrade-header h2{font-size:22px}.upgrade-options{gap:16px}.upgrade-option{padding:12px;width:160px}.upgrade-option-card{height:135px;width:100px}}@media (max-width:480px){.upgrade-modal{max-width:95%;padding:16px}.upgrade-header h2{font-size:20px}.upgrade-source-card{height:162px;width:120px}.upgrade-options{align-items:center;flex-direction:column}.upgrade-option{flex-direction:row;gap:12px;max-width:220px;padding:12px;width:100%}.upgrade-option-card{flex-shrink:0;height:108px;margin-bottom:0;width:80px}.upgrade-option-info{flex:1 1;text-align:left}.upgrade-confirm-button{font-size:16px;padding:12px 32px}}.disclaimer-overlay{align-items:center;animation:fadeIn .3s ease-out;background-color:#000000bf;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.disclaimer-modal{animation:slideUp .3s ease-out;background-color:#fff;border-radius:12px;box-shadow:0 4px 30px #0000004d;max-width:600px;padding:30px;width:90%}.disclaimer-header{margin-bottom:25px;text-align:center}.disclaimer-header h2{color:#333;font-size:24px;line-height:1.3;margin:0}.disclaimer-content{margin-bottom:25px}.disclaimer-content p{color:#555;font-size:16px;line-height:1.6;margin-bottom:16px}.disclaimer-content p:last-of-type{color:#444;font-weight:500}.disclaimer-checkbox-container{background-color:#f8f9fa;border:2px solid #e0e0e0;border-radius:8px;margin-top:20px;padding:16px}.disclaimer-checkbox-label{align-items:flex-start;cursor:pointer;display:flex;-webkit-user-select:none;user-select:none}.disclaimer-checkbox{cursor:pointer;height:20px;margin-right:12px;margin-top:2px;min-width:20px;width:20px}.checkbox-text{color:#333;font-size:15px;line-height:1.5}.disclaimer-actions{display:flex;justify-content:center;margin-top:25px}.agree-button{background-color:#4caf50;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;min-width:150px;padding:12px 40px;transition:all .2s ease}.agree-button:hover:not(:disabled){background-color:#388e3c;box-shadow:0 4px 12px #4caf504d;transform:translateY(-1px)}.agree-button:disabled{background-color:#ccc;cursor:not-allowed;opacity:.6}@media (max-width:768px){.disclaimer-modal{max-height:90vh;overflow-y:auto;padding:25px;width:95%}.disclaimer-header h2{font-size:20px}.disclaimer-content p{font-size:15px}}@media (max-width:480px){.disclaimer-modal{padding:20px}.disclaimer-header h2{font-size:18px}.checkbox-text,.disclaimer-content p{font-size:14px}.agree-button{width:100%}}.survey-overlay{align-items:center;background:#000000b3;bottom:0;display:flex;justify-content:center;left:0;padding:1rem;position:fixed;right:0;top:0;z-index:1000}.survey-modal{background:#fff;border-radius:12px;box-shadow:0 12px 24px #0000004d;max-height:90vh;max-width:700px;overflow-y:auto;position:relative;width:100%}.modal-close-x{align-items:center;background:#0000;border:none;border-radius:50%;color:#555;cursor:pointer;display:flex;font-size:2rem;height:40px;justify-content:center;position:absolute;right:1rem;top:1rem;transition:all .2s;width:40px;z-index:10}.modal-close-x:hover{background:#f0f0f0;color:#333}.survey-header{background:linear-gradient(90deg,#3498db,#2980b9);border-radius:12px 12px 0 0;color:#fff;padding:1.5rem 2rem;text-align:center}.survey-header h2{font-size:1.5rem;font-weight:700;margin:0}.survey-content{padding:2rem}.survey-section{border-bottom:2px solid #e0e0e0;margin-bottom:2rem;padding-bottom:2rem}.survey-section:last-child{border-bottom:none;margin-bottom:0}.survey-section h3{color:#2c3e50;font-size:1.3rem;font-weight:700}.question-block,.survey-section h3{margin-bottom:1.5rem}.question{color:#2c3e50;font-size:1.05rem;font-weight:500;margin-bottom:1rem}.radio-group.horizontal{display:flex;flex-wrap:wrap;gap:1rem}.radio-group.vertical{display:flex;flex-direction:column;gap:.75rem}.radio-option{align-items:center;background:#fff;border:2px solid #ccc;border-radius:8px;cursor:pointer;display:flex;gap:.5rem;padding:.75rem 1rem;transition:all .3s}.radio-option:hover{background:#f8f9fa;border-color:#3498db}.radio-option.selected{background:#e3f2fd;border-color:#3498db;font-weight:700}.radio-option input[type=radio]{display:none}.emoji-options{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.emoji-option{background:#fff;border:2px solid #ccc;border-radius:12px;cursor:pointer;flex:1 1;max-width:140px;min-width:120px;padding:1rem .5rem;text-align:center;transition:all .3s}.emoji-option:hover{background:#f8f9fa;border-color:#3498db;transform:translateY(-2px)}.emoji-option.selected{background:#e3f2fd;border-color:#3498db}.emoji-option input[type=radio]{display:none}.emoji-content{align-items:center;display:flex;flex-direction:column;gap:.5rem}.emoji{font-size:2rem}.emoji-content .label{color:#555;font-size:.85rem;line-height:1.2;text-align:center}.emoji-option.selected .label{color:#2c3e50;font-weight:700}.checkbox-group{display:flex;flex-direction:column;gap:.75rem}.checkbox-option{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;gap:.75rem;padding:.75rem 1rem;transition:all .3s}.checkbox-option:hover{background:#f8f9fa;border-color:#3498db}.checkbox-option.selected{background:#e3f2fd;border-color:#3498db}.checkbox-option input[type=checkbox]{cursor:pointer;height:18px;width:18px}.email-input{border:2px solid #ccc;border-radius:8px;font-size:1rem;margin-bottom:1rem;padding:.75rem;transition:border-color .3s;width:100%}.email-input:focus{border-color:#3498db;outline:none}.checkbox-label{align-items:center;color:#555;cursor:pointer;display:flex;font-size:.95rem;gap:.5rem}.checkbox-label input[type=checkbox]{cursor:pointer;height:18px;width:18px}.issue-description,.something-else-input{border:2px solid #ccc;border-radius:8px;font-family:inherit;font-size:1rem;margin-top:1rem;padding:.75rem;transition:border-color .3s;width:100%}.issue-description:focus,.something-else-input:focus{border-color:#3498db;outline:none}.error-message{color:#e74c3c;font-size:.9rem;margin-top:.5rem}.survey-actions{border-top:2px solid #e0e0e0;padding:1.5rem 2rem;text-align:center}.submit-button{background:linear-gradient(90deg,#27ae60,#229954);border:none;border-radius:8px;box-shadow:0 4px 8px #0003;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;padding:.875rem 2.5rem;transition:all .3s}.submit-button:hover:not(:disabled){background:linear-gradient(90deg,#229954,#1e8449);box-shadow:0 6px 12px #0000004d;transform:translateY(-2px)}.submit-button:disabled{background:#95a5a6;cursor:not-allowed;opacity:.6}.survey-thank-you{padding:3rem 2rem;text-align:center}.survey-thank-you h2{color:#27ae60;font-size:1.8rem;margin-bottom:1.5rem}.thank-you-message{color:#2c3e50;font-size:1.1rem;line-height:1.6;margin-bottom:2rem;white-space:pre-line}.close-button{background:linear-gradient(90deg,#3498db,#2980b9);border:none;border-radius:8px;box-shadow:0 4px 8px #0003;color:#fff;cursor:pointer;font-size:1.1rem;font-weight:700;padding:.875rem 2.5rem;transition:all .3s}.close-button:hover{background:linear-gradient(90deg,#2980b9,#21618c);box-shadow:0 6px 12px #0000004d;transform:translateY(-2px)}@media (max-width:576px){.survey-overlay{padding:0}.survey-modal{border-radius:0;max-height:100vh}.survey-header{border-radius:0;padding:1.25rem 1.5rem}.survey-header h2{font-size:1.3rem}.survey-content{padding:1.5rem 1rem}.survey-section h3{font-size:1.2rem}.question{font-size:1rem}.emoji-options{gap:.5rem}.emoji-option{max-width:100px;min-width:80px;padding:.75rem .25rem}.emoji{font-size:1.5rem}.emoji-content .label{font-size:.75rem}.radio-group.horizontal{gap:.5rem}.submit-button{padding:.875rem 1.5rem;width:100%}.close-button{width:100%}}.tablet-container{overflow:hidden;padding:0 12px 12px}@media (min-width:1025px){.tablet-container{border-radius:20px;box-shadow:0 8px 32px #00000026;margin-bottom:20px;margin-top:20px;max-width:1024px;min-height:calc(100vh - 40px)}}@media (min-width:768px) and (max-width:1024px){.tablet-container{box-shadow:none;max-width:100%}}@media (max-width:767px){.tablet-container{box-shadow:none;max-width:100%;padding:0}}.top-bar-hud{align-items:center;background:linear-gradient(90deg,#4f46e5,#7c3aed);border-radius:0;box-shadow:0 8px 24px #0003;display:flex;height:80px;justify-content:space-between;margin-top:12px;padding:12px 20px;position:-webkit-sticky;position:sticky;top:0;z-index:100}@media (min-width:768px){.top-bar-hud{border-radius:24px}}@media (max-width:767px){.top-bar-hud{border-radius:0;margin-top:0}}.chapter-chip{align-items:center;display:flex;gap:12px}.chapter-icon-hud{align-items:center;background:#ffffff26;border-radius:16px;display:flex;font-size:18px;font-weight:600;height:40px;justify-content:center;overflow:hidden;width:40px}.chapter-icon-hud img{height:100%;object-fit:cover;width:100%}.chapter-text-hud{display:flex;flex-direction:column;gap:2px}.chapter-number-hud{color:#fffc;font-size:11px;font-weight:500;letter-spacing:.15em;line-height:1;text-transform:uppercase}.chapter-title-hud{color:#fff;font-size:18px;font-weight:600;line-height:1.2}.hud-controls{gap:12px}.hud-controls,.menu-button{align-items:center;display:flex}.menu-button{background:none;border:none;border-radius:8px;cursor:pointer;justify-content:center;padding:12px;transition:background-color .2s ease}.menu-button:hover{background:#ffffff1a}.menu-button:active{background:#fff3}.hamburger-lines{display:flex;flex-direction:column;gap:4px;width:20px}.hamburger-lines span{background:#fff;border-radius:2px;height:3px;transition:all .3s ease}.chapter-info{flex:1 1;gap:12px;max-width:560px}.chapter-icon,.chapter-info{align-items:center;display:flex;justify-content:center}.chapter-icon{background:#e67e22;border:2px solid #ffffff4d;border-radius:8px;box-shadow:0 2px 8px #0003;height:48px;overflow:hidden;width:48px}.chapter-icon img{height:100%;object-fit:cover;width:100%}.chapter-text{color:#fff;text-align:left}.chapter-number{color:#ffffffeb;font-family:Fredoka,sans-serif;font-family:var(--font-ui,"Fredoka",sans-serif);font-size:14px;opacity:1}.chapter-number,.chapter-title{font-weight:500;line-height:1.2}.chapter-title{color:#fff;font-family:Rubik,sans-serif;font-family:var(--font-ui,"Rubik",sans-serif);font-size:17px;letter-spacing:-.2px;margin-top:2px;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px #00000038;white-space:nowrap}.top-bar .chapter-text{color:#fff!important}.top-bar .chapter-number{color:#fffffff2!important}.top-bar .chapter-title{color:#fff!important;text-shadow:0 2px 4px #0000002e}.sound-button{align-items:center;background:none;border:none;border-radius:8px;color:#f5f3e8;cursor:pointer;display:flex;justify-content:center;padding:12px;transition:all .2s ease}.sound-button:hover{background:#ffffff1a}.sound-button:active{background:#fff3}.sound-button.disabled{opacity:.6}.sound-button svg{height:24px;width:24px}.feedback-button{align-items:center;background:none;border:none;border-radius:8px;cursor:pointer;display:flex;font-size:1.5rem;justify-content:center;padding:8px 12px;transition:all .2s ease}.feedback-button:hover{background:#ffffff1a;transform:scale(1.1)}.feedback-button:active{background:#fff3;transform:scale(1.05)}.feedback-button:focus-visible,.menu-button:focus-visible,.sound-button:focus-visible{outline:2px solid #f5f3e8;outline-offset:2px}@media (max-width:767px){.top-bar{height:70px;padding:0 16px}.chapter-info{gap:10px;max-width:60vw}.chapter-icon{height:40px;width:40px}.chapter-number{font-size:12px}.chapter-title{font-size:16px;white-space:normal}.feedback-button,.menu-button,.sound-button{padding:10px}.hamburger-lines{width:18px}.sound-button svg{height:20px;width:20px}.feedback-button{font-size:1.3rem}}@media (prefers-contrast:high){.top-bar{background:#2c3e50;border-bottom:2px solid #34495e}.chapter-text{color:#fff}.hamburger-lines span{background:#fff}.sound-button{color:#fff}}@media (prefers-reduced-motion:reduce){.feedback-button,.hamburger-lines span,.menu-button,.sound-button{transition:none}}.narration-menu{animation:menuSlideIn .2s ease-out;background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000040;min-width:220px;overflow:hidden;padding:8px 0;position:absolute;right:20px;top:90px;z-index:1500}.narration-toggle{padding-right:48px;position:relative}.narration-checkbox{accent-color:#6366f1;cursor:pointer;height:18px;position:absolute;right:16px;top:50%;transform:translateY(-50%);width:18px}.sfx-toggle{padding-right:48px;position:relative}.sfx-checkbox{accent-color:#6366f1;cursor:pointer;height:18px;position:absolute;right:16px;top:50%;transform:translateY(-50%);width:18px}.activate-audio{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-weight:600}.activate-audio:hover{background:linear-gradient(135deg,#4f46e5,#7c3aed);box-shadow:0 4px 12px #6366f14d;transform:translateY(-1px)}.menu-section-header{color:#6b7280;font-size:11px;font-weight:600;letter-spacing:.5px;padding:8px 16px 4px;text-transform:uppercase}.playback-controls{display:flex;gap:8px;padding:4px 12px 8px}.playback-button{align-items:center;background:#f3f4f6;border:none;border-radius:8px;color:#374151;cursor:pointer;display:flex;flex:1 1;font-size:13px;font-weight:500;gap:6px;justify-content:center;padding:8px 12px;transition:background .15s,transform .1s}.playback-button:hover{background:#e5e7eb}.playback-button:active{transform:scale(.97)}.playback-button .menu-icon{font-size:14px}.speed-control{display:flex;gap:4px;padding:4px 12px 12px}.speed-button{background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;cursor:pointer;flex:1 1;font-size:12px;font-weight:500;padding:8px 4px;transition:all .15s}.speed-button:hover{background:#f9fafb;border-color:#d1d5db}.speed-button.active{background:#6366f1;border-color:#6366f1;color:#fff}@media (max-width:480px){.narration-menu{min-width:180px;top:50px}.playback-button{font-size:12px;padding:6px 8px}.speed-button{font-size:11px;padding:6px 2px}}.menu-dropdown{animation:menuSlideIn .2s ease-out;background:#fff;border-radius:12px;box-shadow:0 8px 32px #00000040;min-width:220px;overflow:hidden;position:absolute;right:20px;top:90px;z-index:1500}.menu-section{padding:8px 0}.menu-section-title{color:#999;font-size:12px;font-weight:600;letter-spacing:.5px;padding:8px 16px 4px;text-transform:uppercase}.menu-divider{background-color:#e0e0e0;height:1px;margin:4px 0}.menu-item{align-items:center;background:none;border:none;color:#333;cursor:pointer;display:flex;font-size:15px;gap:12px;padding:12px 16px;text-align:left;transition:background-color .2s ease;width:100%}.menu-item:hover{background-color:#f5f5f5}.menu-item:active{background-color:#e8e8e8}.menu-icon{align-items:center;display:flex;font-size:18px;justify-content:center;width:24px}.menu-text{flex:1 1;font-weight:500}@keyframes menuSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:480px){.menu-dropdown{min-width:180px;top:50px}.menu-item{font-size:14px;padding:10px 14px}.menu-icon{font-size:16px;width:20px}}.privacy-overlay{align-items:center;animation:fadeIn .3s ease-out;background-color:#000000bf;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:2000}.privacy-modal{animation:slideUp .3s ease-out;background-color:#fff;border-radius:12px;box-shadow:0 4px 30px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:800px;width:90%}.privacy-header{border-bottom:2px solid #e0e0e0;flex-shrink:0;padding:25px 30px 20px;position:relative}.privacy-header h1{color:#333;font-size:24px;line-height:1.3;margin:0;padding-right:40px}.privacy-close-button{align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;font-size:36px;height:36px;justify-content:center;line-height:1;padding:0;position:absolute;right:20px;top:20px;transition:color .2s ease;width:36px}.privacy-close-button:hover{color:#333}.privacy-content{flex:1 1;overflow-y:auto;padding:30px}.privacy-content .last-updated{color:#666;font-size:14px;margin-bottom:20px}.privacy-content h2{color:#2c3e50;font-size:22px;font-weight:600;margin-bottom:15px;margin-top:30px}.privacy-content h2:first-of-type{margin-top:10px}.privacy-content h3{color:#34495e;font-size:18px;font-weight:600;margin-bottom:12px;margin-top:20px}.privacy-content ol,.privacy-content p,.privacy-content ul{color:#555;font-size:16px;line-height:1.7;margin-bottom:16px}.privacy-content ol,.privacy-content ul{padding-left:25px}.privacy-content li{margin-bottom:8px}.privacy-content hr{border:none;border-top:1px solid #e0e0e0;margin:30px 0}.privacy-content strong{color:#333;font-weight:600}.privacy-content .footer-text{color:#666;font-style:italic;margin-top:10px;text-align:center}.privacy-footer{border-top:2px solid #e0e0e0;display:flex;flex-shrink:0;justify-content:center;padding:20px 30px}.privacy-footer .close-button{background-color:#4caf50;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;min-width:150px;padding:12px 40px;transition:all .2s ease}.privacy-footer .close-button:hover{background-color:#388e3c;box-shadow:0 4px 12px #4caf504d;transform:translateY(-1px)}.privacy-content::-webkit-scrollbar{width:8px}.privacy-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.privacy-content::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.privacy-content::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width:768px){.privacy-modal{max-height:85vh;width:95%}.privacy-header{padding:20px 25px 15px}.privacy-header h1{font-size:20px}.privacy-content{padding:20px}.privacy-content h2{font-size:20px}.privacy-content h3{font-size:17px}.privacy-content ol,.privacy-content p,.privacy-content ul{font-size:15px}}@media (max-width:480px){.privacy-overlay{padding:10px}.privacy-modal{max-height:90vh;width:100%}.privacy-header{padding:15px 20px 12px}.privacy-header h1{font-size:18px}.privacy-close-button{font-size:32px;height:32px;right:15px;top:15px;width:32px}.privacy-content{padding:15px}.privacy-content h2{font-size:18px}.privacy-content h3{font-size:16px}.privacy-content ol,.privacy-content p,.privacy-content ul{font-size:14px}.privacy-footer{padding:15px 20px}.privacy-footer .close-button{width:100%}}.dice-3d-wrapper{height:200px;margin:0 auto;perspective:600px;position:relative;width:200px}.dice-3d-wrapper:before{background:#0003;border-radius:100%;content:"";filter:blur(10px);height:10%;left:15%;position:absolute;top:85%;transition:opacity .3s;width:70%}.dice-3d-wrapper.rolling:before{opacity:.5}.dice-3d-wrapper.waiting{opacity:.3}.dice-3d-wrapper.waiting .dice-3d{animation:none}.dice-3d{height:100px;left:calc(50% - 50px);position:absolute;top:calc(50% - 50px);transform:rotate3d(0,.9,.9,90deg);transform-style:preserve-3d;transition:.5s cubic-bezier(.42,1.57,.62,.86);width:100px}.dice-3d.rolling{animation:dice-rotate-loop .6s cubic-bezier(.42,1.57,.62,.86) infinite}.dice-3d.throwing{animation:dice-rotate .7s ease-in reverse,dice-throw 1s linear}.dice-face{background-color:#f6f3f0;border:2px solid #fff;box-sizing:border-box;height:100px;transform-style:preserve-3d;transition:.5s;width:100px}.dice-face,.dice-face:before{border-radius:20px;position:absolute}.dice-face:before{background-color:#fff;content:"";height:100%;transform:translateZ(-1px);width:100%}.dice-face:after{background-color:#131210;border-radius:100%;content:"";height:20px;left:50%;margin:-10px 0 0 -10px;position:absolute;top:50%;transform:translateZ(1px);width:20px}.dice-face.front{transform:translateZ(50px)}.dice-face.front:after{background-color:#f63330;height:40px;margin:-20px 0 0 -20px;width:40px}.dice-face.up{transform:rotateX(90deg) translateZ(50px)}.dice-face.up:after{box-shadow:40px 40px #131210;margin:-30px 0 0 -30px}.dice-face.left{transform:rotateY(-90deg) translateZ(50px)}.dice-face.left:after{box-shadow:30px 30px #131210,60px 60px #131210;margin:-40px 0 0 -40px}.dice-face.right{transform:rotateY(90deg) translateZ(50px)}.dice-face.right:after{background-color:#f63330;box-shadow:40px 0 #f63330,0 40px #f63330,40px 40px #f63330;margin:-30px 0 0 -30px}.dice-face.bottom{transform:rotateX(-90deg) translateZ(50px)}.dice-face.bottom:after{box-shadow:26px 26px #131210,52px 52px #131210,52px 0 #131210,0 52px #131210;margin:-36px 0 0 -36px}.dice-face.back{transform:rotateX(180deg) translateZ(50px)}.dice-face.back:after{box-shadow:40px 0 #131210,0 30px #131210,40px 30px #131210,0 60px #131210,40px 60px #131210;margin:-40px 0 0 -30px}@keyframes dice-rotate{30%{transform:rotate3d(1,1,1,0deg)}to{transform:rotate3d(1,1,1,2turn)}}@keyframes dice-rotate-loop{0%{transform:rotate3d(-.1,.3,-1,180deg)}16%{transform:rotate3d(-.1,.6,-.4,180deg)}32%{transform:rotate3d(-.85,-.42,.73,180deg)}48%{transform:rotate3d(-.8,.3,-.75,180deg)}64%{transform:rotate3d(.3,.45,.9,180deg)}80%{transform:rotate3d(-.16,.6,.18,180deg)}to{transform:rotate3d(-.1,.3,-1,180deg)}}@keyframes dice-throw{20%{margin-top:-100px}40%{margin-top:0}60%{margin-top:-30px}80%{margin-top:0}85%{margin-top:-10px}90%{margin-top:0}95%{margin-top:-3px}to{margin-top:0}}@media (prefers-reduced-motion:reduce){.dice-3d{transition:transform .1s}.dice-3d.rolling,.dice-3d.throwing{animation:none}}@media (max-width:480px){.dice-3d-wrapper{height:150px;transform:scale(.8);width:150px}}.dice-face-display{align-items:center;background:linear-gradient(145deg,#fffef8,#f6f3ed);border:2px solid #d4d0cb;border-radius:8px;box-shadow:0 3px 6px #00000026,inset 0 1px 0 #fffc;display:inline-flex;justify-content:center;position:relative}.dice-face-small{height:44px;padding:6px;width:44px}.dice-face-medium{height:56px;padding:8px;width:56px}.dice-grid{height:100%;position:relative;width:100%}.dice-dot{background-color:#1a1815;border-radius:50%;box-shadow:0 1px 2px #0000004d;position:absolute}.dice-dot.red{background-color:#e63333}.dice-face-small .dice-dot{height:8px;width:8px}.dice-face-medium .dice-dot{height:10px;width:10px}.dice-dot.tl{left:0;top:0}.dice-dot.tr{right:0;top:0}.dice-dot.ml{left:0;top:50%;transform:translateY(-50%)}.dice-dot.mc{left:50%;top:50%;transform:translate(-50%,-50%)}.dice-dot.mr{right:0;top:50%;transform:translateY(-50%)}.dice-dot.bl{bottom:0;left:0}.dice-dot.bc{bottom:0;left:50%;transform:translateX(-50%)}.dice-dot.br{bottom:0;right:0}.dice-breakdown{flex-direction:column;font-family:Poppins,Segoe UI,sans-serif;gap:1.25rem;padding:1.5rem}.dice-breakdown,.dice-sum-row{align-items:center;display:flex}.dice-sum-row{background:#ffffffb3;border-radius:12px;flex-wrap:wrap;gap:.85rem;justify-content:center;padding:.75rem 1rem}.dice-sum-row .operator{color:#5a5a5a;font-size:1.6rem;font-weight:700}.dice-sum-row .sum{color:#333;font-size:2.25rem;font-weight:800;min-width:2.5rem;text-align:center;text-shadow:0 1px 0 #0000001a}.modifiers-section{background:linear-gradient(135deg,#7c4dff1a,#7c4dff0d);border:2px dashed #7c4dff4d;border-radius:10px;flex-direction:column;padding:.75rem 1.25rem}.modifier-row,.modifiers-section{align-items:center;display:flex;gap:.5rem}.modifier-row{transition:opacity .2s ease}.modifier-row.condition-not-met{opacity:.5}.condition-indicator{font-size:1rem;font-weight:700;text-align:center;width:1.25rem}.condition-indicator.met{color:#43a047}.condition-indicator.not-met{color:#9e9e9e}.modifier-value{color:#7c4dff;font-size:1.35rem;font-weight:800}.modifier-row.condition-not-met .modifier-value{color:#9e9e9e;text-decoration:line-through}.modifier-source{color:#5a4a7a;font-size:1rem;font-weight:500}.modifier-description{color:#757575;font-size:.9rem;font-style:italic}.equation-row{align-items:center;background:#fff9;border-radius:8px;display:flex;gap:.6rem;padding:.6rem 1.25rem}.equation-row .operator{color:#5a5a5a;font-size:1.35rem;font-weight:700}.equation-part{color:#444;font-size:1.35rem;font-weight:700}.total-value{color:#333;font-size:1.6rem;font-weight:800}.result-row{align-items:center;animation:resultSlideIn .4s ease-out;border-radius:16px;display:flex;gap:.85rem;justify-content:center;margin-top:.75rem;padding:1.25rem 2rem}@keyframes resultSlideIn{0%{opacity:0;transform:translateY(15px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}.result-row .final-total{font-size:2.25rem;font-weight:800}.result-row .comparison{font-size:1.75rem;font-weight:700}.result-row .target{font-size:2.25rem;font-weight:800}.result-row .result-text{font-size:1.85rem;font-weight:900;letter-spacing:.04em;margin-left:.75rem;text-shadow:0 2px 4px #0000001a;text-transform:uppercase}.result-row.success{background:linear-gradient(145deg,#e8f5e9,#c8e6c9);border:3px solid #43a047;box-shadow:0 6px 24px #43a04759,inset 0 2px 0 #ffffff80}.result-row.success .comparison,.result-row.success .final-total,.result-row.success .target{color:#1b5e20}.result-row.success .result-text{color:#2e7d32}.result-row.failure{background:linear-gradient(145deg,#fff8e1,#ffecb3);border:3px solid #f59e0b;box-shadow:0 6px 24px #f59e0b59,inset 0 2px 0 #ffffff80}.result-row.failure .comparison,.result-row.failure .final-total,.result-row.failure .target{color:#6d4c00}.result-row.failure .result-text{color:#b45309}@media (max-width:768px){.dice-breakdown{gap:1rem;padding:1.25rem}.dice-sum-row{gap:.6rem;padding:.6rem .85rem}.dice-sum-row .operator{font-size:1.35rem}.dice-sum-row .sum{font-size:1.85rem}.result-row{border-radius:14px;gap:.65rem;padding:1rem 1.5rem}.result-row .final-total,.result-row .target{font-size:1.85rem}.result-row .comparison{font-size:1.4rem}.result-row .result-text{font-size:1.5rem}}@media (max-width:480px){.dice-breakdown{gap:.85rem;padding:1rem}.dice-sum-row{gap:.5rem;padding:.5rem .75rem}.dice-sum-row .operator{font-size:1.2rem}.dice-sum-row .sum{font-size:1.5rem}.result-row{border-radius:12px;flex-wrap:wrap;gap:.5rem;padding:.85rem 1.25rem}.result-row .final-total,.result-row .target{font-size:1.5rem}.result-row .comparison{font-size:1.2rem}.result-row .result-text{font-size:1.25rem;margin-left:.5rem}}.triggered-effects-section{background:linear-gradient(135deg,#f59e0b1a,#f59e0b0d);border:2px dashed #f59e0b4d;border-radius:10px;display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem;padding:.75rem 1rem}.triggered-effect-row{align-items:center;display:flex;gap:.5rem}.triggered-effect-row .effect-icon{font-size:1.1rem}.triggered-effect-row .effect-text{color:#6d4c00;font-size:.95rem}.triggered-effect-row .effect-text strong{color:#b45309}@media (prefers-reduced-motion:reduce){.result-row{animation:none}}.dice-roll-panel{background:linear-gradient(180deg,#fefefe,#f8f6f3);border:2px solid #0000000f;border-radius:20px;box-shadow:0 12px 40px #00000026,inset 0 2px 0 #fffc;margin:2rem auto;max-width:1200px;min-height:300px;padding:2rem;position:relative;width:100%}.dice-header,.dice-roll-panel{align-items:center;display:flex;flex-direction:column}.dice-header{gap:.5rem;margin-bottom:1.5rem;text-align:center}.difficulty-badge{align-items:center;border-radius:25px;box-shadow:0 4px 12px #00000040,inset 0 1px 0 #ffffff4d;color:#fff;display:inline-flex;font-size:1rem;font-weight:800;justify-content:center;letter-spacing:.08em;padding:.6rem 1.5rem;text-shadow:0 1px 2px #0003;text-transform:uppercase}.target-text{color:#3d3d3d;font-family:Poppins,Segoe UI,sans-serif;font-size:1.3rem;font-weight:600}.target-text strong{color:#7c4dff;font-size:1.6rem;font-weight:800;text-shadow:0 1px 0 #7c4dff33}.auto-text{color:#555;font-family:Poppins,Segoe UI,sans-serif;font-size:1.3rem;font-weight:700}.dice-rolling-content{text-align:center;width:100%}.dice-panel-title{color:#3d3d3d;font-family:Poppins,Segoe UI,sans-serif;font-size:1.5rem;font-weight:700;letter-spacing:-.01em;margin-bottom:1.5rem;text-align:center}.dice-container{align-items:center;background:radial-gradient(ellipse at center,#7c4dff14 0,#0000 70%);border-radius:16px;display:flex;flex-wrap:wrap;gap:1.25rem;justify-content:center;min-height:220px;padding:1.5rem}.dice-result-content{animation:fadeInUp .4s ease-out;text-align:center;width:100%}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.result-message{align-items:center;border-radius:16px;display:flex;flex-direction:column;font-family:Poppins,Segoe UI,sans-serif;font-size:1.25rem;font-weight:700;gap:.75rem;margin:1rem auto;max-width:420px;padding:1.75rem 2.5rem;text-align:center}.result-icon{animation:bounceIn .5s ease-out;font-size:3.5rem;line-height:1}@keyframes bounceIn{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.result-text{font-size:1.75rem;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.result-message.success{background:linear-gradient(145deg,#e8f5e9,#c8e6c9);border:3px solid #43a047;box-shadow:0 6px 20px #43a0474d,inset 0 1px 0 #fff9;color:#1b5e20}.result-message.success .result-icon{color:#43a047}.result-message.failure{background:linear-gradient(145deg,#fff8e1,#ffecb3);border:3px solid #f59e0b;box-shadow:0 6px 20px #f59e0b4d,inset 0 1px 0 #fff9;color:#6d4c00}.result-message.failure .result-icon{color:#f59e0b}.auto-result-text{color:inherit;font-size:.95rem;font-style:italic;font-weight:500;margin-top:.25rem;opacity:.85}.dice-continue-button-container{margin-top:2rem;text-align:center}.loading-feedback{align-items:center;display:flex;flex-direction:column;gap:1rem;padding:1.5rem}.loading-spinner-dice{animation:spinner-spin .8s linear infinite;border:4px solid #7c4dff33;border-radius:50%;border-top-color:#7c4dff;height:44px;width:44px}.loading-text{color:#666;font-family:Poppins,Segoe UI,sans-serif;font-size:1rem;font-weight:600;margin:0}@keyframes spinner-spin{to{transform:rotate(1turn)}}@media (max-width:768px){.dice-roll-panel{border-radius:16px;margin:1rem;min-height:250px;padding:1.5rem}.dice-header{margin-bottom:1rem}.difficulty-badge{font-size:.9rem;padding:.5rem 1.25rem}.target-text{font-size:1.1rem}.target-text strong{font-size:1.35rem}.dice-panel-title{font-size:1.25rem;margin-bottom:1rem}.dice-container{gap:.75rem;min-height:180px;padding:1rem}.result-message{border-radius:14px;padding:1.25rem 1.75rem}.result-icon{font-size:2.75rem}.result-text{font-size:1.5rem}}@media (max-width:480px){.dice-roll-panel{border-radius:12px;padding:1rem}.difficulty-badge{font-size:.8rem;padding:.4rem 1rem}.target-text{font-size:1rem}.target-text strong{font-size:1.2rem}.dice-panel-title{font-size:1.1rem}.dice-container{min-height:160px}.result-message{padding:1rem 1.25rem}.result-icon{font-size:2.25rem}.result-text{font-size:1.25rem}}@media (prefers-reduced-motion:reduce){.dice-result-content,.loading-spinner-dice,.result-icon{animation:none}}.error-message-container{animation:errorFadeIn .3s ease-out;margin:2rem auto;max-width:600px;padding:2rem;position:relative;width:100%}@keyframes errorFadeIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.error-message-content{background:#fff5f5;border:2px solid #fc8181;border-radius:12px;box-shadow:0 4px 12px #fc818133;padding:2rem;text-align:center}.error-icon{font-size:48px;line-height:1;margin-bottom:1rem}.error-title{color:#c53030;font-size:24px;font-weight:600;margin:0 0 1rem}.error-text{color:#742a2a;font-size:16px;line-height:1.6;margin:0 0 2rem}.error-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.error-button{border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:600;min-width:120px;padding:.75rem 2rem;transition:all .2s ease}.error-button:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-2px)}.error-button:active{transform:translateY(0)}.error-button-primary{background:#e53e3e;color:#fff}.error-button-primary:hover{background:#c53030}.error-button-secondary{background:#edf2f7;color:#2d3748}.error-button-secondary:hover{background:#e2e8f0}@media (max-width:768px){.error-message-container{margin:1rem;padding:1rem}.error-message-content{padding:1.5rem}.error-icon{font-size:36px}.error-title{font-size:20px}.error-button,.error-text{font-size:14px}.error-button{min-width:100px;padding:.625rem 1.5rem}.error-actions{flex-direction:column}.error-button{width:100%}}@media (prefers-reduced-motion:reduce){.error-message-container{animation:none}.error-button:hover{transform:none}}.save-session-overlay{align-items:center;animation:fadeIn .3s ease-out;background-color:#000000bf;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}.save-session-modal{animation:slideUp .3s ease-out;background-color:#fff;border-radius:12px;box-shadow:0 4px 30px #0000004d;display:flex;flex-direction:column;max-width:500px;width:90%}.save-session-header{border-bottom:2px solid #e0e0e0;flex-shrink:0;padding:25px 30px 20px;position:relative}.save-session-header h2{color:#333;font-size:24px;line-height:1.3;margin:0;padding-right:40px}.save-session-close-button{align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;font-size:36px;height:36px;justify-content:center;line-height:1;padding:0;position:absolute;right:20px;top:20px;transition:color .2s ease;width:36px}.save-session-close-button:hover{color:#333}.save-session-content{flex:1 1;overflow-y:auto;padding:30px}.save-session-description{color:#555;font-size:16px;line-height:1.7;margin-bottom:20px}.session-name-input{border:2px solid #ddd;border-radius:8px;box-sizing:border-box;font-size:16px;margin-bottom:25px;padding:12px 16px;transition:border-color .2s;width:100%}.session-name-input:focus{border-color:#4caf50;outline:none}.session-name-input:disabled{background-color:#f5f5f5;cursor:not-allowed;opacity:.7}.save-session-actions{display:flex;gap:15px;justify-content:flex-end}.save-session-cancel-button,.save-session-save-button{border-radius:6px;cursor:pointer;font-size:16px;font-weight:600;min-width:120px;padding:12px 30px;transition:all .2s ease}.save-session-cancel-button{background-color:#f1f1f1;border:1px solid #ddd;color:#666}.save-session-cancel-button:hover:not(:disabled){background-color:#e0e0e0}.save-session-save-button{background-color:#4caf50;border:none;color:#fff}.save-session-save-button:hover:not(:disabled){background-color:#388e3c;box-shadow:0 4px 12px #4caf504d;transform:translateY(-1px)}.save-session-save-button:disabled{background-color:#a5d6a7;box-shadow:none;cursor:not-allowed;transform:none}@media (max-width:768px){.save-session-modal{width:95%}.save-session-header{padding:20px 25px 15px}.save-session-header h2{font-size:20px}.save-session-content{padding:20px}}@media (max-width:480px){.save-session-overlay{padding:10px}.save-session-modal{width:100%}.save-session-header{padding:15px 20px 12px}.save-session-header h2{font-size:18px}.save-session-close-button{font-size:32px;height:32px;right:15px;top:15px;width:32px}.save-session-content{padding:15px}.save-session-actions{flex-direction:column;gap:10px}.save-session-cancel-button,.save-session-save-button{width:100%}}.load-session-overlay{align-items:center;animation:fadeIn .3s ease-out;background-color:#000000bf;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:2000}.load-session-modal{animation:slideUp .3s ease-out;background-color:#fff;border-radius:12px;box-shadow:0 4px 30px #0000004d;display:flex;flex-direction:column;max-height:80vh;max-width:600px;width:90%}.load-session-header{border-bottom:2px solid #e0e0e0;flex-shrink:0;padding:25px 30px 20px;position:relative}.load-session-header h2{color:#333;font-size:24px;line-height:1.3;margin:0;padding-right:40px}.load-session-close-button{align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;font-size:36px;height:36px;justify-content:center;line-height:1;padding:0;position:absolute;right:20px;top:20px;transition:color .2s ease;width:36px}.load-session-close-button:hover{color:#333}.load-session-content{display:flex;flex:1 1;flex-direction:column;overflow-y:auto;padding:30px}.no-sessions{color:#666;padding:40px 20px;text-align:center}.no-sessions p{font-size:16px;line-height:1.5;margin:10px 0}.no-sessions .hint{color:#999;font-size:14px;margin-top:15px}.sessions-list{border:1px solid #e0e0e0;border-radius:8px;flex:1 1;margin-bottom:25px;overflow-y:auto}.session-item{border-bottom:1px solid #e0e0e0;cursor:pointer;padding:16px 20px;transition:background-color .2s}.session-item:last-child{border-bottom:none}.session-item:hover{background-color:#f5f5f5}.session-item.selected{background-color:#e3f2fd;border-left:4px solid #4caf50;padding-left:16px}.session-item .session-header{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:8px}.session-name{color:#333;font-size:18px;font-weight:600;margin:0}.session-timestamp{color:#999;font-size:14px;margin-left:12px;white-space:nowrap}.session-details{margin-bottom:6px}.session-chapter{color:#666;font-size:15px;font-weight:500}.session-preview{color:#777;font-size:14px;font-style:italic;margin-top:6px}.load-session-actions{border-top:2px solid #e0e0e0;display:flex;flex-shrink:0;gap:15px;justify-content:flex-end;padding-top:20px}.load-session-cancel-button,.load-session-load-button{border-radius:6px;cursor:pointer;font-size:16px;font-weight:600;min-width:120px;padding:12px 30px;transition:all .2s ease}.load-session-cancel-button{background-color:#f1f1f1;border:1px solid #ddd;color:#666}.load-session-cancel-button:hover{background-color:#e0e0e0}.load-session-load-button{background-color:#4caf50;border:none;color:#fff}.load-session-load-button:hover:not(:disabled){background-color:#388e3c;box-shadow:0 4px 12px #4caf504d;transform:translateY(-1px)}.load-session-load-button:disabled{background-color:#a5d6a7;box-shadow:none;cursor:not-allowed;transform:none}.sessions-list::-webkit-scrollbar{width:8px}.sessions-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.sessions-list::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.sessions-list::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width:768px){.load-session-modal{max-height:85vh;width:95%}.load-session-header{padding:20px 25px 15px}.load-session-header h2{font-size:20px}.load-session-content{padding:20px}.session-name{font-size:17px}}@media (max-width:480px){.load-session-overlay{padding:10px}.load-session-modal{max-height:90vh;width:100%}.load-session-header{padding:15px 20px 12px}.load-session-header h2{font-size:18px}.load-session-close-button{font-size:32px;height:32px;right:15px;top:15px;width:32px}.load-session-content{padding:15px}.session-item{padding:12px 16px}.session-item.selected{padding-left:12px}.session-name{font-size:16px}.session-timestamp{font-size:13px}.load-session-actions{flex-direction:column;gap:10px}.load-session-cancel-button,.load-session-load-button{width:100%}}.story-content-wrapper{transition:opacity .3s ease-in-out}.story-content-wrapper.fade-out{opacity:0}.story-content-wrapper.fade-in{opacity:1}.card-offering-overlay{animation:fadeIn .2s ease-out}.card-offering-modal{animation:slideUp .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.card-offering-overlay.exiting{animation:fadeOut .2s ease-out forwards}.card-offering-modal.exiting{animation:slideDown .3s ease-out forwards}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes slideDown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(20px)}}.loading-indicator-container{margin:0 auto;padding:60px 20px;text-align:center;width:60%}.loading-text{color:#555;display:inline-block;font-family:Radley,serif;font-size:1.4rem;position:relative}.loading-text:after{animation:dots 1.5s steps(4) infinite;content:"...";position:absolute}@keyframes dots{0%,20%{content:""}40%{content:"."}60%{content:".."}80%,to{content:"..."}}@media (max-width:900px){.loading-indicator-container{width:80%}}@media (max-width:600px){.loading-text{font-size:1.2rem}}:root{--font-story:"Lora","Georgia","Times New Roman",serif;--font-ui:"Rubik",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--font-system:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--font-size-story:20px;--font-size-story-mobile:18px;--font-size-button:18px;--font-size-button-large:24px;--font-size-card-label:16px;--font-size-chapter-title:28px;--font-size-small:14px;--line-height-story:1.6;--line-height-button:1.2;--line-height-title:1.3;--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--text-primary:#2c3e50;--text-secondary:#5d6d7e;--text-accent:#f59e0b;--text-light:#7f8c8d}.story-text{color:#2c3e50;color:var(--text-primary);font-family:Lora,Georgia,Times New Roman,serif;font-family:var(--font-story);font-size:20px;font-size:var(--font-size-story);font-weight:400;font-weight:var(--font-weight-normal);letter-spacing:.1px;line-height:1.6;line-height:var(--line-height-story)}.story-text p{margin-bottom:1.2em}.story-text p:last-child{margin-bottom:0}.drop-cap{font-size:1.6em;margin:0 .06em 0 0}.drop-cap,.drop-cap-fl{color:#f59e0b;color:var(--text-accent);display:inline-block;font-weight:600;line-height:.9}.drop-cap-fl{font-size:1.2em;margin-right:.02em}.button-text{font-size:18px;font-size:var(--font-size-button)}.button-text,.button-text-large{font-family:Rubik,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-family:var(--font-ui);font-weight:500;font-weight:var(--font-weight-medium);line-height:1.2;line-height:var(--line-height-button)}.button-text-large{font-size:24px;font-size:var(--font-size-button-large)}.chapter-title{font-size:28px;font-size:var(--font-size-chapter-title);font-weight:700;font-weight:var(--font-weight-bold);line-height:1.3;line-height:var(--line-height-title)}.card-text,.chapter-title{color:#2c3e50;color:var(--text-primary);font-family:Rubik,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-family:var(--font-ui)}.card-text{font-size:16px;font-size:var(--font-size-card-label);font-weight:500;font-weight:var(--font-weight-medium)}.small-text{color:#7f8c8d;color:var(--text-light);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-family:var(--font-system);font-size:14px;font-size:var(--font-size-small)}@media (max-width:768px){.story-text{font-size:18px;font-size:var(--font-size-story-mobile)}.drop-cap{font-size:1.45em}.drop-cap-fl{font-size:1.1em}.chapter-title{font-size:24px}.button-text-large{font-size:20px}}@media (prefers-contrast:high){:root{--text-primary:#000;--text-secondary:#333;--text-accent:#d35400;--text-light:#555}}@media (prefers-reduced-motion:reduce){.button-text,.chapter-title,.story-text{transition:none}}.tablet-container{background:radial-gradient(circle at top,#f5f5fb,#fff9f0);box-shadow:0 0 20px #0000001a;display:flex;flex-direction:column;margin:0 auto;max-width:1024px;min-height:100vh;position:relative;width:100%}.top-bar{align-items:center;background:linear-gradient(135deg,#43b0f1,#3a86ff);box-shadow:0 2px 8px #00000026;display:flex;height:80px;justify-content:space-between;padding:0 20px;position:-webkit-sticky;position:sticky;top:0;z-index:100}.main-content{overflow:hidden;position:relative}.main-content,.story-area{display:flex;flex:1 1;flex-direction:column}.story-area{align-items:center;justify-content:flex-start;min-height:0;overflow-y:auto;scroll-behavior:smooth}.story-area:has(.story-page-hero){overflow:hidden;padding:0}.story-area:not(:has(.story-page-hero)){padding:30px}.story-content{margin:0 auto;max-width:900px;text-align:left;width:100%}.story-image{border-radius:12px;box-shadow:0 4px 16px #00000026;margin-bottom:24px;overflow:hidden}.story-image img{display:block;height:auto;width:100%}.story-text-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffe6;border-radius:16px;box-shadow:0 4px 16px #0000001a;margin-bottom:24px;padding:24px}.story-page-primary .story-text-container,.story-page-secondary .story-text-container{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000;border-radius:0;box-shadow:none;margin:0;padding:0}.next-button-container{display:flex;justify-content:center;margin-top:20px}.card-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0000004d;display:flex;flex-direction:column;height:100%;justify-content:flex-end;left:0;opacity:0;pointer-events:none;position:absolute;top:0;transition:opacity .3s ease-in-out;width:100%;z-index:200}.card-overlay.active{opacity:1;pointer-events:none}.card-area{background:linear-gradient(135deg,#fff,#eaf6ff);border-radius:20px 20px 0 0;box-shadow:0 -4px 20px #0003;min-height:300px;padding:24px;position:relative;transform:translateY(100%);transition:transform .4s cubic-bezier(.4,0,.2,1)}.card-overlay.active .card-area{pointer-events:auto;transform:translateY(0)}.story-area.loading{align-items:center;justify-content:center}.loading-indicator{align-items:center;display:flex;flex-direction:column;gap:16px}.loading-spinner{animation:spin 1s linear infinite;border:3px solid #3b82f64d;border-radius:50%;border-top-color:#3b82f6;height:40px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (min-width:768px) and (max-width:1024px){.tablet-container{box-shadow:none;max-width:100%}.story-area{padding:40px}.story-content{max-width:900px}}@media (min-width:1025px){.tablet-container{border-radius:20px;box-shadow:0 8px 32px #00000026;margin-bottom:20px;margin-top:20px;max-width:1024px;min-height:calc(100vh - 40px)}.top-bar{border-radius:20px 20px 0 0}}.story-pager{display:flex;flex-direction:column;height:calc(100vh - 200px);margin:0 auto;max-width:900px;padding:0;-webkit-user-select:none;user-select:none;width:100%}.story-pager.fade-in{animation:storyFadeIn .4s ease-out}@keyframes storyFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.pager-content{display:flex;flex:1 1;flex-direction:column;overflow-x:hidden;overflow-y:auto;scrollbar-color:#0003 #0000;scrollbar-width:thin}.pager-content::-webkit-scrollbar{width:8px}.pager-content::-webkit-scrollbar-track{background:#0000}.pager-content::-webkit-scrollbar-thumb{background:#0003;border-radius:4px}.pager-content::-webkit-scrollbar-thumb:hover{background:#0000004d}.pager-controls.top{margin-bottom:16px}.pager-controls.bottom{margin-top:20px}.pager-back{background:#fffc;border:none;border-radius:8px;cursor:pointer;font-size:14px;padding:8px 12px;transition:opacity .2s}.pager-back:disabled{cursor:default;opacity:.3}.pager-next{background:linear-gradient(135deg,#43b0f1,#3a86ff);border:none;border-radius:12px;color:#fff;cursor:pointer;font-size:16px;font-weight:600;padding:12px 24px;transition:opacity .2s}.pager-next:disabled{cursor:default;opacity:.3}.pager-image{margin-bottom:24px}.pager-image img{border-radius:0;box-shadow:none;height:auto;width:100%}.pager-text{flex:1 1}@media (max-width:767px){.tablet-container{box-shadow:none;max-width:100%}.top-bar{height:70px;padding:0 16px}.story-area{padding:20px 16px}.story-text-container{margin-bottom:20px;padding:20px}.card-area{min-height:250px;padding:20px}.story-page-primary .pager-image{border-radius:12px;float:none;margin:0 0 12px;width:100%}}.story-page-hero{align-items:center;display:flex;flex-direction:column;height:calc(100vh - 80px);justify-content:center;overflow:hidden;padding:0;position:relative}.chapter-hero-content{flex-direction:column;padding:20px}.chapter-hero-content,.chapter-hero-image{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.chapter-hero-image img{border-radius:20px;box-shadow:0 12px 48px #00000040;height:auto;max-height:90%;max-width:90%;object-fit:contain;width:auto}.chapter-info h2{color:#2c3e50;font-size:2rem;font-weight:700;margin-bottom:8px}.chapter-info h3{color:#3498db;font-size:1.5rem;font-weight:500;margin-bottom:0}.chapter-hero-overlay{bottom:8%;position:absolute;right:8%;z-index:10}.chapter-start-button{background:linear-gradient(135deg,#8b5cf6,#6366f1);border:none;border-radius:40px;box-shadow:0 6px 20px #8b5cf666;color:#fff;cursor:pointer;font-size:20px;font-weight:700;letter-spacing:.5px;padding:16px 48px;text-transform:uppercase;transition:all .3s cubic-bezier(.4,0,.2,1)}.chapter-start-button:hover:not(:disabled){background:linear-gradient(135deg,#9f7aea,#7c3aed);box-shadow:0 10px 32px #8b5cf680;transform:translateY(-2px) scale(1.02)}.chapter-start-button:active:not(:disabled){transform:translateY(0) scale(.98)}.chapter-start-button:disabled{cursor:not-allowed;opacity:.5;transform:none}.story-page-primary .pager-content,.story-page-secondary .pager-content{background:#fffdf7;border-radius:24px;box-shadow:0 12px 32px #00000026;gap:0;overflow-x:hidden;overflow-y:auto;padding:24px}.story-page-primary .pager-content{background-color:#fffdf7;background-image:repeating-linear-gradient(0deg,#0000,#0000 2px,rgba(0,0,0,.015) 0,rgba(0,0,0,.015) 3px),repeating-linear-gradient(90deg,#0000,#0000 2px,rgba(0,0,0,.015) 0,rgba(0,0,0,.015) 3px);border-radius:24px;box-shadow:0 12px 32px #00000026;display:block;padding:28px}.story-page-primary .layout-left .pager-image{float:left;margin:0 24px 16px 0;width:clamp(36%,42vw,44%)}.story-page-primary .layout-right .pager-image{float:right;margin:0 0 16px 24px;width:clamp(36%,42vw,44%)}.story-page-primary .pager-image{border-radius:12px;display:block;overflow:hidden;shape-outside:inset(0 round 16px);-webkit-shape-outside:inset(0 round 16px)}.story-page-primary .pager-text{background:#0000;display:block;flex:none;padding:4px 6px}.story-page-primary .pager-content:after{clear:both;content:"";display:block}.story-page-secondary .pager-content{background-color:#fffdf7;background-image:repeating-linear-gradient(0deg,#0000,#0000 2px,rgba(0,0,0,.015) 0,rgba(0,0,0,.015) 3px),repeating-linear-gradient(90deg,#0000,#0000 2px,rgba(0,0,0,.015) 0,rgba(0,0,0,.015) 3px);display:block}.story-page-secondary .layout-left .pager-image{float:left;margin:0 20px 12px 0;width:clamp(30%,35vw,38%)}.story-page-secondary .layout-right .pager-image{float:right;margin:0 0 12px 20px;width:clamp(30%,35vw,38%)}.story-page-secondary .pager-image{background:#fff9;border-radius:12px;display:block;overflow:hidden}.story-page-secondary .pager-text{background:#0000;display:block;padding:4px 6px}.story-page-secondary .pager-content:after{clear:both;content:"";display:block}.story-page-primary .pager-image img,.story-page-secondary .pager-image img{border-radius:0;box-shadow:none;display:block;height:auto;width:100%}.story-page-primary .pager-image img{max-height:420px}.story-page-secondary .pager-image img{max-height:280px}.pager-controls.bottom{align-items:center;display:flex;gap:16px;justify-content:space-between;margin-top:auto;padding:20px 0}.pager-back-arrow,.pager-next-arrow{align-items:center;background:#fff;border:none;border-radius:50%;box-shadow:0 4px 12px #00000026;cursor:pointer;display:flex;font-size:20px;height:48px;justify-content:center;min-width:48px;transition:all .2s;width:48px}.pager-back-arrow:hover:not(:disabled),.pager-next-arrow:hover:not(:disabled){background:#fff;box-shadow:0 6px 16px #0003;transform:scale(1.05)}.pager-back-arrow:active:not(:disabled),.pager-next-arrow:active:not(:disabled){transform:scale(.95)}.pager-back-arrow:disabled,.pager-next-arrow:disabled{cursor:not-allowed;opacity:.3;transform:none}.progress-dots{align-items:center;display:flex;flex:1 1;gap:8px;justify-content:center;min-width:0}.progress-dot{background:#d1d5db;border-radius:50%;cursor:pointer;height:10px;transition:all .2s;width:10px}.progress-dot:hover{background:#9ca3af;transform:scale(1.15)}.progress-dot.active{background:#f59e0b;box-shadow:0 2px 8px #f59e0b66;transform:scale(1.2)}.progress-dot.active:hover{background:#f59e0b;transform:scale(1.25)}@media (max-width:768px){.story-page-primary .pager-content,.story-page-secondary .pager-content{gap:16px;grid-template-areas:"image" "text";grid-template-columns:1fr;grid-template-rows:auto 1fr}.story-page-primary .pager-image img,.story-page-secondary .pager-image img{max-height:35vh}.chapter-hero-image img{max-height:40vh}.story-page-hero{min-height:50vh;padding:20px}.chapter-info h2{font-size:1.6rem}.chapter-info h3{font-size:1.2rem}}@media (prefers-color-scheme:dark){.story-page-primary .pager-content,.story-page-secondary .pager-content{background:linear-gradient(180deg,#222a38fa,#181d27fa 65%);box-shadow:0 8px 24px #0006}.chapter-hero-image img{background:linear-gradient(135deg,#f5f5fb,#fff9f0);padding:20px}}.continue-button-area{align-items:center;display:flex;flex-direction:column;gap:8px}.dice-preview-info{align-items:center;background:#ffffffe6;border-radius:20px;box-shadow:0 2px 8px #0000001a;display:flex;gap:10px;padding:6px 12px}.difficulty-badge-small{border-radius:12px;color:#fff;display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.03em;padding:4px 10px;text-transform:uppercase}.target-preview{color:#444;font-size:.9rem;font-weight:600}.condition-feedback-section{align-items:center;background:#ffffffe6;border-radius:12px;box-shadow:0 2px 8px #0000001a;display:flex;flex-direction:column;gap:4px;padding:8px 12px}.condition-feedback-item{align-items:center;display:flex;font-size:.85rem;font-weight:500;gap:6px}.condition-feedback-item.met{color:#2e7d32}.condition-feedback-item.not-met{color:#9e9e9e}.condition-feedback-item .condition-icon{font-size:.9rem;font-weight:700}.condition-feedback-item .condition-text{font-style:normal}@media (max-width:767px){.story-area{padding:20px 16px}.story-content{max-width:100%}.story-text-container{border-radius:12px;margin-bottom:20px;padding:20px}.story-image{border-radius:8px;margin-bottom:20px}.next-button-container{margin-top:16px}.card-area{border-radius:16px 16px 0 0;min-height:250px;padding:20px}.card-hand{flex-wrap:nowrap;overflow-x:auto;padding-bottom:10px;scroll-snap-type:x mandatory}.card-hand .card{flex-shrink:0;margin-right:12px;scroll-snap-align:center}.card-hand .card:last-child{margin-right:0}}@media (min-width:768px) and (max-width:1024px){.story-area{padding:30px}.story-content{max-width:600px}.story-text-container{margin-bottom:28px;padding:28px}.story-image{margin-bottom:28px}.card-area{min-height:280px;padding:28px}}@media (min-width:1025px){.tablet-container{border-radius:20px;box-shadow:0 8px 32px #00000026;margin-bottom:20px;margin-top:20px;min-height:calc(100vh - 40px)}.top-bar{border-radius:20px 20px 0 0}.story-area{padding:40px}.story-content{max-width:700px}.story-text-container{margin-bottom:32px;padding:32px}.story-image{margin-bottom:32px}.card-area{min-height:320px;padding:32px}.story-image:hover,.story-text-container:hover{box-shadow:none;transform:none}}@media (min-width:1440px){.tablet-container{max-width:800px}.story-content{max-width:750px}}@media (max-width:1024px) and (orientation:landscape){.story-area{padding:20px}.top-bar{height:60px}.chapter-title{font-size:16px}.chapter-number{font-size:12px}.story-text-container{margin-bottom:16px;padding:16px}.story-image{margin-bottom:16px;max-height:200px}.story-image img{height:200px;object-fit:cover}.card-area{min-height:200px;padding:16px}}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:2dppx){.story-image img{image-rendering:-webkit-optimize-contrast;image-rendering:crisp-edges}}@media (prefers-color-scheme:dark){:root{--bg-gradient-start:#2c3e50;--bg-gradient-end:#34495e;--story-bg:#2c3e50e6;--text-primary:#ecf0f1;--text-secondary:#bdc3c7}.tablet-container{background:linear-gradient(135deg,var(--bg-gradient-start) 0,var(--bg-gradient-end) 100%)}.story-text-container{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:var(--story-bg)}.story-text{color:var(--text-primary)}}@media (prefers-reduced-motion:reduce){.card-area,.card-overlay,.story-image,.story-text-container{transform:none;transition:none}.story-image:hover,.story-text-container:hover{transform:none}.loading-spinner{animation:none;border:3px solid #8b7355}}@media print{.tablet-container{border-radius:0;box-shadow:none;max-width:100%}.card-overlay,.next-button-container,.top-bar{display:none}.story-area{padding:0}.story-text-container{background:#fff;border:1px solid #ccc;box-shadow:none}.story-text{color:#000}}.tutorial-overlay{bottom:0;left:0;pointer-events:none;position:fixed;right:0;top:0;z-index:1000}.tutorial-bubble-container{animation:bubble-appear .5s ease-out;max-width:420px;pointer-events:auto;position:fixed;z-index:1000}@keyframes bubble-appear{0%{opacity:0;transform:scale(.7)}70%{opacity:1;transform:scale(1.05)}to{transform:scale(1)}}.tutorial-bubble{border-radius:16px;box-shadow:0 4px 12px #00000026;display:flex;flex-direction:column;padding:20px;pointer-events:auto;position:relative}.tutorial-bubble,.tutorial-bubble:after{background-color:#fff8e8;border:2px solid #f5ca8c}.tutorial-bubble:after{content:"";height:20px;position:absolute;transform:rotate(45deg);width:20px}.tutorial-bubble-top:after{border-left:none;border-top:none;bottom:-11px;left:50%;margin-left:-10px;z-index:1}.tutorial-bubble-bottom:after{border-bottom:none;border-right:none;left:50%;margin-left:-10px;top:-11px}.tutorial-bubble-left:after{border-bottom:none;border-left:none;margin-top:-10px;right:-11px;top:50%}.tutorial-bubble-right:after{border-right:none;border-top:none;left:-11px;margin-top:-10px;top:50%}.tutorial-content{align-items:flex-start;display:flex;gap:18px}.tutorial-avatar{align-items:center;background-color:#ffeecf;border:2px solid #f5ca8c;border-radius:50%;display:flex;flex-shrink:0;height:90px;justify-content:center;overflow:hidden;width:90px}.tutorial-avatar img{height:100%;object-fit:cover;width:100%}.tutorial-message{color:#5a4738;flex:1 1;font-size:18px;font-weight:400;line-height:1.5}.tutorial-continue-button{align-self:center;background:linear-gradient(135deg,#f9a826,#f59f1a);border:none;border-radius:25px;box-shadow:0 4px 15px #f9a8264d;color:#fff;cursor:pointer;font-size:15px;font-weight:600;letter-spacing:.3px;margin-top:16px;padding:12px 28px;text-transform:none;transition:all .3s ease}.tutorial-continue-button:hover{background:linear-gradient(135deg,#f59f1a,#f09819);box-shadow:0 6px 20px #f9a82666;transform:translateY(-2px)}.tutorial-continue-button:active{box-shadow:0 2px 10px #f9a8264d;transform:translateY(0)}.tutorial-dismiss-btn{align-self:center;background:linear-gradient(135deg,#4a90e2,#357abd);border:none;border-radius:25px;box-shadow:0 4px 15px #4a90e24d;color:#fff;cursor:pointer;font-size:15px;font-weight:600;letter-spacing:.3px;margin-top:16px;padding:12px 28px;transition:all .3s ease}.tutorial-dismiss-btn:hover{background:linear-gradient(135deg,#357abd,#2968a3);box-shadow:0 6px 20px #4a90e266;transform:translateY(-2px)}.tutorial-dismiss-btn:active{box-shadow:0 2px 10px #4a90e24d;transform:translateY(0)}
/*# sourceMappingURL=main.836c3867.css.map*/