@font-face{font-family:Montserrat Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/montserrat-cyrillic-ext-wght-normal-CO5hGrJv.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Montserrat Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/montserrat-cyrillic-wght-normal-EAA9jha_.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Montserrat Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/montserrat-vietnamese-wght-normal-k7S-YeeD.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Montserrat Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/montserrat-latin-ext-wght-normal-BsZE-iaG.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Montserrat Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/montserrat-latin-wght-normal-l_AIctKy.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Montserrat Variable,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;--gradient-primary: linear-gradient(135deg, #ef4444 0%, #f97316 100%);--gradient-secondary: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);--gradient-subtle: linear-gradient(135deg, rgba(239, 68, 68, .1) 0%, rgba(249, 115, 22, .1) 100%);--color-red: #ef4444;--color-orange: #f97316;--color-red-dark: #dc2626;--color-orange-dark: #ea580c;--bg-primary: #0a0a0a;--bg-secondary: #141414;--bg-tertiary: #1a1a1a;--text-primary: #ffffff;--text-secondary: #a3a3a3;--text-tertiary: #737373;color-scheme:dark;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}*{margin:0;padding:0;box-sizing:border-box}html{background:var(--bg-primary);height:100%}body{margin:0;padding:0;display:block;min-height:100vh;background:var(--bg-primary);color:var(--text-primary);overflow-x:hidden;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}#root{width:100%;min-height:100vh;background:var(--bg-primary)}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:#ffffff08}::-webkit-scrollbar-thumb{background:#ef444466;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#ef444499}*{box-sizing:border-box}body{margin:0;padding:0;font-family:Montserrat Variable,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--bg-primary);color:var(--text-primary)}.app{min-height:100vh;background:var(--bg-primary);position:relative;overflow-x:hidden}.app:before{content:"";position:fixed;top:-200px;right:-200px;width:600px;height:600px;background:radial-gradient(circle,rgba(239,68,68,.2) 0%,rgba(249,115,22,.15) 40%,transparent 70%);border-radius:50%;filter:blur(80px);z-index:0;pointer-events:none;animation:orbit-slow-1 60s linear infinite}.app:after{content:"";position:fixed;bottom:-150px;left:-150px;width:500px;height:500px;background:radial-gradient(circle,rgba(220,38,38,.15) 0%,rgba(234,88,12,.12) 40%,transparent 70%);border-radius:50%;filter:blur(70px);z-index:0;pointer-events:none;animation:orbit-slow-2 80s linear infinite}@keyframes orbit-slow-1{0%{transform:translate(0)}25%{transform:translate(50px,-50px)}50%{transform:translateY(-100px)}75%{transform:translate(-50px,-50px)}to{transform:translate(0)}}@keyframes orbit-slow-2{0%{transform:translate(0)}25%{transform:translate(-60px,60px)}50%{transform:translate(-120px)}75%{transform:translate(-60px,-60px)}to{transform:translate(0)}}.app-header{position:sticky;top:0;z-index:100;background:#0a0a0abf;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.05)}.header-content{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;max-width:100%;gap:12px}.back-button{background:transparent;border:none;color:var(--text-primary);cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;border-radius:8px;flex-shrink:0}.back-button:active{background:#ffffff1a;transform:scale(.95)}.back-button svg{width:24px;height:24px}.page-title{margin:0;font-size:28px;font-weight:700;color:var(--text-primary);letter-spacing:-.5px;flex:1}.energy-display{display:flex;align-items:center;gap:8px;background:var(--bg-tertiary);padding:8px 12px;border-radius:20px;border:1px solid rgba(255,255,255,.08);box-shadow:0 2px 8px #0003}.energy-content{display:flex;align-items:center;gap:6px}.energy-info{display:flex;flex-direction:column;gap:1px}.energy-icon{display:inline-flex;align-items:center;justify-content:center;filter:drop-shadow(0 0 8px rgba(249,115,22,.6));width:16px;height:16px;line-height:1;flex-shrink:0}.energy-icon img{width:100%;height:100%;object-fit:contain}.energy-value{font-size:14px;font-weight:600;color:var(--text-primary);letter-spacing:-.3px;line-height:1.2}.energy-regen{font-size:10px;font-weight:500;color:var(--text-secondary);letter-spacing:-.2px;line-height:1;opacity:.7}.plus-button{background:var(--gradient-primary);border:none;color:var(--text-primary);font-size:18px;font-weight:600;padding:2px 8px;margin-left:2px;cursor:pointer;line-height:1;border-radius:12px;transition:all .2s ease;box-shadow:0 2px 8px #ef44444d}.plus-button:active{transform:scale(.95);box-shadow:0 1px 4px #ef444466}.app-main{padding-bottom:24px;position:relative;z-index:1}.app-with-nav .app-main{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}.error-state{text-align:center;padding:60px 20px}.error-state p{color:var(--color-red);font-size:16px;margin:0 0 20px;font-weight:500}.retry-button{padding:14px 32px;background:var(--gradient-primary);color:var(--text-primary);border:none;border-radius:16px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 16px #ef44444d}.retry-button:active{transform:scale(.98);box-shadow:0 2px 8px #ef444466}.gallery-header{padding:20px;background:#0a0a0ad9;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.gallery-header-content{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.user-profile-section{display:flex;align-items:center;gap:12px;flex:1}.user-avatar{width:48px;height:48px;border-radius:50%;background:#ffffff1a;flex-shrink:0;overflow:hidden;position:relative}.avatar-image{width:100%;height:100%;object-fit:cover;border-radius:50%}.skeleton-wave{position:relative;overflow:hidden;background:linear-gradient(90deg,#ffffff0d,#ffffff1a,#ffffff0d);background-size:200% 100%;animation:wave 1.5s ease-in-out infinite}@keyframes wave{0%{background-position:200% 0}to{background-position:-200% 0}}.user-info-column{display:flex;flex-direction:column;gap:4px}.user-name{font-size:16px;font-weight:600;color:var(--text-primary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;line-height:1.2}.user-energy-display{display:flex;align-items:center;gap:4px}.energy-icon-small{width:14px;height:14px;object-fit:contain}.premium-badge-small{display:flex;align-items:center;gap:4px;padding:2px 8px;background:linear-gradient(135deg,#fbbf2426,#f59e0b26);border:1px solid rgba(251,191,36,.3);border-radius:12px;width:fit-content}.premium-badge-icon{font-size:12px;line-height:1}.premium-badge-text{font-size:11px;font-weight:600;color:#fbbf24;text-transform:uppercase;letter-spacing:.5px}.energy-value-small{font-size:14px;font-weight:600;color:var(--text-primary);transition:all .3s ease}.energy-value-small.energy-boost{animation:energyBoost .6s ease-out}.plus-button-small{background:var(--gradient-primary);border:none;color:var(--text-primary);font-size:14px;font-weight:600;padding:1px 6px;margin-left:2px;cursor:pointer;line-height:1;border-radius:8px;transition:all .2s ease;box-shadow:0 2px 6px #ef44444d}.plus-button-small:active{transform:scale(.95);box-shadow:0 1px 3px #ef444466}@keyframes energyBoost{0%{transform:scale(1)}50%{transform:scale(1.3);color:#4ade80}to{transform:scale(1)}}.referral-bonus-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:12px;padding:8px 12px;display:flex;align-items:center;gap:6px;cursor:pointer;transition:all .2s ease;flex-shrink:0;box-shadow:0 4px 12px #3b82f64d}.referral-bonus-button:active{transform:scale(.95)}.bonus-icon{font-size:16px;line-height:1}.bonus-text{font-size:13px;font-weight:600;color:#fff;white-space:nowrap}.action-buttons{display:grid;grid-template-columns:1fr 1fr;gap:20px}.action-button{background:#ffffff0d;border:none;border-radius:12px;padding:12px;cursor:pointer;transition:all .2s ease;display:flex;flex-direction:column;align-items:center}.action-button:active{transform:scale(.98);background:#ffffff14}.button-content{display:flex;align-items:center;gap:6px;margin-bottom:8px}.button-icon-large{width:20px;height:20px;font-size:20px;line-height:1;object-fit:contain;flex-shrink:0}.button-label{font-size:13px;font-weight:600;color:var(--text-primary)}.button-subtitle{font-size:11px;color:var(--text-secondary);margin-top:2px}.action-button.claiming{opacity:.6;cursor:not-allowed}.gift-button-icon{width:20px;height:20px;object-fit:contain}.gift-button.claimed .gift-button-icon{filter:brightness(0) saturate(100%) invert(50%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(85%);opacity:.6}.gift-button-day{font-size:10px;font-weight:500;color:var(--text-secondary);opacity:.7;margin-left:2px;margin-bottom:-2px}.gift-button-action{color:#f97316!important;font-weight:600!important}.bonus-animation{position:fixed;top:180px;left:50%;transform:translate(-50%);z-index:200;pointer-events:none;animation:bonusFlyUp .8s ease-out forwards}@keyframes bonusFlyUp{0%{transform:translate(-50%) translateY(0) scale(1);opacity:1}50%{transform:translate(-50%) translateY(-60px) scale(1.2);opacity:1}to{transform:translate(-50%) translateY(-120px) scale(.8);opacity:0}}.bonus-amount{font-size:32px;font-weight:700;background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;filter:drop-shadow(0 0 8px rgba(239,68,68,.6));animation:pulse .3s ease-in-out}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.bonus-calendar-overlay{position:fixed;inset:0;background:#000c;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:fadeIn .2s ease}.bonus-calendar-modal{background:linear-gradient(180deg,#1a1a2e,#0f0f1a);border-radius:24px;padding:24px;width:100%;max-width:380px;max-height:90vh;overflow-y:auto;position:relative;border:1px solid rgba(255,255,255,.1);animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.calendar-close-btn{position:absolute;top:16px;right:16px;width:32px;height:32px;border-radius:50%;background:#ffffff1a;border:none;color:#888;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s}.calendar-close-btn:hover{background:#fff3;color:#fff}.calendar-header{text-align:center;margin-bottom:20px}.calendar-header-icon{font-size:40px;margin-bottom:8px}.calendar-title{font-size:22px;font-weight:700;color:#fff;margin:0 0 6px}.calendar-subtitle{font-size:13px;color:#888;margin:0}.calendar-loading{display:flex;justify-content:center;padding:40px}.calendar-spinner{width:32px;height:32px;border:3px solid rgba(255,255,255,.1);border-top-color:#ec4899;border-radius:50%;animation:spin .8s linear infinite}.calendar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:20px}.calendar-grid-30{grid-template-columns:repeat(6,1fr);gap:6px}.calendar-day{background:#ffffff0d;border-radius:12px;padding:10px 6px;text-align:center;position:relative;transition:all .2s;border:1px solid transparent}.calendar-day.claimed{background:#22c55e1a;border-color:#22c55e4d}.calendar-day.current{background:linear-gradient(135deg,#ec489933,#8b5cf633);border-color:#ec4899;box-shadow:0 0 20px #ec48994d}.calendar-day.today{background:#fbbf241a;border-color:#fbbf244d}.calendar-day.future{opacity:.5}.calendar-day.big-prize{grid-column:span 6;background:linear-gradient(135deg,#fbbf2433,#f59e0b33);border-color:#fbbf2480;padding:12px}.calendar-grid-30 .calendar-day{padding:8px 4px;border-radius:10px}.calendar-grid-30 .day-number{font-size:9px}.calendar-grid-30 .day-value{font-size:12px}.calendar-grid-30 .day-icon{width:12px;height:12px}.calendar-day.big-prize .day-value{font-size:24px;color:#fbbf24}.day-number{font-size:10px;color:#888;display:block;margin-bottom:4px}.day-amount{display:flex;align-items:center;justify-content:center;gap:4px}.day-icon{width:14px;height:14px}.day-value{font-size:14px;font-weight:700;color:#fff}.day-checkmark{position:absolute;top:4px;right:4px;width:16px;height:16px;background:#22c55e;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:10px;color:#fff}.day-pulse{position:absolute;inset:-2px;border-radius:14px;border:2px solid #ec4899;animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.02)}}.calendar-action{margin-top:16px}.claim-btn{width:100%;padding:16px;background:linear-gradient(135deg,#ec4899,#8b5cf6);border:none;border-radius:12px;color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.claim-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px #ec48994d}.claim-btn:active{transform:scale(.98)}.claim-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.next-claim-info{text-align:center;padding:16px;background:#ffffff0d;border-radius:12px}.next-claim-label{display:block;font-size:13px;color:#888;margin-bottom:4px}.next-claim-time{font-size:18px;font-weight:600;color:#fff}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:100;padding:0 20px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));display:flex;justify-content:center}.bottom-nav-content{display:flex;gap:8px;background:#14141499;backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);border-radius:28px;padding:8px;border:1px solid rgba(255,255,255,.08);box-shadow:0 8px 32px #0009,0 0 0 1px #ef44441a}.nav-tab{display:flex;align-items:center;justify-content:center;background:transparent;border:none;padding:12px 20px;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);color:var(--text-secondary);border-radius:20px;position:relative}.nav-tab:before{content:"";position:absolute;inset:0;border-radius:20px;background:var(--gradient-primary);opacity:0;transition:opacity .25s ease}.nav-tab.active{color:var(--text-primary)}.nav-tab.active:before{opacity:1}.nav-icon{transition:all .25s ease;position:relative;z-index:1;filter:drop-shadow(0 0 0 transparent)}.nav-tab.active .nav-icon{filter:drop-shadow(0 2px 8px rgba(239,68,68,.5))}.nav-tab:not(.active) .nav-icon{opacity:.4}.nav-tab:active{transform:scale(.92)}.app-with-nav .app-main{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}.checkout-page{min-height:100vh;padding:20px 20px 120px;display:flex;flex-direction:column}.checkout-section{margin-bottom:24px}.section-title{font-size:13px;font-weight:600;color:var(--text-secondary);margin:0 0 12px;letter-spacing:.5px}.payment-option{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#ffffff08;border:2px solid rgba(255,255,255,.1);border-radius:12px;cursor:pointer;transition:all .2s ease;margin-bottom:10px}.payment-option:active{transform:scale(.98)}.payment-option.selected{background:#ffffff14;border-color:var(--color-red)}.radio-button{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-radius:50%;position:relative;flex-shrink:0;transition:all .2s ease}.radio-button.selected{border-color:var(--color-red)}.radio-button.selected:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;background:var(--color-red);border-radius:50%}.option-text{font-size:15px;color:var(--text-primary);flex:1}.discount-badge{font-size:13px;font-weight:600;color:#4ade80;padding:3px 6px;background:#4ade801a;border-radius:6px}.period-options{display:flex;flex-direction:column;gap:10px}.checkout-footer{position:fixed;bottom:0;left:0;right:0;padding:20px;background:linear-gradient(to top,#0a0a0a 70%,transparent)}.total-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding:0 4px}.total-label{font-size:15px;color:var(--text-secondary)}.total-amount{font-size:18px;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:6px}.star-icon-inline{width:18px;height:18px;object-fit:contain;display:inline-block;vertical-align:middle}.pay-button{width:100%;padding:14px;background:var(--gradient-primary);color:var(--text-primary);border:none;border-radius:12px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.pay-button:active{transform:scale(.98)}.pay-button:disabled{opacity:.6;cursor:not-allowed}.custom-story-creation{min-height:100vh;display:flex;flex-direction:column;padding:20px}.custom-story-header{margin-bottom:20px}.custom-story-title{font-size:24px;font-weight:700;color:var(--text-primary);margin:0;letter-spacing:-.5px;line-height:1.3}.custom-story-content{flex:1;display:flex;flex-direction:column}.story-textarea{flex:1;min-height:300px;background:var(--bg-secondary);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px;color:var(--text-primary);font-size:15px;line-height:1.6;resize:vertical;font-family:inherit;transition:border-color .2s ease}.story-textarea:focus{outline:none;border-color:#ef44444d}.story-textarea::placeholder{color:var(--text-secondary);opacity:.6}.story-textarea:disabled{opacity:.5;cursor:not-allowed}.story-counter{margin-top:12px;text-align:right;font-size:13px;color:var(--text-secondary);font-weight:500}.error-message{margin-top:12px;padding:12px 16px;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:12px;display:flex;align-items:center;gap:8px;color:#ef4444;font-size:14px;font-weight:500}.error-icon{font-size:18px}.custom-story-footer{margin-top:20px;padding-top:20px}.start-story-button{width:100%;padding:16px;background:var(--gradient-primary);border:none;border-radius:16px;color:var(--text-primary);font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #ef44444d;display:flex;align-items:center;justify-content:center;gap:8px}.start-story-button:active{transform:scale(.98);box-shadow:0 2px 8px #ef444466}.start-story-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#ffffffe6;border-radius:50%;animation:spin .8s linear infinite}@media(max-width:380px){.custom-story-title{font-size:20px}.story-textarea{min-height:250px;font-size:14px}}.history-selection{min-height:100vh;padding-bottom:24px}.history-header{position:sticky;top:0;background:#0a0a0ae6;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:16px 20px;display:flex;align-items:center;gap:16px;border-bottom:1px solid rgba(255,255,255,.06);z-index:10}.back-button{background:var(--bg-tertiary);border:1px solid rgba(255,255,255,.08);color:var(--text-primary);padding:10px 18px;border-radius:14px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #0003}.back-button:active{transform:scale(.96);background:#ef44441a;border-color:#ef44444d}.history-title{font-size:22px;font-weight:700;color:var(--text-primary);margin:0;flex:1;letter-spacing:-.5px}.persona-preview{display:flex;gap:16px;padding:20px 16px;background:#ffffff0d;margin:0 16px 16px;border-radius:12px}.persona-preview-image{width:80px;height:80px;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#7c3aed,#a855f7);flex-shrink:0}.persona-preview-image img{width:100%;height:100%;object-fit:cover}.persona-preview-image .placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:32px;opacity:.5}.persona-preview-info{flex:1;display:flex;flex-direction:column;justify-content:center}.persona-preview-info h3{font-size:18px;font-weight:700;color:#fff;margin:0 0 4px}.persona-preview-info p{font-size:13px;color:#9ca3af;margin:0;line-height:1.4}.histories-list{padding:20px;display:flex;flex-direction:column;gap:16px}.history-card{background:var(--bg-secondary);border-radius:20px;overflow:hidden;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);border:1px solid rgba(255,255,255,.06);box-shadow:0 4px 12px #0000004d}.history-card:active{transform:translateY(2px) scale(.99);box-shadow:0 2px 8px #0006}.history-card:hover{border-color:#ef44444d}.history-image{width:100%;height:200px;overflow:hidden;background:linear-gradient(135deg,var(--bg-tertiary) 0%,var(--bg-secondary) 100%)}.history-image.wide{height:160px}.history-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.history-card:active .history-image img{transform:scale(1.05)}.history-content{padding:12px}.history-name{font-size:17px;font-weight:700;margin:0 0 4px;color:var(--text-primary);letter-spacing:-.3px}.history-description{font-size:13px;color:var(--text-secondary);font-weight:600;margin:0;letter-spacing:.2px;line-height:1.4}.no-histories{text-align:center;padding:50px 24px;background:var(--bg-secondary);border-radius:20px;border:1px solid rgba(255,255,255,.06)}.no-histories p{color:var(--text-secondary);font-size:14px;font-weight:500;margin:0 0 20px;line-height:1.6}.start-button{padding:14px 32px;background:var(--gradient-primary);color:var(--text-primary);border:none;border-radius:16px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #ef44444d}.start-button:active{transform:scale(.98);box-shadow:0 2px 8px #ef444466}.custom-character-view{padding:20px;position:relative}.character-header{display:flex;align-items:center;gap:16px;margin-bottom:24px;position:relative}.character-avatar{width:80px;height:80px;border-radius:16px;overflow:hidden;flex-shrink:0;background:var(--gradient-primary);box-shadow:0 4px 12px #0000004d}.character-avatar img{width:100%;height:100%;object-fit:cover}.avatar-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:36px;opacity:.5}.character-header-info{flex:1}.character-name{font-size:24px;font-weight:700;color:var(--text-primary);margin:0;letter-spacing:-.5px}.character-menu{position:relative}.menu-button{background:var(--bg-tertiary);border:1px solid rgba(255,255,255,.08);border-radius:10px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--text-primary);font-size:24px;font-weight:700;transition:all .2s ease}.menu-button:active{transform:scale(.95);background:#ffffff1a}.menu-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:var(--bg-secondary);border:1px solid rgba(255,255,255,.1);border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #0006;z-index:100;min-width:140px}.menu-item{width:100%;padding:12px 16px;background:none;border:none;color:var(--text-primary);font-size:15px;font-weight:500;text-align:left;cursor:pointer;transition:background .2s ease}.menu-item:hover{background:#ffffff0d}.menu-item.delete-item{color:#ef4444}.menu-item.delete-item:hover{background:#ef44441a}.continue-chat-button{width:100%;padding:18px;background:var(--gradient-primary);border:none;border-radius:16px;color:var(--text-primary);font-size:17px;font-weight:700;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 16px #ef444459;margin-bottom:24px;display:flex;align-items:center;justify-content:center;gap:8px}.continue-chat-button:active{transform:scale(.98);box-shadow:0 2px 8px #ef444466}.locations-section{margin-bottom:24px}.section-title{font-size:16px;font-weight:600;color:var(--text-secondary);margin:0 0 16px;text-transform:uppercase;letter-spacing:.5px}.locations-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.location-card{background:var(--bg-secondary);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:20px;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 12px #0000004d;text-align:center}.location-card:hover{border-color:#ef44444d;transform:translateY(-2px)}.location-card:active{transform:translateY(0) scale(.98)}.location-name{font-size:16px;font-weight:600;color:var(--text-primary)}.custom-story-button{width:100%;padding:16px;background:var(--gradient-primary);border:none;border-radius:16px;color:var(--text-primary);font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #ef44444d}.custom-story-button:active{transform:scale(.98);box-shadow:0 2px 8px #ef444466}@media(max-width:380px){.character-avatar{width:64px;height:64px}.character-name{font-size:20px}.locations-grid{gap:10px}.location-card{padding:16px}.location-name{font-size:14px}}.language-page{min-height:100vh;padding:20px}.language-list{background:#ffffff0d;border-radius:16px;border:1px solid rgba(255,255,255,.1);overflow:hidden}.language-item{width:100%;display:flex;align-items:center;justify-content:space-between;padding:20px;background:transparent;border:none;border-bottom:1px solid rgba(255,255,255,.08);cursor:pointer;transition:all .2s ease;text-align:left}.language-item:last-child{border-bottom:none}.language-item:active{background:#ffffff0d}.language-text{flex:1;display:flex;flex-direction:column;gap:4px}.language-name-english{font-size:18px;font-weight:600;color:var(--text-primary);line-height:1.2}.language-name-native{font-size:15px;font-weight:400;color:var(--text-secondary);line-height:1.2}.language-selector{width:32px;height:32px;border-radius:50%;border:2px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.language-item.active .language-selector{background:var(--gradient-primary);border-color:var(--color-red);box-shadow:0 2px 8px #ef444466}.checkmark-icon{width:16px;height:16px;color:#fff;flex-shrink:0}*{-webkit-tap-highlight-color:transparent;box-sizing:border-box}.character-creation-overlay{position:fixed;inset:0;width:100%;height:100%;height:100dvh;background:linear-gradient(180deg,#0a0a0a,#000);z-index:9999;display:flex;flex-direction:column;overflow:hidden}.character-creation-modal{display:flex;flex-direction:column;height:100%;width:100%;min-height:0;position:relative;padding:0}.character-creation-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;gap:12px;flex-shrink:0}.back-button-new{background:transparent;border:none;color:#fff;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;flex-shrink:0}.back-button-new:active:not(:disabled){background:#ffffff1a;transform:scale(.9)}.back-button-new svg{width:28px;height:28px;stroke-width:2.5}.page-title{font-size:20px;font-weight:700;color:#fff;text-align:left;margin:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.progress-circle{flex-shrink:0}.progress-circle svg{filter:drop-shadow(0 2px 8px rgba(239,68,68,.3))}.creation-content-wrapper{flex:1;overflow:hidden;display:flex;flex-direction:column;position:relative;padding:0}.wizard-container{flex:1;display:flex;flex-direction:column;padding:16px 0 0;overflow-y:auto;-webkit-overflow-scrolling:touch;min-height:0;justify-content:flex-start}.wizard-container::-webkit-scrollbar{width:0;display:none}.wizard-container.slide-forward{animation:slideInRight .3s cubic-bezier(.25,.46,.45,.94)}.wizard-container.slide-backward{animation:slideInLeft .3s cubic-bezier(.25,.46,.45,.94)}@keyframes slideInRight{0%{opacity:0;transform:translate(30px)}to{opacity:1;transform:translate(0)}}@keyframes slideInLeft{0%{opacity:0;transform:translate(-30px)}to{opacity:1;transform:translate(0)}}.wizard-page{display:flex;flex-direction:column;gap:20px;padding:0 12px 100px}.hair-color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:100%;max-width:100%}.hair-color-item{display:flex;flex-direction:column;align-items:center;gap:8px}.hair-color-box{width:100%;aspect-ratio:1;border:3px solid rgba(255,255,255,.2);border-radius:16px;cursor:pointer;transition:all .3s cubic-bezier(.34,1.56,.64,1);padding:0;animation:fadeIn .4s ease-out}@keyframes fadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.hair-color-box:active:not(:disabled){transform:scale(.92)}.hair-color-box.selected{border-width:4px;transform:scale(1.1);box-shadow:0 4px 16px #0000004d}.hair-color-box.multicolor{border:3px solid rgba(255,255,255,.2)}.hair-color-box.multicolor.selected{border:4px solid #ffffff}.hair-color-label{font-size:11px;font-weight:600;color:#ffffff80;text-align:center;transition:all .3s ease}.hair-color-item:has(.selected) .hair-color-label{color:#fff;font-weight:700}.hair-style-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;max-width:100%;padding:0 4px}.hair-style-box{width:100%;aspect-ratio:1;background:#1a1a1a99;border:2px solid rgba(255,255,255,.1);border-radius:12px;cursor:pointer;transition:all .3s cubic-bezier(.34,1.56,.64,1);padding:10%;display:flex;align-items:center;justify-content:center;animation:fadeIn .4s ease-out;box-sizing:border-box;overflow:hidden}.hair-style-box:active:not(:disabled){transform:scale(.95)}.hair-style-box.selected{background:#ef444433;border-color:#ef4444;box-shadow:0 4px 16px #ef444466;transform:scale(1.05)}.hair-style-icon{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;filter:brightness(1.1)}.hair-style-box.selected .hair-style-icon{filter:brightness(1.3)}.eye-color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:100%;max-width:100%}.eye-color-item{display:flex;flex-direction:column;align-items:center;gap:10px}.eye-color-circle{width:100%;aspect-ratio:1;border:3px solid rgba(255,255,255,.15);border-radius:50%;cursor:pointer;transition:all .3s cubic-bezier(.34,1.56,.64,1);padding:0;position:relative;animation:fadeIn .4s ease-out}.eye-color-circle:active:not(:disabled){transform:scale(.92)}.eye-color-circle.selected{border-width:4px;transform:scale(1.1);box-shadow:0 4px 16px #0000004d}.eye-color-label{font-size:12px;font-weight:600;color:#ffffff80;text-align:center;transition:all .3s ease}.eye-color-item:has(.selected) .eye-color-label{color:#fff;font-weight:700}.race-type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;width:100%;max-width:100%;padding:4px}.race-type-grid>button:nth-child(n+5){grid-column:span 1}.race-type-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:12px}.race-type-grid>button:nth-child(1),.race-type-grid>button:nth-child(2),.race-type-grid>button:nth-child(3),.race-type-grid>button:nth-child(4){grid-column:span 3}.race-type-grid>button:nth-child(5),.race-type-grid>button:nth-child(6),.race-type-grid>button:nth-child(7){grid-column:span 4}.race-type-box{width:100%;aspect-ratio:3/4;background:#1a1a1a99;border:2px solid rgba(255,255,255,.1);border-radius:16px;cursor:pointer;transition:all .3s cubic-bezier(.34,1.56,.64,1);padding:0;overflow:hidden;position:relative;display:flex;flex-direction:column;animation:fadeIn .4s ease-out}.race-type-box:active:not(:disabled){transform:scale(.96)}.race-type-box.selected{background:#ef444426;border-color:#ef4444;border-width:3px;transform:scale(1.02)}.race-type-image{width:100%;height:100%;object-fit:cover}.race-type-label-container{position:absolute;bottom:-1px;left:-1px;right:-1px;padding:12px 6px 10px;background:linear-gradient(to top,rgba(0,0,0,.95) 0%,rgba(0,0,0,.85) 70%,transparent 100%);text-align:center;border-radius:0 0 14px 14px;display:flex;flex-direction:column;gap:4px}.race-type-label{font-size:11px;font-weight:700;color:#fff;line-height:1.2;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}.race-type-price{display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.price-cost{display:flex;align-items:center;gap:2px;font-size:10px;font-weight:700;color:#fff}.price-icon{width:12px;height:12px;object-fit:contain}.price-or{font-size:9px;font-weight:500;color:#ffffff80;text-transform:lowercase}.price-legendary{font-size:10px;font-weight:800;background:linear-gradient(135deg,gold,orange);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-transform:uppercase;letter-spacing:.3px}.body-type-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;width:100%;max-width:100%;padding:4px}.body-type-box{width:100%;aspect-ratio:3/4;background:#1a1a1a99;border:2px solid rgba(255,255,255,.1);border-radius:16px;cursor:pointer;transition:all .3s cubic-bezier(.34,1.56,.64,1);padding:0;overflow:hidden;position:relative;display:flex;flex-direction:column;animation:fadeIn .4s ease-out}.body-type-box:active:not(:disabled){transform:scale(.96)}.body-type-box.selected{background:#ef444426;border-color:#ef4444;border-width:3px;transform:scale(1.02)}.body-type-image{width:100%;height:100%;object-fit:cover}.body-type-label{position:absolute;bottom:-1px;left:-1px;right:-1px;padding:16px 8px 14px;background:linear-gradient(to top,rgba(0,0,0,.95) 0%,rgba(0,0,0,.8) 60%,transparent 100%);text-align:center;font-size:14px;font-weight:700;color:#fff;line-height:1.2;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;border-radius:0 0 14px 14px}.proportions-section{display:flex;flex-direction:column;gap:32px;padding:4px 0}.size-group-new{display:flex;flex-direction:column;gap:16px}.size-label-new{font-size:18px;font-weight:700;color:#fff;text-align:center;letter-spacing:.3px}.size-selector-new{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.size-option-new{padding:16px 12px;background:#1a1a1a99;border:2px solid rgba(255,255,255,.1);border-radius:12px;color:#fff;font-size:14px;font-weight:700;font-family:inherit;cursor:pointer;transition:all .25s ease}.size-option-new:active:not(:disabled){transform:scale(.95)}.size-option-new.selected{background:linear-gradient(135deg,#ef4444,#dc2626);border-color:#ef4444;box-shadow:0 4px 16px #ef444480}.next-button-bottom{position:fixed;bottom:30px;right:30px;padding:18px 36px;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:50px;color:#fff;font-size:16px;font-weight:800;font-family:inherit;cursor:pointer;transition:all .25s cubic-bezier(.34,1.56,.64,1);box-shadow:0 8px 24px #ef444480;letter-spacing:.8px;z-index:90;display:flex;align-items:center;gap:8px}.next-button-bottom:active:not(:disabled){transform:scale(.93);box-shadow:0 4px 16px #ef444466}.wizard-page.final-page{display:flex;flex-direction:column;min-height:100%}.final-inputs{display:flex;flex-direction:column;gap:24px;flex:1;min-height:0;position:relative}.input-group{display:flex;flex-direction:column;gap:8px}.input-group.flex-grow{flex:1;min-height:0}.final-inputs.textarea-focused .input-group:not(.textarea-group){display:none}.final-inputs.textarea-focused .textarea-group{position:fixed;top:60px;left:12px;right:12px;z-index:100;flex:none}.input-label-centered{font-size:18px;font-weight:700;color:#fff;display:flex;align-items:center;justify-content:center;gap:8px}.premium-badge-inline{padding:4px 10px;background:linear-gradient(135deg,gold,orange);color:#000;font-size:11px;font-weight:800;border-radius:8px;text-transform:uppercase;letter-spacing:.5px}.name-input-final{width:100%;padding:18px 20px;background:#1a1a1a99;border:2px solid rgba(255,255,255,.1);border-radius:16px;color:#fff;font-size:18px;font-weight:600;font-family:inherit;text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.name-input-final:focus{outline:none;border-color:#ef4444;background:#1a1a1ae6}.name-input-final::placeholder{color:#ffffff4d;font-weight:500}.description-textarea-final{flex:1;width:100%;padding:18px 20px;background:#1a1a1a99;border:2px solid rgba(255,255,255,.1);border-radius:16px;color:#fff;font-size:15px;font-family:inherit;line-height:1.6;resize:none;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);min-height:200px;max-height:300px}.final-inputs.textarea-focused .description-textarea-final{min-height:300px;max-height:50vh;background:#1a1a1af2;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.description-textarea-final:focus{outline:none;border-color:#ef4444;background:#1a1a1ae6}.description-textarea-final::placeholder{color:#ffffff4d}.textarea-hint{font-size:13px;color:#ffffff80;text-align:center;line-height:1.4}.input-hint{display:flex;align-items:center;gap:12px;font-size:13px;color:#fff6}.input-hint.center{justify-content:center}.input-hint.right{justify-content:flex-end}.input-hint .warning{color:#ff9500;font-weight:700}.error-message{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 18px;margin:16px 0;background:#ff444426;border:1px solid rgba(255,68,68,.4);border-radius:14px;color:#ff6b6b;font-size:14px;font-weight:600;line-height:1.4}.error-icon{font-size:20px;flex-shrink:0}.creation-footer{position:fixed;bottom:0;left:0;right:0;padding:16px 20px;padding-bottom:max(16px,env(safe-area-inset-bottom));background:linear-gradient(to top,rgba(10,10,10,.98) 0%,transparent 100%);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);z-index:90}.create-button{width:100%;height:60px;max-height:60px;padding:0 24px;background:linear-gradient(135deg,#ef4444,#dc2626);border:none;border-radius:50px;color:#fff;font-size:18px;font-weight:800;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 8px 28px #ef444466;letter-spacing:.5px;text-align:center}.create-button>span{display:flex;align-items:center;line-height:1}.create-button:active:not(:disabled){transform:scale(.96)}.create-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.button-cost{display:flex;align-items:center;gap:4px;font-size:16px;font-weight:800;opacity:.9}.button-cost-icon{width:18px;height:18px;object-fit:contain}.spinner{width:18px;height:18px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0;display:inline-block}@media(max-width:380px){.hair-color-grid{grid-template-columns:repeat(4,1fr);gap:8px}.hair-style-grid{gap:6px}.hair-style-box{padding:8%;border-radius:10px}.eye-color-grid{grid-template-columns:repeat(4,1fr);gap:10px}.page-title{font-size:18px}.wizard-page{padding:0 10px 100px}}@media(min-width:381px)and (max-width:420px){.hair-style-grid{gap:8px}.hair-style-box{padding:10%}}@media(min-width:421px){.hair-color-grid{gap:14px}.hair-style-grid{gap:12px}.hair-style-box{padding:12%;border-radius:14px}.eye-color-grid{gap:18px}}.character-creation-modal.keyboard-active .creation-footer,.character-creation-modal.keyboard-active .next-button-bottom,.character-creation-modal.textarea-active .creation-footer{opacity:0;pointer-events:none;transition:opacity .2s ease}.character-creation-modal.textarea-active .creation-footer{transition:none}@supports (-webkit-touch-callout: none){.wizard-container{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}.creation-footer{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}.next-button-bottom{bottom:calc(30px + env(safe-area-inset-bottom,0px))}}.voice-selection-section{display:flex;flex-direction:column;gap:12px;padding:0 16px}.voice-hint{text-align:center;color:#ffffff80;font-size:13px;margin-bottom:4px}.voice-options-list{display:flex;flex-direction:column;gap:10px}.voice-option{display:flex;flex-direction:row;align-items:center;gap:14px;padding:16px 18px;background:#ffffff0d;border:2px solid transparent;border-radius:14px;cursor:pointer;transition:all .2s ease;position:relative}.voice-option:active{transform:scale(.98)}.voice-option.selected{background:linear-gradient(135deg,#ef444426,#f9731626);border-color:#f97316}.voice-icon-wrapper{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:linear-gradient(135deg,#ef444433,#f9731633);border-radius:10px;color:#f97316;flex-shrink:0}.voice-option.selected .voice-icon-wrapper{background:linear-gradient(135deg,#ef4444,#f97316);color:#fff}.voice-label{font-size:15px;font-weight:500;color:#fff;flex:1;text-align:left}.voice-check{font-size:18px;font-weight:700;color:#f97316}.shop-banner-gallery{margin:20px 20px 0;height:76px!important;min-height:76px!important;max-height:76px!important;padding:10px 8px;border-radius:14px;position:relative;overflow:hidden;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;background:radial-gradient(circle at 16% 48%,rgba(239,68,68,.28),transparent 52%),radial-gradient(circle at 86% 28%,rgba(249,115,22,.18),transparent 56%),linear-gradient(145deg,#251414f2,#110a0afa);border:1px solid rgba(249,115,22,.45);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;box-shadow:inset 0 1px #ffffff1f,0 10px 20px #1e09096b}.shop-banner-gallery:active{transform:scale(.985)}.shop-banner-gallery:hover{border-color:#f97316b8;box-shadow:inset 0 1px #ffffff26,0 14px 24px #250b0b8c}.shop-banner-icon{width:20px;height:20px;color:#ff7e79;justify-self:center;align-self:center;flex-shrink:0;filter:drop-shadow(0 0 6px rgba(239,68,68,.9)) drop-shadow(0 0 12px rgba(249,115,22,.62))}.shop-banner-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;padding:0;box-sizing:border-box;min-width:0;text-align:center}.shop-banner-title{font-size:26px;font-weight:600;color:#fff4ef;text-transform:uppercase;letter-spacing:.02em;line-height:1.05}.shop-banner-subtitle{margin-top:2px;color:#ffcab4d1;font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-banner-arrow{width:20px;height:20px;color:#ffc5a3f2;justify-self:center;align-self:center;flex-shrink:0}.personas-gallery{padding:20px;max-width:100%;margin:0 auto}.personas-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.persona-card{position:relative;background:var(--bg-secondary);border-radius:20px;overflow:hidden;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);border:1px solid rgba(255,255,255,.06);box-shadow:0 4px 12px #0000004d;padding-top:133%}.persona-card:active{transform:translateY(2px) scale(.98);box-shadow:0 2px 8px #0006}.persona-card:hover{border-color:#ef44444d;transform:scale(1.05)}.persona-image{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:20px;transition:transform .3s ease}.persona-card:active .persona-image{transform:scale(1.05)}.persona-image-placeholder{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--gradient-primary)}.persona-image-placeholder.generating{background:linear-gradient(135deg,#ef44444d,#f973164d);animation:pulse 2s ease-in-out infinite;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}@keyframes pulse{0%,to{opacity:.8}50%{opacity:1}}.placeholder-icon{font-size:48px;opacity:.4;filter:drop-shadow(0 2px 8px rgba(0,0,0,.3));position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.spinner-small{width:32px;height:32px;border:3px solid rgba(255,255,255,.2);border-top-color:#fffc;border-radius:50%;animation:spin .8s linear infinite}.generating-text{font-size:12px;font-weight:600;color:#ffffffe6;text-transform:uppercase;letter-spacing:.5px;text-shadow:0 2px 4px rgba(0,0,0,.3);white-space:nowrap;margin-top:8px}.persona-info{position:absolute;bottom:0;left:0;right:0;padding:8px;background:#0a0a0a80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;flex-direction:column;justify-content:center}.persona-name{font-size:17px;font-weight:700;margin:0;color:var(--text-primary);letter-spacing:-.3px}.persona-description{font-size:10px;color:#ffffffd9;margin:0;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;min-height:30px}.loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;color:var(--text-secondary)}.spinner{width:44px;height:44px;border:3px solid rgba(239,68,68,.15);border-top-color:var(--color-red);border-right-color:var(--color-orange);border-radius:50%;animation:spin .7s linear infinite;margin-bottom:20px}@keyframes spin{to{transform:rotate(360deg)}}.loading p{font-weight:500;letter-spacing:.3px}.empty-state{text-align:center;padding:80px 20px;color:var(--text-secondary)}.empty-state p{font-size:16px;font-weight:500;margin:0}.persona-card.create-card{background:#000;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;transition:all .25s cubic-bezier(.4,0,.2,1);box-shadow:none;position:relative;overflow:hidden}.persona-card.create-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#ef44444d,#f973164d);z-index:0}.persona-card.create-card:after{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent,rgba(255,255,255,.1),transparent);animation:shimmer 5s infinite;z-index:0}@keyframes shimmer{0%{transform:translate(-100%) translateY(-100%) rotate(45deg)}to{transform:translate(100%) translateY(100%) rotate(45deg)}}.persona-card.create-card:hover{transform:scale(1.03) translateY(-4px);box-shadow:none;border-color:#ef44444d}.persona-card.create-card:active{transform:scale(.98);box-shadow:none}.create-card-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;z-index:1;width:90%}.create-card-title{font-size:18px;font-weight:700;color:#fff;margin:0 0 8px;letter-spacing:-.3px;text-shadow:0 2px 8px rgba(0,0,0,.5)}.create-card-subtitle{font-size:13px;color:#ffffffd9;margin:0;line-height:1.4;text-shadow:0 1px 4px rgba(0,0,0,.3);padding:0 8px;min-height:36px}.create-card-footer{position:absolute;bottom:12px;left:0;right:0;z-index:1;text-align:center}.create-card-free-text{font-size:9px;font-weight:700;color:#22c55e;text-transform:uppercase;letter-spacing:.5px;text-shadow:0 1px 3px rgba(0,0,0,.4)}.custom-tag{position:absolute;top:8px;right:8px;z-index:10;padding:.25rem .75rem;border-radius:.75rem;font-size:.75rem;font-weight:600;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:linear-gradient(to right,#ef444480,#f9731680)}@media(min-width:768px){.custom-tag{padding:.375rem 1rem;font-size:.875rem}}@media(max-width:380px){.personas-grid{gap:12px}.persona-card{border-radius:16px}.create-card-title{font-size:18px}.create-card-subtitle{font-size:12px}.create-card-free-text{font-size:8px}}.plans-page{min-height:100vh;padding-bottom:100px;padding-top:0}.sale-tag{position:absolute;top:-6px;right:-6px;background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;font-size:10px;font-weight:700;padding:4px 8px;border-radius:8px;z-index:10;box-shadow:0 2px 6px #dc262666;animation:pop-in .3s ease-out}@keyframes pop-in{0%{transform:scale(0)}50%{transform:scale(1.1)}to{transform:scale(1)}}.package-price-container{display:flex;flex-direction:column;align-items:center;gap:2px}.original-price{font-size:11px;color:var(--text-secondary);text-decoration:line-through;opacity:.7;display:flex;align-items:center;gap:2px}.original-price .star-icon-inline{width:10px;height:10px;opacity:.6}.discounted-price{font-size:14px;font-weight:700;color:#4ade80;display:flex;align-items:center;gap:3px}.discounted-price .star-icon-inline{width:12px;height:12px;filter:hue-rotate(90deg) saturate(1.5)}.tier-price-container{display:flex;flex-direction:column;align-items:center;gap:2px;margin-bottom:4px}.plans-tabs{display:flex;gap:0;margin:0 20px 20px;border-bottom:2px solid rgba(255,255,255,.1)}.tab-button{flex:1;padding:12px 16px;background:transparent;border:none;color:var(--text-secondary);font-size:14px;font-weight:600;cursor:pointer;position:relative;transition:color .2s ease}.tab-button.active{color:var(--text-primary)}.tab-button.active:after{content:"";position:absolute;bottom:-2px;left:0;right:0;height:2px;background:var(--gradient-primary)}.section-description{margin:0 20px 20px;text-align:center}.section-description p{color:var(--text-secondary);font-size:14px;margin:0}.plans-section{margin:0 20px}.plans-title{text-align:center;font-size:18px;font-weight:600;color:var(--text-primary);margin:0 0 20px}.plans-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:24px}.plan-card{background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:16px;padding:16px;cursor:pointer;transition:all .2s ease;position:relative}.plan-card.full-width{grid-column:1 / -1}.plan-card:active{transform:scale(.98)}.plan-card.selected{background:var(--gradient-subtle);border-color:var(--color-red);box-shadow:0 0 0 2px var(--color-red)}.plan-content{display:flex;justify-content:space-between;align-items:flex-start}.plan-info{flex:1}.plan-duration{font-size:16px;font-weight:600;background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:6px}.plan-energy{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:8px;display:flex;align-items:center;gap:4px}.plan-price{font-size:16px;font-weight:700;color:var(--text-primary)}.plan-period{font-size:12px;font-weight:400;color:var(--text-secondary)}.plan-selector{width:24px;height:24px;border-radius:50%;border:2px solid rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;flex-shrink:0}.plan-card.selected .plan-selector{background:var(--gradient-primary);border-color:var(--color-red)}.checkmark{width:14px;height:14px;color:#fff}.features-list{margin-bottom:24px;display:flex;flex-direction:column;gap:12px}.feature-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.05)}.feature-item:last-child{border-bottom:none}.feature-icon{font-size:20px;width:24px;text-align:center}.feature-text{font-size:15px;color:var(--text-primary);font-weight:400}.tokens-section{margin-bottom:24px}.token-packages-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 20px}.token-package{background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:12px;padding:12px 8px;cursor:pointer;transition:all .2s ease;position:relative;text-align:center}.token-package:active{transform:scale(.98)}.token-package.selected{background:var(--gradient-subtle);border-color:var(--color-red);box-shadow:0 0 0 2px var(--color-red)}.token-package .badge{position:absolute;top:-8px;left:50%;transform:translate(-50%);background:var(--gradient-primary);color:#fff;font-size:10px;padding:2px 8px;border-radius:8px;font-weight:600;white-space:nowrap}.token-package .badge.best-value{background:linear-gradient(135deg,gold,orange)}.package-amount{font-size:14px;font-weight:700;color:var(--text-primary);margin-bottom:4px}.package-price{font-size:12px;color:var(--text-secondary);display:flex;align-items:center;justify-content:center;gap:4px}.token-package .checkmark{position:absolute;top:8px;right:8px;width:16px;height:16px;color:var(--color-red)}.tiers-section{margin-bottom:24px}.tiers-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0 20px}.tier-card{background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:16px;padding:16px;cursor:pointer;transition:all .2s ease;position:relative;text-align:center}.tier-card:active{transform:scale(.98)}.tier-card.selected{background:var(--gradient-subtle);border-color:var(--color-red);box-shadow:0 0 0 2px var(--color-red)}.tier-card .badge{position:absolute;top:-8px;left:50%;transform:translate(-50%);background:var(--gradient-primary);color:#fff;font-size:10px;padding:2px 8px;border-radius:8px;font-weight:600}.tier-name{font-size:18px;font-weight:700;background:var(--gradient-primary);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:8px}.tier-daily{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:4px}.tier-price{font-size:14px;color:var(--text-secondary);margin-bottom:4px;display:flex;align-items:center;justify-content:center;gap:4px}.tier-total{font-size:12px;color:var(--text-secondary);opacity:.7}.tier-card .checkmark{position:absolute;top:12px;right:12px;width:18px;height:18px;color:var(--color-red)}.upgrade-button-sticky{position:fixed;bottom:0;left:0;right:0;width:100%;padding:16px 20px;background:var(--gradient-primary);color:var(--text-primary);border:none;border-radius:0;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 -4px 16px #0000004d;z-index:100}.upgrade-button-sticky:active{transform:scale(.98)}.upgrade-button-sticky:disabled{opacity:.6;cursor:not-allowed}.footer-note{text-align:center;padding:24px 20px;color:#ffffff4d;font-size:13px}.footer-note p{margin:0;font-weight:400}.premium-page{min-height:100vh;padding-bottom:100px;padding-top:0}.subscription-section{padding:20px}.subscription-cards{display:flex;flex-direction:column;gap:12px}.subscription-card{background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:16px;padding:16px 20px;cursor:pointer;transition:all .2s ease;position:relative;display:flex;align-items:center;justify-content:space-between}.subscription-card:active{transform:scale(.98)}.subscription-card.selected{background:var(--gradient-subtle);border-color:var(--color-red);box-shadow:0 0 0 2px var(--color-red)}.subscription-card .badge.popular{position:absolute;top:-10px;left:50%;transform:translate(-50%);background:linear-gradient(135deg,gold,orange);color:#000;font-size:10px;padding:4px 12px;border-radius:10px;font-weight:700;white-space:nowrap;box-shadow:0 2px 8px #ffd70066}.subscription-card .discount-tag{position:absolute;top:-8px;right:12px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;font-size:11px;font-weight:700;padding:3px 8px;border-radius:8px;box-shadow:0 2px 6px #22c55e66}.subscription-card .plan-period{font-size:18px;font-weight:600;color:var(--text-primary)}.subscription-card .plan-price-container{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.subscription-card .original-price{font-size:12px;color:var(--text-secondary);text-decoration:line-through;opacity:.6;display:flex;align-items:center;gap:2px}.subscription-card .original-price .star-icon-inline{width:10px;height:10px;opacity:.6}.subscription-card .current-price{font-size:18px;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:4px}.subscription-card .current-price .star-icon-inline{width:16px;height:16px}.subscription-card .checkmark{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:20px;height:20px;color:var(--color-red);display:none}.subscription-card.selected .checkmark{display:block}.subscription-card.selected .plan-price-container{margin-right:30px}.benefits-section{margin:24px 20px;padding:20px;background:#ffffff08;border-radius:16px;border:1px solid rgba(255,255,255,.08)}.benefits-header{font-size:16px;font-weight:600;color:var(--text-primary);margin-bottom:16px;text-align:center}.benefits-list{display:flex;flex-direction:column;gap:12px}.benefit-item{display:flex;align-items:center;gap:12px}.benefit-icon{font-size:18px;width:32px;text-align:center;flex-shrink:0}.benefit-text{font-size:14px;color:var(--text-primary);font-weight:400}.star-icon-inline{width:14px;height:14px;object-fit:contain;display:inline-block;vertical-align:middle}.purchase-button-sticky{position:fixed;bottom:0;left:0;right:0;width:100%;padding:16px 20px;background:var(--gradient-primary);color:var(--text-primary);border:none;border-radius:0;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 -4px 16px #0000004d;z-index:100}.purchase-button-sticky:active{transform:scale(.98)}.purchase-button-sticky:disabled{opacity:.6;cursor:not-allowed}.referrals-page{min-height:100vh;padding:24px 20px 100px;background:#000}.referrals-hero{text-align:center;margin-bottom:24px}.hero-icon{font-size:64px;margin-bottom:16px;line-height:1}.hero-title{font-size:24px;font-weight:600;color:#fff;margin:0;line-height:1.3}.earnings-card{background:#1e1e1e99;border:none;border-radius:16px;padding:24px 20px;text-align:left;margin-bottom:24px}.earnings-label{font-size:14px;color:#ffffff80;margin-bottom:8px;font-weight:400}.earnings-amount{font-size:32px;font-weight:700;color:#fff;margin-bottom:4px;letter-spacing:-.5px;line-height:1}.earnings-description{font-size:15px;color:#ffffffe6;font-weight:400}.referrals-stats{background:transparent;border:none;border-radius:0;padding:0;margin-bottom:24px}.stats-title{font-size:16px;font-weight:600;color:#fff;margin:0 0 16px}.stats-item{display:flex;align-items:center;gap:12px;padding:0;border:none;margin-bottom:16px}.stats-icon{font-size:24px;line-height:1}.stats-label{flex:1;font-size:15px;color:#fff;font-weight:400}.stats-count{font-size:16px;font-weight:400;color:#fff9}.stats-note{margin-top:0;font-size:13px;color:#ffffff80;line-height:1.5}.invite-button{position:fixed;bottom:8px;left:8px;right:8px;width:calc(100% - 16px);padding:16px 20px;background:#fff;color:#000;border:none;border-radius:12px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 16px #0000004d;z-index:100}.invite-button:active{transform:scale(.98);background:#f0f0f0}.invite-button:disabled{opacity:.6;cursor:not-allowed}.settings-page{min-height:100vh;padding:20px}.settings-section{margin-bottom:24px;padding:20px;background:#ffffff08;border-radius:16px;border:1px solid rgba(255,255,255,.05)}.section-title{font-size:14px;font-weight:500;color:var(--text-secondary);margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:8px}.section-title-icon{width:18px;height:18px;object-fit:contain}.plan-display{display:flex;flex-direction:column;gap:12px}.plan-badge{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#ffffff0d;border-radius:12px;border:1px solid rgba(255,255,255,.1)}.premium-icon{font-size:20px;line-height:1}.plan-name{font-size:18px;font-weight:600;color:var(--text-primary)}.upgrade-plans-button{width:100%;padding:14px;margin-top:16px;background:var(--gradient-primary);color:var(--text-primary);border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #ef44444d}.upgrade-plans-button:active{transform:scale(.98);box-shadow:0 2px 8px #ef444466}.settings-action-button{width:100%;display:flex;align-items:center;gap:12px;padding:16px;background:#ffffff0d;border:2px solid rgba(255,255,255,.1);border-radius:12px;color:var(--text-primary);font-size:16px;cursor:pointer;transition:all .2s ease;margin-bottom:12px}.settings-action-button:last-child{margin-bottom:0}.settings-action-button:active{transform:scale(.98);background:#ffffff14}.premium-button{background:linear-gradient(135deg,#8b45ff26,#6d28d926);border-color:#8b45ff4d}.friends-button{background:linear-gradient(135deg,#3b82f626,#2563eb26);border-color:#3b82f64d}.tokens-button{background:linear-gradient(135deg,#f59e0b26,#d9770626);border-color:#f59e0b4d}.voice-row{display:flex;align-items:center;gap:10px;padding-top:12px}.voice-icon{color:var(--color-red);flex-shrink:0}.voice-label{flex:1;font-size:14px;color:var(--text-primary)}.button-icon{width:24px;height:24px;object-fit:contain;line-height:1}.button-text{flex:1;font-weight:600;text-align:left}.language-selector-button{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:12px;color:var(--text-primary);font-size:16px;cursor:pointer;transition:all .2s ease}.language-selector-button:active{transform:scale(.98);background:#ffffff14}.language-name{font-weight:500}.chevron-icon{width:20px;height:20px;color:var(--text-secondary);flex-shrink:0}.toggle{width:44px;height:24px;border-radius:12px;background:#fff3;cursor:pointer;flex-shrink:0;padding:2px;box-sizing:border-box}.toggle.on{background:var(--color-red)}.toggle-knob{width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;transition:margin-left .2s ease;margin-left:0}.toggle.on .toggle-knob{margin-left:20px}.shop-page{padding:16px 16px 100px}.shop-mood-card{padding:14px;background:radial-gradient(circle at 14% 0%,rgba(239,68,68,.14),transparent 48%),linear-gradient(145deg,#221414f2,#120c0cf2);border-radius:18px;border:1px solid rgba(239,68,68,.28);box-shadow:inset 0 1px #ffffff14,0 10px 20px #00000059;margin-bottom:14px}.shop-character-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.shop-character-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;border:1px solid rgba(249,115,22,.55);box-shadow:0 0 0 2px #ef444433,0 0 16px #f9731659;flex-shrink:0;background:#ffffff0f;position:relative}.shop-character-avatar-image{width:100%;height:100%;object-fit:cover}.shop-character-avatar-fallback{width:100%;height:100%;display:inline-flex;align-items:center;justify-content:center;color:#ffd9d9;font-size:20px;font-weight:700}.shop-character-meta{display:flex;flex-direction:column;min-width:0}.shop-character-name{font-size:14px;font-weight:700;color:#fff;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shop-character-mood{margin-top:2px;color:#ffc9b8;font-size:12px;font-weight:600}.skeleton-wave{background:linear-gradient(90deg,#ffffff0f,#ffffff21 45%,#ffffff0f);background-size:220% 100%;animation:shop-wave 1.25s linear infinite}@keyframes shop-wave{0%{background-position:200% 0}to{background-position:-200% 0}}.mood-bar-label{font-size:14px;font-weight:600;color:var(--text-primary)}.mood-bar-percent{font-size:13px;font-weight:700;color:#ffd2a8;margin-left:auto}.mood-bar-track{width:100%;height:8px;background:#ffffff1a;border-radius:4px;overflow:hidden;margin-bottom:8px}.mood-bar-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,#ef4444,#f97316,#facc15);transition:width .6s ease;min-width:4px}.mood-bar-hint{font-size:12px;color:#fcc4aadb;display:block}.shop-subtitle{font-size:14px;color:var(--text-secondary);text-align:center;margin:0 0 16px}.shop-empty-state{padding:24px 16px;text-align:center;color:var(--text-secondary);background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:16px}.shop-items-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shop-item-card{display:flex;flex-direction:column;justify-content:space-between;min-height:238px;border-radius:16px;padding:10px;border:1px solid rgba(255,255,255,.14);background:#000;box-shadow:inset 0 1px #ffffff17,0 8px 14px #00000057;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.shop-item-card:active{transform:scale(.985)}.shop-item-card:hover{border-color:#f973168c;box-shadow:inset 0 1px #ffffff1f,0 12px 24px #00000073}.shop-item-card.purchasing{opacity:.7;pointer-events:none}.shop-item-content{display:flex;flex-direction:column;gap:6px}.shop-item-header{min-height:56px}.shop-item-name{margin:0;color:#fff5f3;font-size:14px;font-weight:700;line-height:1.15;letter-spacing:.01em}.shop-item-subtitle{margin:4px 0 0;color:#ffccbfbd;font-size:11px;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.shop-item-visual-zone{min-height:108px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#000}.shop-item-image{width:min(72%,120px);height:auto;max-height:96px;object-fit:contain}.shop-item-icon{width:min(56%,84px);height:auto;color:#ffd7c8;filter:drop-shadow(0 8px 14px rgba(0,0,0,.45))}.shop-item-emoji{font-size:54px;line-height:1;filter:drop-shadow(0 8px 14px rgba(0,0,0,.45))}.shop-price-pill{margin-top:8px;width:100%;border:none;border-radius:12px;padding:9px 10px;display:flex;align-items:center;justify-content:center;gap:6px;background:linear-gradient(180deg,#f97316,#dc2626);color:#fff7ef;box-shadow:inset 0 1px #fff3,0 6px 14px #7f1d1d6b;cursor:pointer}.shop-price-pill:active{transform:scale(.985)}.shop-price-pill.buying{opacity:.78;cursor:not-allowed}.shop-price-value{font-size:23px;font-weight:700;letter-spacing:.01em;line-height:1}.shop-price-icon{width:16px;height:16px;object-fit:contain;filter:drop-shadow(0 0 6px rgba(255,196,77,.45))}.buy-spinner{width:19px;height:19px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:shop-spin .75s linear infinite}@keyframes shop-spin{to{transform:rotate(360deg)}}@media(min-width:700px){.shop-page{padding:20px}.shop-items-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.shop-item-card{min-height:252px}}.tokens-page{min-height:100vh;padding:20px 20px 100px;background:#0a0a0a}.tokens-discount-banner{position:relative;margin:0 -20px 20px;padding:16px 20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#7c3aed,#db2777,#f59e0b);background-size:200% 200%;animation:tokens-gradient-shift 6s ease-in-out infinite;overflow:hidden}@keyframes tokens-gradient-shift{0%,to{background-position:0% 50%}50%{background-position:100% 50%}}.tokens-discount-sparkles{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}.tokens-discount-sparkles .sparkle{position:absolute;opacity:0;font-size:12px;animation:tokens-sparkle-float linear infinite}@keyframes tokens-sparkle-float{0%{opacity:0;transform:translateY(8px) scale(.5)}15%{opacity:1}50%{opacity:.8;transform:translateY(-12px) scale(1)}85%{opacity:.6}to{opacity:0;transform:translateY(-24px) scale(.5)}}.tokens-discount-sparkles .sparkle:nth-child(1){left:5%;top:60%;animation-duration:2.5s;animation-delay:0s}.tokens-discount-sparkles .sparkle:nth-child(2){left:15%;top:30%;animation-duration:3s;animation-delay:.4s}.tokens-discount-sparkles .sparkle:nth-child(3){left:30%;top:70%;animation-duration:2.8s;animation-delay:.8s}.tokens-discount-sparkles .sparkle:nth-child(4){left:50%;top:20%;animation-duration:3.2s;animation-delay:.2s}.tokens-discount-sparkles .sparkle:nth-child(5){left:65%;top:55%;animation-duration:2.6s;animation-delay:1s}.tokens-discount-sparkles .sparkle:nth-child(6){left:78%;top:40%;animation-duration:3.4s;animation-delay:.6s}.tokens-discount-sparkles .sparkle:nth-child(7){left:88%;top:65%;animation-duration:2.9s;animation-delay:1.2s}.tokens-discount-sparkles .sparkle:nth-child(8){left:95%;top:25%;animation-duration:3.1s;animation-delay:.3s}.tokens-discount-content{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:12px}.tokens-discount-icon{font-size:24px;animation:tokens-icon-bounce 2s ease-in-out infinite}.tokens-discount-icon:last-child{animation-delay:.3s}@keyframes tokens-icon-bounce{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.1)}}.tokens-discount-text-group{display:flex;flex-direction:column;align-items:center;gap:2px}.tokens-discount-title{font-size:16px;font-weight:800;color:#fff;text-transform:uppercase;letter-spacing:1.5px;text-shadow:0 0 10px rgba(255,255,255,.5),0 0 20px rgba(168,85,247,.4);animation:tokens-text-glow 2s ease-in-out infinite}.tokens-discount-subtitle{font-size:12px;font-weight:600;color:#ffffffe6;letter-spacing:.5px;text-shadow:0 0 8px rgba(255,255,255,.3)}@keyframes tokens-text-glow{0%,to{text-shadow:0 0 10px rgba(255,255,255,.5),0 0 20px rgba(168,85,247,.4)}50%{text-shadow:0 0 15px rgba(255,255,255,.7),0 0 30px rgba(168,85,247,.6),0 0 45px rgba(219,39,119,.3)}}.packages-list{display:flex;flex-direction:column;gap:8px;margin-bottom:24px}.token-package-item{background:#ffffff08;border:2px solid rgba(255,255,255,.1);border-radius:10px;padding:12px 14px;cursor:pointer;transition:all .2s ease;display:flex;justify-content:space-between;align-items:center}.token-package-item:active{transform:scale(.98)}.token-package-item.selected{background:#ffffff14;border-color:var(--color-red)}.package-left{display:flex;align-items:center;gap:10px}.package-radio{width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.token-package-item.selected .package-radio{border-color:var(--color-red)}.radio-dot{width:10px;height:10px;background:var(--color-red);border-radius:50%}.package-amount-display{display:flex;align-items:center;gap:6px}.coin-icon{width:16px;height:16px;object-fit:contain}.amount-text{font-size:15px;font-weight:600;color:var(--text-primary)}.package-right{text-align:right;display:flex;align-items:center;justify-content:flex-end;gap:10px}.package-price-stars{font-size:14px;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:6px}.package-price-sale{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.original-price-inline{font-size:12px;color:var(--text-secondary);text-decoration:line-through;opacity:.6;display:flex;align-items:center;gap:3px}.original-price-inline .star-icon{width:12px;height:12px;opacity:.6}.discounted-price-inline{font-size:15px;font-weight:700;color:#4ade80;display:flex;align-items:center;gap:4px}.discounted-price-inline .star-icon{width:14px;height:14px;filter:hue-rotate(90deg) saturate(1.5)}.sale-tag-small{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;font-size:10px;font-weight:700;padding:4px 6px;border-radius:6px;box-shadow:0 2px 6px #dc26264d}.star-icon{width:16px;height:16px;object-fit:contain}.purchase-button-tokens{position:fixed;bottom:0;left:0;right:0;width:100%;padding:16px 20px;background:var(--gradient-primary);color:var(--text-primary);border:none;border-radius:0;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 -4px 16px #0000004d;z-index:100}.purchase-button-tokens:active{transform:scale(.98)}.purchase-button-tokens:disabled{opacity:.6;cursor:not-allowed}
