.photo-upload{max-width:1000px;margin:0 auto;padding:2rem 1.5rem}.upload-header{text-align:center;margin-bottom:1.5rem}.upload-header h3{font-size:1.25rem;font-weight:700;margin-bottom:.5rem;color:#1a1a1a}.upload-description{font-size:1rem;color:#6b7280;margin-bottom:.75rem}.photos-status{font-size:.875rem;font-weight:600;padding:.5rem 1rem;border-radius:8px;margin-top:.5rem;display:inline-block}.photos-status.insufficient{background:#fef3c7;color:#92400e;border:1px solid #fbbf24}.photos-status.sufficient{background:#d1fae5;color:#065f46;border:1px solid #10b981}.photos-status.converting{margin-left:1rem;background:#dbeafe;color:#1e40af;border:1px solid #3b82f6;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.upload-area{border:3px dashed #d1d5db;border-radius:12px;padding:2.5rem 1.5rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#f9fafb;margin-bottom:1.5rem}.upload-area:hover{border-color:#667eea;background:#f3f4f6}.upload-area.dragging{border-color:#667eea;background:#eef2ff;transform:scale(1.02)}.upload-icon{font-size:3rem;margin-bottom:.75rem}.upload-text{font-size:1.25rem;font-weight:600;color:#1a1a1a;margin-bottom:.5rem}.upload-hint{font-size:.875rem;color:#6b7280}.photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:1rem;margin-bottom:2rem}.photo-item{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a}.photo-preview{width:100%;height:100%;position:relative}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-number{position:absolute;top:.5rem;left:.5rem;background:#000000b3;color:#fff;width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.875rem}.remove-photo{position:absolute;top:.5rem;right:.5rem;width:2rem;height:2rem;border-radius:50%;background:#ef4444e6;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;transition:all .2s ease;z-index:10}.remove-photo:hover:not(:disabled){background:#ef4444;transform:scale(1.1)}@media (max-width: 768px){.photo-upload{padding:1.5rem 1rem}.upload-area{padding:3rem 1.5rem}.upload-icon{font-size:3rem}.photos-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:.75rem}.upload-header h2{font-size:1.5rem}}.game-grid-container{width:100%;max-width:800px;margin:0 auto;padding:2rem 1rem;display:flex;flex-direction:column;align-items:center;--grid-max: min(100%, calc(100vh - 17rem) )}@media (min-width: 769px){.game-grid-container{padding:1.5rem}.game-grid{gap:1rem}}.game-stats{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;font-size:1.25rem}.stat-item{display:flex;align-items:center;gap:.5rem;background:#fff;padding:.75rem 1.5rem;border-radius:12px;box-shadow:0 2px 8px #0000001a}.stat-label{font-weight:600;color:#6b7280}.stat-value{font-weight:700;color:#1a1a1a}.speed-selector{padding:.5rem!important}.speed-buttons{display:flex;gap:.25rem;background:#f3f4f6;padding:.25rem;border-radius:8px}.speed-btn{padding:.5rem .75rem;border:none;background:transparent;color:#6b7280;font-size:.875rem;font-weight:600;border-radius:6px;cursor:pointer;transition:all .2s;white-space:nowrap}.speed-btn:hover{background:#667eea1a;color:#667eea}.speed-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 4px #667eea4d}.game-grid{display:grid;gap:.75rem;width:100%;max-width:var(--grid-max, 100%);aspect-ratio:1;max-height:var(--grid-max, none)}.game-card{aspect-ratio:1;cursor:pointer;perspective:1000px;container-type:size;container-name:card}.game-card.preview-mode{cursor:default}.card-inner{position:relative;width:100%;height:100%;transition:transform var(--flip-duration, .65s);transform-style:preserve-3d}.game-card.flipped .card-inner{transform:rotateY(180deg)}.matched-card-image{width:100%;height:100%;border-radius:8px;overflow:hidden;box-shadow:0 4px 8px #00000026}.matched-card-image img{width:100%;height:100%;object-fit:cover}.game-card.just-matched{animation:matchSuccess var(--match-duration, .8s) ease-out;z-index:10}@keyframes matchSuccess{0%{transform:scale(1);box-shadow:0 4px 8px #00000026}25%{transform:scale(1.2) rotate(2deg);box-shadow:0 8px 20px #10b98166}50%{transform:scale(1.15) rotate(-2deg);box-shadow:0 12px 30px #10b98180}75%{transform:scale(1.1) rotate(1deg);box-shadow:0 8px 20px #10b98166}to{transform:scale(1) rotate(0);box-shadow:0 4px 8px #00000026}}.game-card.just-matched .matched-card-image,.game-card.just-matched .card-back{animation:matchGlow var(--match-duration, .8s) ease-out}@keyframes matchGlow{0%,to{filter:brightness(1)}50%{filter:brightness(1.2)}}.card-front,.card-back{position:absolute;width:100%;height:100%;backface-visibility:hidden;border-radius:8px;overflow:hidden;box-shadow:0 4px 8px #00000026}.card-front{display:flex;align-items:center;justify-content:center;transform:rotateY(0)}.card-back{background:#fff;transform:rotateY(180deg)}.card-back img,.matched-card-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.card-back-pattern{font-size:clamp(1.25rem,6vmin,3rem);color:#fff;font-weight:700;opacity:.8}@container card (min-width: 1px){.card-back-pattern{font-size:22cqmin}}.center-card{cursor:default;pointer-events:none}.center-card .card-front,.center-card .card-back{background:transparent!important;border:3px solid rgba(255,255,255,.3);box-shadow:inset 0 0 20px #0000001a,0 4px 12px #00000026}.center-logo{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:transparent}.center-emoji{font-size:clamp(1.5rem,8vmin,4rem);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}@container card (min-width: 1px){.center-emoji{font-size:40cqmin}.center-logo-img:not(.center-photo){max-width:60cqmin;max-height:60cqmin}.center-logo-img.center-photo{max-width:none;max-height:none;width:100%;height:100%}}.center-logo-img{width:80%;height:80%;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.center-logo-img.center-photo{width:100%;height:100%;object-fit:cover;border-radius:8px}.game-card.matched{cursor:default;pointer-events:none}.game-card.processing{pointer-events:none}.game-card:hover:not(.matched):not(.processing):not(.preview-mode) .card-front{transform:scale(1.05);box-shadow:0 6px 12px #0003}.game-complete-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2100;display:flex;align-items:center;justify-content:center;padding:max(1rem,env(safe-area-inset-top)) max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));background:#0000008c;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:game-complete-fade-in .2s ease-out}@keyframes game-complete-fade-in{0%{opacity:0}to{opacity:1}}.game-complete-panel{width:min(100%,22rem);max-height:min(90vh,24rem);overflow:auto;text-align:center;padding:1.25rem 1.35rem 1.1rem;background:linear-gradient(145deg,#10b981,#059669);color:#fff;border-radius:14px;box-shadow:0 20px 50px #00000059,0 0 0 1px #ffffff1f inset;animation:game-complete-pop-in .28s ease-out}@keyframes game-complete-pop-in{0%{transform:scale(.94) translateY(8px);opacity:0}to{transform:scale(1) translateY(0);opacity:1}}.game-complete-title{font-size:1.25rem;font-weight:800;line-height:1.25;margin:0 0 .65rem;letter-spacing:-.02em}.game-complete-line{font-size:.95rem;line-height:1.45;margin:0 0 .4rem;opacity:.95}.game-complete-line:last-of-type{margin-bottom:.85rem}.game-complete-close{width:100%;margin-top:.15rem;padding:.55rem 1rem;border:none;border-radius:10px;font-size:.9rem;font-weight:700;cursor:pointer;color:#047857;background:#fff;box-shadow:0 2px 8px #0000001f;transition:transform .15s ease,box-shadow .15s ease}.game-complete-close:hover{transform:translateY(-1px);box-shadow:0 4px 14px #0000002e}.game-complete-close:focus-visible{outline:2px solid white;outline-offset:2px}.game-grid-container.preview-mode{padding:1rem}.preview-mode .game-stats{display:none}.preview-mode .game-card{cursor:default}@media (max-width: 768px){.game-grid-container{padding:1rem .5rem}.game-grid{gap:.5rem}.game-stats{gap:.75rem;font-size:1rem}.speed-btn{padding:.4rem .6rem;font-size:.75rem}.stat-item{padding:.5rem 1rem}.game-complete-panel{width:min(100%,20rem);padding:1.1rem 1.15rem 1rem}.game-complete-title{font-size:1.15rem}.game-complete-line{font-size:.88rem}}@media (max-width: 480px){.game-grid{gap:.25rem}}.floating-game-preview{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;perspective:1500px;perspective-origin:center center;min-height:400px}.floating-game-preview .game-grid-container{max-width:500px;min-width:300px;flex-shrink:0}@media (max-width: 640px){.floating-game-preview .game-grid-container{min-width:0;max-width:100%}}.floating-game-preview .game-grid{gap:1rem}.floating-game-preview .card-back-pattern{font-size:2rem}.floating-game-preview .center-emoji{font-size:3rem}.floating-game-container{position:relative;transform-style:preserve-3d;animation:float3d 10s ease-in-out infinite;transform:rotateY(-20deg) rotateX(8deg);filter:drop-shadow(0 25px 50px rgba(0,0,0,.4));transition:transform .3s ease;width:100%;max-width:100%}.floating-game-container:hover{animation-play-state:paused;transform:rotateY(-15deg) rotateX(5deg) scale(1.02)}@keyframes float3d{0%,to{transform:rotateY(-20deg) rotateX(8deg) translateY(0)}25%{transform:rotateY(-15deg) rotateX(10deg) translateY(-15px)}50%{transform:rotateY(-25deg) rotateX(6deg) translateY(-8px)}75%{transform:rotateY(-18deg) rotateX(9deg) translateY(-12px)}}@media (max-width: 768px){.floating-game-container{transform:rotateY(-10deg) rotateX(3deg) scale(.8)}@keyframes float3d{0%,to{transform:rotateY(-10deg) rotateX(3deg) translateY(0) scale(.8)}25%{transform:rotateY(-8deg) rotateX(5deg) translateY(-8px) scale(.8)}50%{transform:rotateY(-12deg) rotateX(2deg) translateY(-4px) scale(.8)}75%{transform:rotateY(-9deg) rotateX(4deg) translateY(-6px) scale(.8)}}}.language-selector{display:flex;gap:.5rem;align-items:center}.lang-btn{padding:.5rem 1rem;border:1px solid #d1d5db;background:#fff;color:#1a1a1a;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s ease}.lang-btn:hover{background:#f3f4f6;border-color:#9ca3af}.lang-btn.active{background:#667eea;color:#fff;border-color:#667eea}.lang-btn.active:hover{background:#5568d3}.gradient-maker{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 12px #0000001a;width:100%;min-width:0}.gradient-maker-title{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem}.gradient-maker-subtitle{font-size:.875rem;color:#6b7280;margin-bottom:1.5rem}.gradient-maker-section:last-of-type .gradient-maker-subtitle{margin-bottom:1rem}.gradient-maker-divider{height:1px;background:linear-gradient(90deg,transparent,#e5e7eb 15%,#e5e7eb 85%,transparent);margin:1.75rem 0}.gradient-maker-section{margin:0}.background-preview-swatch{width:100%;height:56px;border-radius:12px;border:2px solid #e5e7eb;margin-bottom:1.25rem;box-shadow:inset 0 1px 2px #0000000a}.background-palette-label{font-size:.8125rem;font-weight:600;color:#4b5563;margin-bottom:.5rem}.background-palette{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}.background-palette-swatch{width:2.25rem;height:2.25rem;border-radius:10px;border:2px solid rgba(0,0,0,.08);cursor:pointer;padding:0;flex-shrink:0;transition:transform .15s ease,box-shadow .15s ease}.background-palette-swatch:hover{transform:scale(1.05);box-shadow:0 2px 8px #0000001f}.background-palette-swatch.selected{outline:2px solid #667eea;outline-offset:2px;box-shadow:0 2px 8px #667eea59}.background-custom-row{display:flex;flex-direction:column;gap:.5rem}.background-custom-label{font-size:.875rem;font-weight:600;color:#374151}.background-custom-input{width:100%;height:48px;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:0;background:none}.background-custom-input::-webkit-color-swatch-wrapper{padding:4px}.background-custom-input::-webkit-color-swatch{border:none;border-radius:4px}.gradient-content{display:flex;flex-direction:column;gap:1.25rem}@media (min-width: 768px){.gradient-content{gap:1.75rem}}.gradient-tile-preview{width:100%;max-width:132px;aspect-ratio:1;margin:0 auto;border-radius:12px;border:2px solid rgba(0,0,0,.08);box-shadow:0 4px 14px #0000001f,inset 0 1px #ffffff26;display:flex;align-items:center;justify-content:center;flex-shrink:0}.gradient-tile-preview-question{font-size:clamp(1.75rem,8vw,2.25rem);font-weight:700;color:#fffffff2;text-shadow:0 1px 3px rgba(0,0,0,.35);line-height:1;-webkit-user-select:none;user-select:none}.gradient-colors{display:flex;flex-direction:row;gap:.5rem;align-items:flex-end}.gradient-color-item{flex:1;min-width:0;display:flex;flex-direction:column;gap:.35rem}.gradient-color-label{font-size:.6875rem;font-weight:600;color:#4b5563;text-align:center;line-height:1.2}.gradient-color-input{width:100%;height:44px;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;padding:0;background:none}.gradient-color-input::-webkit-color-swatch-wrapper{padding:0}.gradient-color-input::-webkit-color-swatch{border:none;border-radius:6px}.gradient-angle{display:flex;flex-direction:column;gap:.75rem}.gradient-angle-label{font-size:.875rem;font-weight:600;color:#374151}.gradient-angle-slider{width:100%;height:8px;border-radius:4px;background:#e5e7eb;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.gradient-angle-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#667eea;cursor:pointer;box-shadow:0 2px 4px #0003}.gradient-angle-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#667eea;cursor:pointer;border:none;box-shadow:0 2px 4px #0003}.gradient-angle-slider::-webkit-slider-thumb:hover{background:#5568d3}.gradient-angle-slider::-moz-range-thumb:hover{background:#5568d3}@media (min-width: 768px){.gradient-tile-preview{max-width:152px}.gradient-colors{gap:1.25rem}.gradient-color-label{font-size:.8125rem}.gradient-color-input{height:50px}}@media (max-width: 768px){.gradient-maker{padding:1.5rem}.background-palette{gap:.4rem}.background-palette-swatch{width:2rem;height:2rem}}.emoji-selector{background:#fff;border-radius:16px;padding:2rem 2rem 1.5rem;box-shadow:0 4px 12px #0000001a;display:flex;flex-direction:column;width:100%;min-width:0}.emoji-selector-title{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem}.emoji-selector-subtitle{font-size:.875rem;color:#6b7280;margin-bottom:1.5rem}.emoji-selector-content{display:flex;flex-direction:column;gap:1.5rem}.emoji-preview{text-align:center}.emoji-selector-right{display:flex;flex-direction:column;gap:1rem}.emoji-preview-tile{position:relative;width:100px;height:100px;margin:0 auto 1rem;background:#0000000f;border:3px solid rgba(255,255,255,.3);border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:inset 0 0 20px #0000001a,0 4px 12px #00000026}.emoji-preview-emoji{font-size:3.5rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.emoji-preview-logo{width:60%;height:60%;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2))}.emoji-preview-user-photo{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:9px;display:block}.emoji-center-file-input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}.emoji-remove-photo-btn{align-self:flex-start;padding:.35rem .75rem;font-size:.8125rem;color:#6b7280;background:transparent;border:none;text-decoration:underline;cursor:pointer}.emoji-remove-photo-btn:hover{color:#1a1a1a}.emoji-preview-label{font-size:.875rem;color:#6b7280;font-weight:500}.emoji-selector-actions{display:flex;gap:1rem;flex-wrap:wrap}.emoji-picker-btn{flex:1;min-width:150px;padding:.875rem 1.5rem;font-size:.875rem}.emoji-default-btn{padding:.875rem 1.5rem;font-size:.875rem}.emoji-picker-wrapper{border:2px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff;flex-shrink:0;width:100%;min-width:0}.emoji-picker-wrapper :global(.EmojiPickerReact){--epr-emoji-size: 2rem;--epr-category-label-height: 2rem;--epr-search-input-height: 2.5rem;border:none;box-shadow:none}@media (min-width: 768px){.emoji-selector-content{flex-direction:row;align-items:flex-start;gap:2rem}.emoji-preview{flex:0 0 auto;min-width:150px}.emoji-selector-right{flex:1;min-width:0}}@media (max-width: 768px){.emoji-selector{padding:1.5rem}.emoji-preview-tile{width:80px;height:80px}.emoji-preview-emoji{font-size:2.5rem}.emoji-preview-logo{width:50%;height:50%}.emoji-selector-actions{flex-direction:column}.emoji-picker-btn,.emoji-default-btn{width:100%}.emoji-picker-wrapper :global(.EmojiPickerReact){--epr-emoji-size: 1.75rem}}.custom-page{min-height:100vh;background:#f9fafb}.custom-main{padding:.75rem 0 1.5rem}@media (min-width: 768px){.custom-main{padding:1rem 0 2rem}}.custom-page-header{display:flex;flex-direction:row;align-items:center;gap:.75rem;margin-bottom:1rem;width:100%}.custom-page-back{flex-shrink:0}.custom-page-header-text{flex:1;min-width:0;text-align:center}.custom-page-title{font-size:clamp(1.125rem,2.8vw,1.5rem);font-weight:700;color:#1a1a1a;margin:0 0 .2rem;line-height:1.2}.custom-page-subtitle{font-size:clamp(.8125rem,1.8vw,.9375rem);color:#6b7280;margin:0;line-height:1.35}@media (max-width: 767px){.custom-page-header{flex-direction:column;align-items:stretch;gap:.625rem}.custom-page-back{align-self:flex-start}.custom-page-header-text{flex:none;width:100%;text-align:center;padding-top:0}.custom-page-title{font-size:1.25rem}.custom-page-subtitle{font-size:.875rem;max-width:22rem;margin-left:auto;margin-right:auto}}.custom-layout{display:flex;flex-direction:column;gap:1rem;margin-bottom:1.25rem;width:100%}.custom-left{display:flex;flex-direction:column;gap:1rem;width:100%;min-width:0}.custom-right{width:100%;min-width:0;display:flex;flex-direction:column;gap:1rem}@media (min-width: 1024px){.custom-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,38%);gap:1rem 1.25rem;align-items:stretch;margin-bottom:1.5rem}.custom-left{align-self:start}.custom-right{position:static;display:flex;flex-direction:column;min-height:0;height:100%}.custom-preview-wrapper{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.custom-preview-body{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:.25rem .125rem .5rem;container-type:size;container-name:custom-preview}}.custom-preview-wrapper{background:#fff;border-radius:12px;padding:.5rem .5rem .75rem;box-shadow:0 2px 10px #00000014;position:relative}.custom-preview-title{font-size:.9375rem;font-weight:600;color:#1a1a1a;text-align:center;margin:0 0 .35rem;flex-shrink:0}@media (min-width: 768px){.custom-preview-wrapper{padding:.5rem .75rem 1rem}.custom-preview-wrapper .floating-game-preview{padding:.35rem .25rem .75rem;box-sizing:border-box}}.custom-preview-wrapper .floating-game-preview{min-height:220px;perspective:1200px}.custom-preview-wrapper .floating-game-preview .game-grid-container{max-width:min(100%,320px);min-width:0}@media (min-width: 1024px){.custom-preview-wrapper .floating-game-preview{flex:1 1 auto;width:100%;min-height:0;height:100%;max-height:100%;padding:.15rem .1rem .35rem;box-sizing:border-box}.custom-preview-wrapper .floating-game-preview .game-grid-container{--grid-max: min(100%, min(100cqw, 100cqh));max-width:min(100%,min(100cqw,100cqh))!important;min-width:0!important;padding:.35rem .4rem!important;margin-inline:auto}.custom-preview-wrapper .floating-game-preview .game-grid{gap:clamp(.35rem,1.2cqmin,.75rem)}.custom-preview-wrapper .floating-game-preview .card-back-pattern{font-size:clamp(1.1rem,4cqmin,2rem)}.custom-preview-wrapper .floating-game-preview .center-emoji{font-size:clamp(1.35rem,5cqmin,2.75rem)}.custom-preview-wrapper .floating-game-container{transform:rotateY(-16deg) rotateX(5deg) scale(1);max-width:100%}.custom-preview-wrapper .floating-game-container:hover{transform:rotateY(-12deg) rotateX(4deg) scale(1.02)}}.custom-preview-wrapper .floating-game-preview .game-grid{gap:.5rem}.custom-preview-wrapper .floating-game-preview .card-back-pattern{font-size:1.35rem}.custom-preview-wrapper .floating-game-preview .center-emoji{font-size:2rem}.custom-preview-wrapper .floating-game-container{animation:none;transform:rotateY(-16deg) rotateX(5deg) scale(.88);filter:drop-shadow(0 16px 36px rgba(0,0,0,.32))}.custom-preview-wrapper .floating-game-container:hover{transform:rotateY(-12deg) rotateX(4deg) scale(.9)}@media (max-width: 1023px){.custom-right{max-width:420px;margin-left:auto;margin-right:auto}.custom-preview-wrapper .floating-game-container{transform:rotateY(-10deg) rotateX(3deg) scale(.82)}}@media (max-width: 480px){.custom-preview-wrapper .floating-game-preview .game-grid-container{max-width:100%}.custom-preview-wrapper .floating-game-container{transform:rotateY(-8deg) rotateX(2deg) scale(.78)}}.custom-page .emoji-selector{padding:1rem 1rem 1.125rem;border-radius:12px;box-shadow:0 2px 8px #0000000f}.custom-page .emoji-selector-title{font-size:1.0625rem;margin-bottom:.25rem}.custom-page .emoji-selector-subtitle{font-size:.8125rem;margin-bottom:.75rem}.custom-page .emoji-selector-content{gap:.75rem}.custom-page .emoji-preview-tile{width:72px;height:72px;margin-bottom:.5rem}.custom-page .emoji-preview-emoji{font-size:2.25rem}.custom-page .emoji-preview-label{font-size:.75rem}.custom-page .emoji-selector-actions{gap:.5rem}.custom-page .emoji-picker-btn,.custom-page .emoji-default-btn{padding:.5rem .75rem;font-size:.8125rem;min-width:0}.custom-page .emoji-picker-btn{flex:1;min-width:120px}@media (min-width: 768px){.custom-page .emoji-selector-content{flex-direction:row;align-items:flex-start;gap:1rem}.custom-page .emoji-preview{flex:0 0 auto;min-width:100px}}.custom-page .gradient-maker{padding:1rem 1rem 1.125rem;border-radius:12px;box-shadow:0 2px 8px #0000000f}.custom-page .gradient-maker-title{font-size:1.0625rem;margin-bottom:.25rem}.custom-page .gradient-maker-subtitle{font-size:.8125rem;margin-bottom:.75rem}.custom-page .gradient-maker-divider{margin:1rem 0}.custom-page .gradient-content{gap:.75rem}.custom-page .gradient-tile-preview{max-width:104px;border-radius:10px}.custom-page .gradient-tile-preview-question{font-size:clamp(1.35rem,5vw,1.65rem)}.custom-page .gradient-colors{gap:.4rem}@media (min-width: 768px){.custom-page .gradient-colors{gap:.65rem}.custom-page .gradient-tile-preview{max-width:112px}}.custom-page .gradient-color-input{height:36px}.custom-page .gradient-color-label{font-size:.625rem}.custom-page .background-preview-swatch{height:44px;margin-bottom:.75rem}.custom-page .background-palette{margin-bottom:.75rem}.custom-page .background-custom-input{height:40px}.custom-visibility-section{width:100%;margin:0;padding:1rem 1rem 1.125rem;background:#fff;border-radius:12px;border:none;box-shadow:0 2px 8px #0000000f;flex-shrink:0}.custom-game-title-field{width:100%}.custom-game-title-label{display:block;font-size:.8125rem;font-weight:600;color:#374151;margin-bottom:.35rem}.custom-game-title-input{width:100%;box-sizing:border-box;padding:.5rem .65rem;font-size:.9375rem;border:2px solid #e5e7eb;border-radius:8px;outline:none;transition:border-color .2s;font-family:inherit;background:#fff}.custom-game-title-input:focus{border-color:#667eea}.custom-game-title-hint{font-size:.7rem;color:#6b7280;margin:.35rem 0 0;line-height:1.35}.custom-meta-divider{height:1px;border:none;margin:.875rem 0 .75rem;background:linear-gradient(90deg,transparent,#e5e7eb 10%,#e5e7eb 90%,transparent)}.custom-visibility-title{font-size:1rem;font-weight:700;color:#1a1a1a;margin:0 0 .35rem}.custom-visibility-intro{font-size:.8125rem;color:#6b7280;line-height:1.45;margin:0 0 .75rem}.custom-visibility-row{display:flex;align-items:flex-start;gap:.75rem}.custom-visibility-switch{flex-shrink:0;padding:0;border:none;background:transparent;cursor:pointer}.custom-visibility-switch:focus-visible{outline:2px solid #667eea;outline-offset:3px;border-radius:9999px}.custom-visibility-switch-track{display:block;width:44px;height:26px;border-radius:9999px;background:#d1d5db;position:relative;transition:background .2s}.custom-visibility-switch[aria-checked=true] .custom-visibility-switch-track{background:linear-gradient(135deg,#667eea,#764ba2)}.custom-visibility-switch-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .2s}.custom-visibility-switch[aria-checked=true] .custom-visibility-switch-thumb{transform:translate(18px)}.custom-visibility-copy{min-width:0}.custom-visibility-mode{display:block;font-size:.875rem;font-weight:600;color:#1a1a1a;margin-bottom:.25rem}.custom-visibility-hint{font-size:.8125rem;color:#6b7280;line-height:1.4;margin:0}.custom-theme-selection{margin-bottom:2rem}.custom-theme-heading{font-size:clamp(1.125rem,2.5vw,1.5rem);font-weight:700;text-align:center;margin:0 0 .5rem;color:#1a1a1a}.custom-theme-subheading{font-size:.875rem;text-align:center;color:#6b7280;margin:0 auto 1rem;max-width:36rem;line-height:1.45}.custom-theme-selection .theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.65rem;max-width:720px;margin:0 auto}.custom-theme-selection .theme-card{padding:.85rem .65rem;border-radius:12px;min-height:0}.custom-theme-selection .theme-icon-large{font-size:1.75rem;margin-bottom:.35rem}.custom-theme-selection .theme-name-large{font-size:.9375rem;margin-bottom:.25rem}.custom-theme-selection .theme-description{font-size:.6875rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.custom-actions{display:flex;justify-content:center;margin-top:1rem;margin-bottom:1.25rem}.custom-actions .app-button--lg{padding:.75rem 1.75rem;font-size:1rem}.theme-card-selectable{cursor:pointer;transition:transform .2s,box-shadow .2s}.theme-card-selectable:hover{transform:translateY(-2px);box-shadow:0 6px 16px #0000001f}.theme-card-selectable.selected{box-shadow:0 6px 16px #667eea59}@media (max-width: 768px){.custom-main{padding:.5rem 0 1.25rem}.custom-layout,.custom-left{gap:.875rem}.custom-page .emoji-selector-actions{flex-direction:column}.custom-page .emoji-picker-btn,.custom-page .emoji-default-btn{width:100%}.custom-actions .app-button--lg{width:100%;max-width:320px}}.multiplayer-game-container{display:flex;gap:.5rem;width:100%;max-width:100%;margin:0 auto;flex:1;min-height:0;max-height:calc(100vh - 5rem)}.multiplayer-players-sidebar{flex:0 1 auto;width:clamp(140px,28%,380px);min-width:140px;max-width:380px;background:#fff;border-radius:8px;padding:.4rem;box-shadow:0 2px 6px #00000014;height:fit-content;position:sticky;top:.25rem}.players-sidebar-title{font-size:.9rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.players-list{display:flex;flex-direction:column;gap:.4rem;margin-bottom:.75rem}.player-item{display:flex;align-items:center;gap:.4rem;padding:.4rem .5rem;border-radius:6px;background:#f9fafb;transition:all .2s}.player-item.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #3b82f659}.player-item.you{border:2px solid #3b82f6;box-shadow:0 0 0 1px #3b82f633}.player-item.you.active{border-color:#ffffff80}.player-you-badge{display:inline-block;margin-left:.35rem;font-size:.6rem;font-weight:700;color:#3b82f6;background:#3b82f626;padding:.1rem .35rem;border-radius:4px;vertical-align:middle}.player-item.active .player-you-badge{color:#fff;background:#ffffff40}.player-color-badge{width:1.25rem;height:1.25rem;border-radius:50%;flex-shrink:0;box-shadow:0 1px 3px #0003}.player-info{flex:1;min-width:0}.player-name{font-weight:600;font-size:.75rem;margin-bottom:.1rem;line-height:1.2}.player-item.active .player-name{color:#fff}.player-stats{font-size:.65rem;color:#6b7280}.player-item.active .player-stats{color:#ffffffe6}.player-turn-indicator{font-size:.6rem;font-weight:600;background:#fff3;padding:.15rem .35rem;border-radius:4px;white-space:nowrap}.game-stats-sidebar{padding-top:.5rem;border-top:1px solid #e5e7eb}.game-stats-sidebar .stat-item{display:flex;justify-content:space-between;margin-bottom:.25rem;font-size:.75rem}.game-stats-sidebar .stat-label{font-size:.7rem;color:#6b7280}.game-stats-sidebar .stat-value{font-weight:600;font-size:.75rem;color:#1f2937}.multiplayer-game-grid-wrapper{flex:1;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}.multiplayer-game-grid-container{width:100%;--grid-max: min(100%, calc(100vh - 17rem) );max-width:var(--grid-max);padding:.25rem 0;margin:0 auto}.multiplayer-game-grid-container .game-stats{display:none}.multiplayer-game-grid-container .game-grid{width:100%;aspect-ratio:1;max-width:var(--grid-max);max-height:var(--grid-max)}.multiplayer-game-grid-container .game-card{container-type:size;container-name:card}.multiplayer-game-grid-container .card-back-pattern{font-size:clamp(.75rem,5vmin,2rem)}@container card (min-width: 1px){.multiplayer-game-grid-container .card-back-pattern{font-size:22cqmin}}.multiplayer-game-grid-container .center-emoji{font-size:clamp(1rem,6vmin,2.5rem)}@container card (min-width: 1px){.multiplayer-game-grid-container .center-emoji{font-size:35cqmin}}.multiplayer-game-grid-container .center-logo-img:not(.center-photo){max-width:25cqmin;max-height:25cqmin;width:auto;height:auto}.multiplayer-game-grid-container .center-logo-img.center-photo{max-width:none;max-height:none;width:100%;height:100%;object-fit:cover}@media (max-width: 1024px){.multiplayer-game-container{flex-direction:column}.multiplayer-players-sidebar{width:100%;position:static}.players-list{flex-direction:row;flex-wrap:wrap}.player-item{flex:1;min-width:150px}}.multiplayer-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.multiplayer-modal-content{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;position:relative}.multiplayer-modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:2rem;cursor:pointer;color:#6b7280;width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s}.multiplayer-modal-close:hover{background:#f3f4f6;color:#1f2937}.multiplayer-modal-title{font-size:1.75rem;font-weight:700;color:#1f2937;margin-bottom:1.5rem;text-align:center}.multiplayer-modal-section{margin-bottom:1.5rem}.multiplayer-modal-label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.75rem}.multiplayer-mode-buttons{display:flex;gap:.75rem;margin-bottom:.5rem}.mode-button{flex:1;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;background:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s;color:#374151}.mode-button:hover{border-color:#667eea;background:#f5f7ff}.mode-button.active{border-color:#667eea;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.multiplayer-modal-hint{font-size:.875rem;color:#6b7280;margin-top:.5rem}.player-count-buttons{display:flex;gap:.75rem}.count-button{flex:1;padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;background:#fff;font-size:1.25rem;font-weight:600;cursor:pointer;transition:all .2s;color:#374151}.count-button:hover{border-color:#667eea;background:#f5f7ff}.count-button.active{border-color:#667eea;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.player-names-list{display:flex;flex-direction:column;gap:.75rem}.player-name-input-wrapper{display:flex;align-items:center;gap:.75rem}.player-color-indicator{width:2rem;height:2rem;border-radius:50%;flex-shrink:0;box-shadow:0 2px 4px #0000001a}.player-name-input{flex:1;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:all .2s}.player-name-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.multiplayer-modal-error{background:#fee2e2;color:#dc2626;padding:.75rem 1rem;border-radius:8px;font-size:.875rem;margin-bottom:1rem}.multiplayer-modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem}.multiplayer-modal-actions .app-button--primary,.multiplayer-modal-actions .app-button--secondary{padding:.75rem 1.5rem;font-size:1rem;font-weight:600;border-radius:8px;cursor:pointer;transition:all .2s;border:none}.multiplayer-modal-actions .app-button--secondary{background:#f3f4f6;color:#374151}.multiplayer-modal-actions .app-button--secondary:hover{background:#e5e7eb}.multiplayer-modal-actions .app-button--primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.multiplayer-modal-actions .app-button--primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.end-game-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:2000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.end-game-modal-content{background:#fff;border-radius:20px;padding:2.5rem;max-width:500px;width:90%;box-shadow:0 20px 60px #0006;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.end-game-header{text-align:center;margin-bottom:2rem}.end-game-title{font-size:2rem;font-weight:800;color:#1f2937;margin-bottom:.5rem}.end-game-subtitle{font-size:1rem;color:#6b7280}.end-game-results{margin-bottom:2rem}.results-title{font-size:1.125rem;font-weight:600;color:#374151;margin-bottom:1rem;text-align:center}.players-results-list{display:flex;flex-direction:column;gap:.75rem}.player-result-item{display:flex;align-items:center;gap:1rem;padding:1rem;border-radius:12px;background:#f9fafb;transition:all .2s}.player-result-item.winner{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.player-result-rank{font-size:1.5rem;font-weight:700;width:2rem;text-align:center}.player-result-color{width:2.5rem;height:2.5rem;border-radius:50%;flex-shrink:0;box-shadow:0 2px 4px #0003}.player-result-info{flex:1}.player-result-name{font-weight:600;font-size:1.125rem;margin-bottom:.25rem}.player-result-item.winner .player-result-name{color:#fff}.player-result-pairs{font-size:.875rem;color:#6b7280}.player-result-item.winner .player-result-pairs{color:#ffffffe6}.end-game-actions{display:flex;gap:.75rem;justify-content:center}.end-game-actions .app-button--primary,.end-game-actions .app-button--secondary{padding:.75rem 2rem;font-size:1rem;font-weight:600;border-radius:8px;cursor:pointer;transition:all .2s;border:none}.end-game-actions .app-button--secondary{background:#f3f4f6;color:#374151}.end-game-actions .app-button--secondary:hover{background:#e5e7eb}.end-game-actions .app-button--primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.end-game-actions .app-button--primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.preview-page{min-height:100vh;min-height:100dvh;background:#f9fafb}.preview-main{padding:.5rem 0 .75rem}.preview-hero{display:flex;flex-direction:row;align-items:stretch;justify-content:center;gap:1.25rem;margin-bottom:.75rem;flex-wrap:wrap}.preview-hero-text{flex:0 1 28rem;min-width:0;max-width:28rem}.preview-hero-divider{width:1px;align-self:stretch;min-height:4.5rem;background:#e5e7eb;flex-shrink:0}.preview-page-title{font-size:1.5rem;font-weight:700;color:#1a1a1a;text-align:left;margin-bottom:.2rem;line-height:1.25}.preview-page-subtitle{margin:0;font-size:.9rem;color:#6b7280;text-align:left;line-height:1.35}.preview-game-title-field{flex:0 1 16rem;min-width:min(100%,220px);max-width:18rem;text-align:left}.preview-game-title-label{display:block;font-size:.8rem;font-weight:600;color:#374151;margin-bottom:.3rem}.preview-game-title-input{width:100%;box-sizing:border-box;padding:.5rem .75rem;font-size:.95rem;border:2px solid #e5e7eb;border-radius:8px;outline:none;transition:border-color .2s;font-family:inherit;background:#fff}.preview-game-title-input:focus{border-color:#667eea}.preview-game-title-hint{font-size:.7rem;color:#6b7280;margin:.3rem 0 0;line-height:1.3}.preview-wrapper{background:#fff;border-radius:12px;padding:.75rem;box-shadow:0 4px 12px #0000001a;display:flex;justify-content:center;max-width:80vw;margin-left:auto;margin-right:auto}.preview-wrapper .game-grid-container{padding:.75rem .5rem}.preview-wrapper .game-stats{margin-bottom:.75rem;font-size:1rem;gap:.5rem}.preview-wrapper .game-stats .stat-item{padding:.4rem .75rem;font-size:.9rem}.preview-wrapper .game-grid{gap:.4rem}.preview-wrapper .speed-buttons .speed-btn{padding:.35rem .5rem;font-size:.75rem}.preview-actions{display:flex;gap:.75rem;justify-content:center;margin-top:.75rem;flex-wrap:wrap}@media (max-width: 768px){.preview-main{padding:.35rem 0 .65rem}.preview-page .container{padding-top:.35rem;padding-bottom:.5rem}.preview-hero{flex-direction:column;align-items:center;justify-content:flex-start;gap:0;margin-bottom:.4rem;min-height:0}.preview-hero-divider{width:min(100%,12rem);height:1px;min-height:0;align-self:center}.preview-hero-text{text-align:center;max-width:100%;flex:none}.preview-page-title,.preview-page-subtitle{text-align:center}.preview-page-title{font-size:1.15rem;margin-bottom:.15rem;line-height:1.25}.preview-page-subtitle{font-size:.8125rem;line-height:1.35}.preview-game-title-field{flex:1 1 auto;min-width:0;max-width:none}.preview-wrapper{display:block;width:100%;max-width:100%;margin-top:0;padding:.65rem .5rem}.preview-wrapper .game-grid-container{--grid-max: min(100%, min(92vw, 72dvh));padding:.65rem .45rem}.preview-wrapper .game-stats{margin-bottom:.6rem}.preview-actions{flex-direction:column;margin-top:.65rem}.preview-actions .app-button{width:100%}}.checkout-page{min-height:100vh;background:#f9fafb;padding:3rem 0}.checkout-back-btn{margin-bottom:0}.checkout-layout{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:start}.checkout-form-section{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 4px 6px #0000000d;overflow:hidden}.checkout-title{font-size:2rem;font-weight:800;color:#1a1a1a;margin-bottom:.5rem}.checkout-subtitle{font-size:1rem;color:#6b7280;margin-bottom:2rem}.order-summary{background:#f9fafb;border-radius:12px;padding:1.5rem;margin-bottom:2rem}.summary-title{font-size:1.25rem;font-weight:700;color:#1a1a1a;margin-bottom:1rem}.summary-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid #e5e7eb}.summary-item:last-of-type{border-bottom:none}.summary-label{font-size:.875rem;color:#6b7280;font-weight:500}.summary-value{font-size:.875rem;color:#1a1a1a;font-weight:600}.summary-divider{height:1px;background:#e5e7eb;margin:1rem 0}.summary-total{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:2px solid #e5e7eb}.total-label{font-size:1.125rem;font-weight:700;color:#1a1a1a}.total-amount{font-size:1.5rem;font-weight:800;color:#1a1a1a}.checkout-error{background:#fee2e2;border:1px solid #fecaca;border-radius:8px;padding:1rem;margin-bottom:1.5rem;color:#991b1b;font-size:.875rem}.btn-checkout{width:100%;margin-bottom:1rem}.checkout-note{font-size:.875rem;color:#6b7280;text-align:center}.checkout-premium-benefits{background:linear-gradient(135deg,#f0f4ff,#e0e7ff);border:2px solid #667eea;border-radius:16px;padding:2rem;margin:2rem 0}.checkout-benefits-title{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-bottom:1.5rem;text-align:center}.checkout-benefits-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.checkout-benefits-list li{display:flex;align-items:flex-start;gap:.75rem;font-size:1rem;color:#1a1a1a;font-weight:500;line-height:1.5}.checkout-benefits-list .benefit-icon{font-size:1.5rem;flex-shrink:0;line-height:1.5}@media (max-width: 640px){.checkout-premium-benefits{padding:1.5rem}.checkout-benefits-title{font-size:1.25rem}.checkout-benefits-list{grid-template-columns:1fr;gap:.875rem}.checkout-benefits-list li{font-size:.95rem}}.checkout-preview-section{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 4px 6px #0000000d;position:sticky;top:2rem;overflow:hidden}.checkout-preview-section .checkout-back-btn{margin-bottom:1.5rem}.preview-title{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-bottom:1.5rem;text-align:center}.preview-wrapper{display:flex;justify-content:center;align-items:center;min-height:400px;padding:1rem;overflow:hidden;width:100%}.loading,.error-message{text-align:center;padding:3rem;background:#fff;border-radius:20px;box-shadow:0 4px 6px #0000000d}.error-message h2{color:#dc2626;margin-bottom:1rem}.error-message p{color:#6b7280;margin-bottom:2rem}@media (max-width: 968px){.checkout-layout{grid-template-columns:1fr;gap:2rem}.checkout-preview-section{position:static}.checkout-form-section,.checkout-preview-section{padding:1.5rem}.checkout-preview-section .checkout-back-btn{margin-bottom:1rem}}@media (max-width: 640px){.checkout-page{padding:1.5rem 0}.checkout-title{font-size:1.5rem}.checkout-form-section,.checkout-preview-section{padding:1rem}.checkout-layout{gap:1.5rem}.order-summary{padding:1rem}.preview-wrapper{padding:.5rem;min-height:300px;max-width:100%;overflow:hidden}.btn-checkout{padding:.875rem 1rem;font-size:1rem;word-wrap:break-word;white-space:normal}.checkout-preview-section .checkout-back-btn{padding:.625rem 1rem;font-size:.8125rem;margin-bottom:1rem}}.payment-success-page{min-height:100vh;background:#f9fafb;display:flex;align-items:center;justify-content:center;padding:2rem 1rem}.payment-success-page .container{display:flex;justify-content:center;align-items:center;width:100%;max-width:100%}.success-content{background:#fff;border-radius:20px;padding:3rem;text-align:center;box-shadow:0 20px 60px #0000004d;max-width:500px;width:100%;margin:0 auto}.success-icon{width:80px;height:80px;border-radius:50%;background:#10b981;color:#fff;font-size:3rem;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;animation:scaleIn .5s ease-out}@keyframes scaleIn{0%{transform:scale(0);opacity:0}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.success-message{font-size:1.125rem;color:#6b7280;margin-bottom:1.5rem;line-height:1.6}.success-session{font-size:.875rem;color:#9ca3af;margin-bottom:2rem}.success-session code{background:#f3f4f6;padding:.25rem .5rem;border-radius:4px;font-family:monospace;font-size:.75rem}.success-actions{display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap}.btn-success-action{padding:.625rem 1.25rem;font-size:.875rem;min-height:40px}.loading-spinner{text-align:center;color:#1a1a1a;font-size:1.25rem;padding:2rem;font-weight:600}.success-details{margin-top:1.5rem;text-align:left;background:#f9fafb;padding:1rem;border-radius:8px}.success-details p{margin-bottom:.5rem}.success-details p:last-child{margin-bottom:0}.success-details code{background:#e5e7eb;padding:.25rem .5rem;border-radius:4px;font-family:monospace;font-size:.875rem}.payment-success-page .app-button--secondary{background:#f3f4f6;color:#1a1a1a;border:2px solid #e5e7eb;padding:.75rem 2rem;border-radius:50px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.payment-success-page .app-button--secondary:hover:not(:disabled){background:#e5e7eb;color:#1a1a1a;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}@media (max-width: 640px){.success-content{padding:2rem 1.5rem}.success-title{font-size:1.5rem}.success-icon{width:60px;height:60px;font-size:2rem}}.game-created-page{min-height:100vh;background:#f9fafb;padding:3rem 0}.success-content{background:#fff;border-radius:20px;padding:3rem;box-shadow:0 4px 6px #0000000d;max-width:600px;margin:0 auto;text-align:center}.success-icon{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:3rem;display:flex;align-items:center;justify-content:center;margin:0 auto 2rem;font-weight:700}.success-title{font-size:2rem;font-weight:800;color:#1a1a1a;margin-bottom:1rem}.success-message{font-size:1.125rem;color:#4b5563;line-height:1.6;margin-bottom:1rem}.success-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}@media (max-width: 640px){.game-created-page{padding:1.5rem 0}.success-content{padding:2rem 1.5rem}.success-title{font-size:1.5rem}.success-actions{flex-direction:column}.success-actions .app-button{width:100%}}.toast{position:fixed;bottom:1.5rem;left:50%;transform:translate(-50%) translateY(0);display:flex;align-items:center;gap:.75rem;padding:.875rem 1.5rem;background:linear-gradient(135deg,#1f2937,#374151);color:#fff;border-radius:12px;box-shadow:0 10px 40px #00000040,0 0 0 1px #ffffff14;font-size:.9375rem;font-weight:500;z-index:9999;animation:toastSlideIn .3s ease-out}.toast-icon{display:flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;background:#22c55ee6;border-radius:50%;font-size:.875rem;font-weight:700;flex-shrink:0}.toast-message{line-height:1.4}@keyframes toastSlideIn{0%{opacity:0;transform:translate(-50%) translateY(1rem)}to{opacity:1;transform:translate(-50%) translateY(0)}}.room-page.room-page--custom-bg{min-height:100vh;min-height:100dvh}.room-header{text-align:center;margin-bottom:1rem;color:#1a1a1a}.room-title{font-size:2rem;font-weight:700;margin-top:.5rem;margin-bottom:.25rem;color:#1a1a1a}.room-subtitle{font-size:1rem;color:#6b7280}.game-wrapper{margin:0 auto 1rem;padding:0}.room-page .game-wrapper .game-grid-container{padding:.75rem .5rem}.room-page .game-wrapper .game-stats{margin-bottom:.75rem;font-size:1rem;gap:.5rem}.room-page .game-wrapper .game-stats .stat-item{padding:.4rem .75rem;font-size:.9rem}.room-page .game-wrapper .speed-buttons .speed-btn{padding:.35rem .5rem;font-size:.75rem}.loading-spinner{text-align:center;padding:4rem 2rem;color:#1a1a1a}.error-content{text-align:center;padding:4rem 2rem}.error-content{background:#fffffff2;border-radius:20px;padding:3rem;box-shadow:0 10px 40px #0003;max-width:600px;margin:0 auto}.error-icon{font-size:4rem;margin-bottom:1rem;color:#ef4444}.error-message{font-size:1.1rem;margin-bottom:2rem;color:#374151;line-height:1.6;background:#f9fafb;padding:1.5rem;border-radius:12px;border-left:4px solid #ef4444}.error-details{color:#6b7280!important;font-family:monospace;background:#f3f4f6;padding:.75rem 1rem;border-radius:8px;display:inline-block}.error-actions{margin-top:2rem;display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.error-actions .app-button--primary,.error-actions .app-button--secondary{padding:.75rem 2rem;font-size:1rem}.room-footer{text-align:center;margin-top:.5rem;display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;align-items:center}.room-footer-primary-row{display:flex;gap:1rem;align-items:stretch;flex-wrap:nowrap}.btn-room-action{padding:.625rem 1.25rem;font-size:.875rem;min-height:40px}@media (max-width: 1024px){.room-footer{flex-direction:column;align-items:stretch;gap:.75rem}.room-footer-primary-row{width:100%;gap:.5rem}.room-footer-primary-row .btn-room-action{flex:1 1 0;min-width:0}.room-footer>.btn-room-action{width:100%;box-sizing:border-box}}@media (max-width: 768px){.room-title{font-size:2rem}.room-subtitle{font-size:1rem}.game-wrapper{padding:0}}.blog-list-page{min-height:100vh;background:#f9fafb}.blog-header-link:hover,.blog-header-link.active{opacity:1;text-decoration:underline}.blog-hero{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:3rem 1.5rem;margin-bottom:2rem}.blog-hero-title{font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.blog-hero-subtitle{font-size:1.15rem;opacity:.95;max-width:600px}.blog-article-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;margin-bottom:3rem}.blog-article-card{display:block;background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 20px #0000000f;text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}.blog-article-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px #0000001a}.blog-article-card-content{display:flex;flex-direction:column;gap:.5rem}.blog-article-date{font-size:.8rem;color:#64748b}.blog-article-card-title{font-size:1.25rem;font-weight:700;color:#1e293b;line-height:1.3}.blog-article-card-description{font-size:.95rem;color:#64748b;line-height:1.5;flex:1}.blog-article-read-more{font-size:.9rem;font-weight:600;color:#667eea;margin-top:.5rem}.blog-cta-section{text-align:center;padding:2rem;background:#fff;border-radius:16px;box-shadow:0 4px 20px #0000000f}.blog-cta-section p{margin-bottom:1rem;font-size:1.1rem;color:#475569}@media (max-width: 640px){.blog-hero-title{font-size:1.75rem}.blog-hero-subtitle{font-size:1rem}.blog-article-grid{grid-template-columns:1fr}}.not-found-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem;background:#f9fafb;color:#1a1a1a}.not-found-container{width:100%;max-width:600px}.not-found-content{text-align:center;background:#fff;padding:3rem;border-radius:1rem;box-shadow:0 8px 32px #0000001a}.not-found-icon{font-size:4rem;margin-bottom:1rem;animation:float 3s ease-in-out infinite}.not-found-title{font-size:6rem;font-weight:700;margin:0;line-height:1;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.not-found-subtitle{font-size:2rem;margin:1rem 0;font-weight:600;color:#1a1a1a}.not-found-message{font-size:1.1rem;margin-bottom:2rem;color:#6b7280;line-height:1.6}.not-found-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.not-found-actions .app-button--primary,.not-found-actions .app-button--secondary{padding:.75rem 2rem;font-size:1rem}@media (max-width: 768px){.not-found-content{padding:2rem}.not-found-title{font-size:4rem}.not-found-subtitle{font-size:1.5rem}.not-found-actions{flex-direction:column}.not-found-actions .app-button{width:100%}}.blog-post-page{min-height:100vh;background:#f9fafb;padding-bottom:3rem}.blog-page-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:1rem 0}.blog-header-content{display:flex;justify-content:space-between;align-items:center}.blog-header-logo{display:flex;align-items:center}.blog-logo-img{height:36px;width:auto}.blog-header-nav{display:flex;align-items:center;gap:1.5rem}.blog-header-link{color:#fff;text-decoration:none;font-size:.95rem;font-weight:500;opacity:.9}.blog-header-link:hover{opacity:1;text-decoration:underline}.blog-post-hero{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2.5rem 1.5rem;margin-bottom:2rem}.blog-back-link{display:inline-block;color:#ffffffe6;font-size:.9rem;text-decoration:none;margin-bottom:1rem;transition:color .2s}.blog-back-link:hover{color:#fff}.blog-post-date{display:block;font-size:.85rem;opacity:.9;margin-bottom:.5rem}.blog-post-title{font-size:2rem;font-weight:700;line-height:1.3}.blog-post-body{max-width:720px;margin:0 auto;background:#fff;padding:2.5rem;border-radius:16px;box-shadow:0 4px 20px #0000000f}.blog-post-footer{max-width:720px;margin:2rem auto 0;display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.blog-article-content{font-size:1.05rem;line-height:1.75;color:#334155}.blog-article-content .blog-lead{font-size:1.15rem;color:#475569;margin-bottom:2rem}.blog-article-content h2{font-size:1.5rem;font-weight:700;color:#1e293b;margin-top:2.5rem;margin-bottom:1rem}.blog-article-content h2:first-of-type{margin-top:0}.blog-article-content p{margin-bottom:1rem}.blog-article-content ul{margin-bottom:1rem;padding-left:1.5rem}.blog-article-content li{margin-bottom:.5rem}.blog-article-content a{color:#667eea;text-decoration:none;font-weight:500}.blog-article-content a:hover{text-decoration:underline}.blog-article-content code{background:#f1f5f9;padding:.2rem .4rem;border-radius:4px;font-size:.9em}.blog-article-content .blog-cta{margin-top:2.5rem;padding:1.5rem;background:linear-gradient(135deg,#667eea14,#764ba214);border-radius:12px;border-left:4px solid #667eea}.blog-article-content .blog-cta p{margin-bottom:0}.blog-screenshot-placeholder{margin:2rem 0}.blog-screenshot-img{width:100%;height:auto;border-radius:12px;display:block}.blog-screenshot-box{aspect-ratio:16 / 10;background:#f1f5f9;border:2px dashed #cbd5e1;border-radius:12px;display:flex;align-items:center;justify-content:center}.blog-screenshot-hint{font-size:.9rem;color:#64748b;text-align:center;padding:1rem}.blog-screenshot-caption{font-size:.85rem;color:#64748b;text-align:center;margin-top:.5rem}@media (max-width: 640px){.blog-post-title{font-size:1.5rem}.blog-post-body{padding:1.5rem}.blog-article-content{font-size:1rem}}.multiplayer-history-page{min-height:100vh;background:linear-gradient(180deg,#f8fafc,#f1f5f9);padding:1.5rem 0 3rem}.multiplayer-history-page .loading-spinner{text-align:center;padding:4rem 2rem;font-size:1.25rem;color:#64748b}.history-header{text-align:center;margin-bottom:2rem}.history-header .btn-back{margin-bottom:1rem}.history-title{font-size:1.75rem;font-weight:700;color:#1e293b;margin-bottom:.25rem}.history-subtitle{font-size:1rem;color:#64748b}.history-empty{text-align:center;padding:4rem 2rem;background:#fff;border-radius:16px;box-shadow:0 4px 20px #0000000f}.history-empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.6}.history-empty-text{font-size:1.125rem;color:#64748b;margin-bottom:1.5rem}.history-game-list{display:flex;flex-direction:column;gap:1.25rem;max-width:560px;margin:0 auto}.history-game-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 20px #0000000f;transition:box-shadow .2s}.history-game-card:hover{box-shadow:0 8px 30px #0000001a}.history-game-card.in-progress{border:2px solid #3b82f6;background:linear-gradient(180deg,#eff6ff,#fff);box-shadow:0 4px 20px #3b82f61f}.history-game-card.in-progress:hover{box-shadow:0 8px 30px #3b82f62e}.history-game-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #e2e8f0}.history-game-date{font-size:.8rem;color:#64748b}.history-game-status{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem}.history-game-winner{font-size:1rem;font-weight:600;color:#1e293b}.history-game-badge{font-size:.7rem;font-weight:700;padding:.2rem .5rem;border-radius:6px;text-transform:uppercase;letter-spacing:.03em}.history-game-badge.in-progress{background:#3b82f6;color:#fff}.history-game-current-turn{font-size:.85rem;font-weight:500;color:#64748b}.history-game-players{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.history-player-row{display:flex;align-items:center;gap:.75rem;padding:.5rem 0}.history-player-row.winner{padding:.6rem .75rem;margin:0 -.75rem;border-radius:10px;background:linear-gradient(135deg,#667eea1f,#764ba21f);border-left:4px solid var(--theme-primary, #667eea)}.history-player-color{width:1.5rem;height:1.5rem;border-radius:50%;flex-shrink:0;box-shadow:0 1px 3px #0003}.history-player-info{flex:1;min-width:0}.history-player-name{font-weight:600;font-size:.95rem;color:#1e293b;display:block}.history-player-stats{font-size:.8rem;color:#64748b}.history-player-bar-wrap{flex:0 0 80px;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.history-player-bar{height:100%;border-radius:4px;transition:width .3s ease}.btn-replay{width:100%;padding:.6rem 1rem;font-size:.9rem;font-weight:600;color:var(--theme-primary, #667eea);background:#667eea1a;border:1px solid rgba(102,126,234,.3);border-radius:10px;cursor:pointer;transition:all .2s}.btn-replay:hover{background:#667eea2e;border-color:var(--theme-primary, #667eea)}.app-game-card{background:#fff;border-radius:14px;overflow:hidden;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 12px #0000001a;position:relative;border:2px solid #e5e7eb}.app-game-card-visibility{position:absolute;top:.5rem;right:.5rem;z-index:2;font-size:.625rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:.3rem .55rem;border-radius:6px;line-height:1.2;pointer-events:none;box-shadow:0 1px 3px #00000014}.app-game-card-visibility--public{background:#10b9812e;color:#047857}.app-game-card-visibility--private{background:#64748b29;color:#475569}.app-game-card--clickable{cursor:pointer}.app-game-card--clickable:hover,.app-game-card--with-actions:hover{transform:translateY(-4px);box-shadow:0 12px 24px #0003;border-color:var(--theme-primary, #667eea)}.app-game-card-hero{width:100%;min-height:132px;padding:.55rem .5rem;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(15,23,42,.08);box-sizing:border-box}.app-game-card-center-tile{display:flex;align-items:center;justify-content:center;min-height:92px;width:100%}.app-game-card-center-emoji{font-size:clamp(2.25rem,7vw,3rem);line-height:1;filter:drop-shadow(0 2px 8px rgba(0,0,0,.12));-webkit-user-select:none;user-select:none}.app-game-card-center-img{max-width:108px;max-height:108px;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 8px 24px #0000001f}.app-game-card-center-logo{opacity:.95}.app-game-card-body{padding:1rem 1.1rem}.app-game-card-title{font-size:1.05rem;font-weight:600;color:#1a1a1a;margin:0 0 .5rem}.app-game-card-badges{display:flex;gap:.5rem;margin-bottom:.5rem;flex-wrap:wrap}.app-game-card-badge{padding:.2rem .55rem;background:#f3f4f6;border-radius:5px;font-size:.8125rem;font-weight:600;color:#667eea}.app-game-card-meta-line{font-size:.8125rem;font-weight:600;color:#4b5563;letter-spacing:.02em;margin:0 0 .35rem}.app-game-card-date{font-size:.6875rem;color:#9ca3af;margin:.35rem 0 0;font-style:italic}.app-game-card-actions{display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;justify-content:flex-start;padding:0 1.1rem 1rem}.app-game-card-actions .app-button.app-button--sm{flex:0 0 auto;padding:.28rem .65rem;font-size:.75rem;font-weight:600;line-height:1.2}.app-game-card-actions .app-button--secondary.app-button--sm{padding:.26rem .6rem;border-width:1px}@media (max-width: 768px){.app-game-card-actions{justify-content:flex-start}}.library-page{min-height:100vh;padding:2rem 0;background:#f9fafb}.library-header{text-align:center;margin-bottom:3rem;color:#1a1a1a}.library-title{font-size:2rem;font-weight:700;margin-bottom:.5rem;color:#1a1a1a}.library-subtitle{font-size:1.1rem;color:#6b7280}.library-subtitle strong{color:#1a1a1a;font-weight:600}.loading-spinner,.error-content{text-align:center;padding:4rem 2rem;color:#1a1a1a}.loading-spinner{font-size:1.5rem}.error-content{background:#fff;border-radius:20px;padding:3rem;box-shadow:0 4px 12px #0000001a;max-width:600px;margin:0 auto}.error-icon{font-size:4rem;margin-bottom:1rem}.error-title{font-size:2rem;margin-bottom:1rem;color:#1a1a1a}.error-message{font-size:1.1rem;margin-bottom:2rem;color:#6b7280}.error-actions{margin-top:2rem}.empty-library{text-align:center;padding:4rem 2rem;background:#fff;border-radius:20px;box-shadow:0 4px 12px #0000001a;color:#1a1a1a}.empty-library p{font-size:1.2rem;margin-bottom:2rem;color:#6b7280}.rooms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.5rem;margin-bottom:3rem}.library-footer{display:flex;gap:1rem;justify-content:center;margin-top:3rem}.library-footer .app-button--primary,.library-footer .app-button--secondary{padding:.75rem 2rem;font-size:1rem}@media (max-width: 768px){.library-title{font-size:2rem}.library-subtitle{font-size:1rem}.rooms-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.25rem}.library-footer{flex-direction:column}.library-footer .app-button{width:100%}}.legal-page{min-height:100vh;background:#f9fafb;padding:2rem 1rem}.legal-content{background:#fff;border-radius:20px;padding:3rem;max-width:100%;margin:0 auto;box-shadow:0 20px 60px #0000004d;line-height:1.7;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.legal-content *{user-select:text;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text}.legal-content *::selection{background-color:#fff;color:inherit}.legal-content *::-moz-selection{background-color:#fff;color:inherit}.legal-content h1{font-size:2.5rem;font-weight:800;color:#1a1a1a;margin-bottom:.5rem}.last-updated{color:#6b7280;font-size:.9rem;margin-bottom:2rem;font-style:italic}.legal-section{margin-bottom:1rem}.legal-content h2{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem;margin-top:0}.legal-content h3{font-size:1.25rem;font-weight:600;color:#374151;margin-bottom:.5rem;margin-top:.75rem}.legal-content p{color:#4b5563;margin-bottom:.75rem;font-size:1rem}.legal-content ul{color:#4b5563;margin-left:1.5rem;margin-bottom:.75rem}.legal-content li{margin-bottom:.5rem}.legal-content strong{color:#1a1a1a;font-weight:600}.legal-footer{margin-top:3rem;padding-top:2rem;border-top:1px solid #e5e7eb;text-align:center}.btn-back{display:inline-block;padding:.75rem 2rem;text-decoration:none;border-radius:10px;font-weight:600;transition:transform .2s,box-shadow .2s}@media (min-width: 1024px){.legal-page{padding:3rem 2rem}.legal-content{max-width:100%;margin:0;padding:4rem}}@media (min-width: 768px) and (max-width: 1023px){.legal-content{max-width:100%;padding:3rem 2.5rem}}@media (max-width: 767px){.legal-content{padding:2rem 1.5rem;margin:0 auto}.legal-content h1{font-size:2rem}.legal-content h2{font-size:1.25rem}.legal-content h3{font-size:1.1rem}}.contact-page{min-height:100vh;padding:2rem 1rem;background:#f9fafb}.contact-container{max-width:1200px;margin:0 auto}.contact-header{text-align:center;margin-bottom:3rem}.contact-title{font-size:3rem;font-weight:700;margin-bottom:1rem;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.contact-subtitle{font-size:1.2rem;color:#666;max-width:600px;margin:0 auto}.contact-content{display:grid;grid-template-columns:1fr 2fr;gap:3rem;margin-bottom:2rem}.contact-info{display:flex;flex-direction:column;gap:1.5rem}.info-card{background:#fff;padding:2rem;border-radius:1rem;box-shadow:0 4px 6px #0000001a;text-align:center;transition:transform .2s,box-shadow .2s}.info-card:hover{transform:translateY(-5px);box-shadow:0 8px 12px #00000026}.info-icon{font-size:2.5rem;margin-bottom:1rem}.info-card h3{font-size:1.2rem;margin-bottom:.5rem;color:#333}.info-card p{color:#666;font-size:.95rem;margin:0}.contact-form{background:#fff;padding:2.5rem;border-radius:1rem;box-shadow:0 4px 6px #0000001a}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#333}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:2px solid #e0e0e0;border-radius:.5rem;font-size:1rem;font-family:inherit;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea}.form-group textarea{resize:vertical;min-height:120px}.form-success{background:#d4edda;color:#155724;padding:1rem;border-radius:.5rem;margin-bottom:1rem;border:1px solid #c3e6cb}.form-error{background:#f8d7da;color:#721c24;padding:1rem;border-radius:.5rem;margin-bottom:1rem;border:1px solid #f5c6cb}.btn-submit{width:100%;padding:1rem;font-size:1.1rem}.contact-footer{text-align:center;margin-top:2rem}.btn-back{padding:.75rem 2rem;font-size:1rem}@media (max-width: 968px){.contact-content{grid-template-columns:1fr;gap:2rem}.contact-title{font-size:2rem}.contact-subtitle{font-size:1rem}}.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;padding:2rem;position:relative}.auth-page-wrapper{width:100%;max-width:1200px;margin:0 auto;position:relative}.auth-container{width:100%;max-width:400px}.auth-card{background:#fff;border-radius:16px;padding:2.5rem;box-shadow:0 20px 60px #0000004d}.auth-title{font-size:2rem;font-weight:800;color:#1a1a1a;margin-bottom:.5rem;text-align:center}.auth-subtitle{font-size:1rem;color:#6b7280;margin-bottom:2rem;text-align:center}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.auth-field{display:flex;flex-direction:column;gap:.5rem}.auth-field label{font-size:.875rem;font-weight:600;color:#1a1a1a}.auth-field input{padding:.75rem 1rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:8px;outline:none;transition:border-color .2s;box-sizing:border-box}.auth-field input:focus{border-color:#667eea}.auth-field input:disabled{background-color:#f3f4f6;cursor:not-allowed}.auth-hint{font-size:.75rem;color:#6b7280;margin:0}.auth-button{padding:.875rem 1.5rem;font-size:1rem;font-weight:600;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-top:.5rem}.auth-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #667eea66}.auth-button:disabled{opacity:.6;cursor:not-allowed}.auth-error{background-color:#fee2e2;border:1px solid #fecaca;border-radius:8px;padding:1rem;margin-bottom:1.5rem}.auth-error p{color:#dc2626;font-size:.875rem;margin:0}.auth-success{background-color:#d1fae5;border:1px solid #a7f3d0;border-radius:8px;padding:1rem;margin-bottom:1.5rem}.auth-success p{color:#065f46;font-size:.875rem;margin:.5rem 0}.auth-success p:first-child{margin-top:0}.auth-success p:last-child{margin-bottom:0}.auth-switch{margin-top:2rem;text-align:center;font-size:.875rem;color:#6b7280}.auth-link-button{background:none;border:none;color:#667eea;font-weight:600;cursor:pointer;text-decoration:underline;padding:0;font-size:inherit}.auth-link-button:hover{color:#764ba2}.auth-content{margin-top:1rem}.auth-loading{display:flex;flex-direction:column;align-items:center;text-align:center;padding:2rem 0}.auth-spinner{box-sizing:border-box;width:48px;height:48px;flex-shrink:0;border:4px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;animation:auth-spin 1s linear infinite;transform-origin:center center}@keyframes auth-spin{to{transform:rotate(360deg)}}.auth-loading p{color:#6b7280;font-size:.875rem;margin:0;margin-top:1rem;max-width:100%}.auth-success{text-align:center;padding:2rem 0}.success-icon{width:64px;height:64px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;margin:0 auto 1.5rem}.success-title{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-bottom:.75rem}.success-message{color:#065f46;font-size:1rem;margin-bottom:.5rem}.success-redirect{color:#6b7280;font-size:.875rem;margin-top:1rem}.auth-error{text-align:center;padding:2rem 0}.error-icon{width:64px;height:64px;background:#fee2e2;color:#dc2626;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:700;margin:0 auto 1.5rem}.error-title{font-size:1.5rem;font-weight:700;color:#1a1a1a;margin-bottom:.75rem}.error-message{color:#dc2626;font-size:1rem;margin-bottom:1.5rem}.error-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.error-actions .auth-button{min-width:140px}.auth-header{position:absolute;top:0;left:0;right:0;padding:2rem;display:flex;justify-content:flex-start;z-index:10}.auth-header-content{margin-bottom:2rem}.auth-back-button{width:40px;height:40px;padding:0;font-size:1.25rem;font-weight:600;color:#667eea;background:#fff;border:2px solid #667eea;border-radius:9999px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px #0000001a}.auth-back-button:hover{background:#667eea;color:#fff;transform:translate(-2px)}@media (max-width: 768px){.auth-header{padding:1rem}}.profile-page{min-height:100vh;padding:2rem 1rem;background:#f9fafb}.profile-header{display:flex;justify-content:flex-start;align-items:center;margin-bottom:1.5rem}.back-button{width:40px;height:40px;padding:0;font-size:1.25rem;font-weight:600;color:#667eea;background:#fff;border:2px solid #667eea;border-radius:9999px;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.5rem;justify-content:center}.back-button:hover{background:#667eea;color:#fff;transform:translate(-2px)}.profile-title{font-size:2.5rem;font-weight:800;color:#1a1a1a;margin:0}.logout-button{padding:.75rem 1.5rem;font-size:.875rem;font-weight:600;color:#dc2626;background:#fff;border:2px solid #dc2626;border-radius:8px;cursor:pointer;transition:all .2s}.logout-button:hover{background:#dc2626;color:#fff}.profile-footer{display:flex;justify-content:center;margin-top:3rem}.profile-account-card{background:#fff;border-radius:16px;overflow:hidden;margin-bottom:1.25rem;box-shadow:0 1px 3px #0000000f,0 8px 24px #667eea1f;border:1px solid rgba(229,231,235,.9)}.profile-account-card-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:1rem 1.25rem 1.125rem}.profile-account-card-title{margin:0;font-size:1.125rem;font-weight:700;color:#fff;letter-spacing:.02em}.profile-account-card-body{padding:1.25rem 1.25rem 1.5rem}.profile-email-row{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem}@media (min-width: 640px){.profile-email-row{flex-direction:row;align-items:baseline;gap:1rem;justify-content:space-between}}.profile-field-label{font-size:.8125rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;flex-shrink:0}.profile-email-value{font-size:1rem;font-weight:600;color:#111827;word-break:break-word}.profile-verification-banner{display:flex;gap:.875rem;align-items:flex-start;padding:1rem 1rem 1.125rem;margin-bottom:1rem;background:linear-gradient(180deg,#fffbeb,#fef3c7);border:1px solid #fde68a;border-radius:12px}.profile-verification-banner-icon{font-size:1.5rem;line-height:1;flex-shrink:0}.profile-verification-banner-content{flex:1;min-width:0}.profile-verification-banner-title{margin:0 0 .35rem;font-size:.9375rem;font-weight:700;color:#92400e}.profile-verification-banner-hint{margin:0 0 .875rem;font-size:.8125rem;line-height:1.45;color:#a16207}.profile-verification-banner-actions{display:flex;flex-direction:column;gap:.5rem}@media (min-width: 480px){.profile-verification-banner-actions{flex-direction:row;flex-wrap:wrap;align-items:center}}.btn-resend-verify{padding:.5rem 1rem;font-size:.875rem;font-weight:600;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease;box-shadow:0 2px 8px #667eea59}.btn-resend-verify:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea73}.btn-resend-verify:disabled{opacity:.65;cursor:not-allowed;transform:none}.btn-check-verify{padding:.5rem 1rem;font-size:.875rem;font-weight:600;color:#4b5563;background:#fff;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.btn-check-verify:hover:not(:disabled){border-color:#667eea;color:#667eea;background:#f5f3ff}.btn-check-verify:disabled{opacity:.65;cursor:not-allowed}.profile-email-verified-badge{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;padding:.5rem .75rem;font-size:.875rem;font-weight:600;color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px}.profile-email-verified-icon{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;font-size:.75rem;font-weight:800;color:#fff;background:#10b981;border-radius:9999px}.profile-inline-success{margin-bottom:1rem;padding:.75rem 1rem;font-size:.875rem;line-height:1.45;color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px}.profile-inline-success p{margin:0}.profile-inline-error{margin-bottom:1rem;padding:.75rem 1rem;font-size:.875rem;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px}.profile-inline-error p{margin:0}.profile-status-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;padding-top:.25rem;border-top:1px solid #f3f4f6;margin-top:.25rem;padding-top:1rem}.profile-info{background:#fff;border-radius:12px;padding:1.5rem;margin-bottom:2rem;box-shadow:0 4px 6px #0000001a}.profile-info--below-account{margin-top:0}.status-badge{display:inline-block;padding:.375rem .75rem;border-radius:6px;font-size:.875rem;font-weight:600}.status-premium{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.status-free{background:#e5e7eb;color:#6b7280}.premium-upgrade-content{display:flex;flex-direction:column;gap:2rem}.premium-upgrade-title{font-size:2rem;font-weight:700;color:#1a1a1a;margin:0;text-align:center}.premium-upgrade-subtitle{font-size:1.125rem;color:#6b7280;text-align:center;margin:0}.premium-upgrade-pricing{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:2rem;background:#f9fafb;border-radius:12px}.pricing-amount{display:flex;flex-direction:column;align-items:center;gap:.5rem}.pricing-price{font-size:3rem;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.pricing-period{font-size:1rem;color:#6b7280;font-weight:500}.btn-upgrade{min-width:200px;font-size:1.125rem;padding:1rem 2rem}.profile-error{background-color:#fee2e2;border:1px solid #fecaca;border-radius:8px;padding:1rem;margin-bottom:2rem}.profile-error p{color:#dc2626;margin:0}.profile-success{background-color:#d1fae5;border:1px solid #a7f3d0;border-radius:8px;padding:1rem;margin-bottom:2rem;animation:slideIn .3s ease-out}.profile-success p{color:#065f46;margin:0;font-weight:600}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.profile-section{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 4px 6px #0000001a}.section-title{font-size:1.75rem;font-weight:700;color:#1a1a1a;margin-bottom:1.5rem}.empty-state{text-align:center;padding:3rem 1rem;color:#6b7280}.empty-state p{font-size:1.125rem;margin-bottom:1.5rem}.rooms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}@media (max-width: 768px){.rooms-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}}.room-status{margin-bottom:1rem}.status-completed{background:#d1fae5;color:#065f46}.status-pending{background:#fef3c7;color:#92400e}.profile-edit-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.profile-edit-modal{width:min(100%,26rem);max-height:min(90vh,32rem);overflow:auto;background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 24px 48px #0003}.profile-edit-modal-title{margin:0 0 1.25rem;font-size:1.25rem;font-weight:700;color:#1a1a1a}.profile-edit-label{display:block;font-size:.8125rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.35rem}.profile-edit-label--spaced{margin-top:1rem}.profile-edit-modal-input{width:100%;box-sizing:border-box;padding:.65rem .75rem;font-size:1rem;border:2px solid #e5e7eb;border-radius:10px;margin-bottom:.25rem}.profile-edit-modal-input:focus{outline:none;border-color:#667eea}.profile-edit-color-native{flex-shrink:0;box-sizing:border-box;width:2rem;height:2rem;padding:0;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;overflow:hidden;background:transparent;-webkit-appearance:none;-moz-appearance:none;appearance:none}.profile-edit-color-native:focus{outline:none}.profile-edit-color-native:focus-visible{border-color:#667eea;box-shadow:0 0 0 2px #667eea59}.profile-edit-color-native::-webkit-color-swatch-wrapper{padding:0}.profile-edit-color-native::-webkit-color-swatch{border:none;border-radius:6px}.profile-edit-color-native::-moz-color-swatch{border:none;border-radius:6px}.profile-edit-color-swatches{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem}.profile-edit-swatch{width:2rem;height:2rem;border-radius:8px;border:2px solid transparent;cursor:pointer;padding:0;transition:transform .15s ease,box-shadow .15s ease}.profile-edit-swatch:hover{transform:scale(1.08)}.profile-edit-swatch.active{border-color:#667eea;box-shadow:0 0 0 2px #667eea59}.profile-edit-visibility-row{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1rem}.profile-edit-visibility-switch{flex-shrink:0;padding:0;border:none;background:transparent;cursor:pointer}.profile-edit-visibility-switch:focus-visible{outline:2px solid #667eea;outline-offset:3px;border-radius:9999px}.profile-edit-visibility-track{display:block;width:44px;height:26px;border-radius:9999px;background:#d1d5db;position:relative;transition:background .2s}.profile-edit-visibility-switch[aria-checked=true] .profile-edit-visibility-track{background:linear-gradient(135deg,#667eea,#764ba2)}.profile-edit-visibility-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .2s}.profile-edit-visibility-switch[aria-checked=true] .profile-edit-visibility-thumb{transform:translate(18px)}.profile-edit-visibility-copy{min-width:0}.profile-edit-visibility-mode{display:block;font-size:.9375rem;font-weight:600;color:#1a1a1a;margin-bottom:.35rem}.profile-edit-hint--tight{margin-top:0}.profile-edit-hint{font-size:.875rem;color:#6b7280;margin:.75rem 0 0;line-height:1.45}.profile-edit-error{margin-top:.75rem;padding:.65rem .75rem;font-size:.875rem;color:#991b1b;background:#fef2f2;border-radius:8px;border:1px solid #fecaca}.profile-edit-modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.25rem;flex-wrap:wrap}.profile-edit-modal-actions .app-button--primary,.profile-edit-modal-actions .app-button--secondary{flex:1;min-width:6rem}.loading{text-align:center;padding:3rem;font-size:1.125rem;color:#6b7280}.profile-auth-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.25rem;padding:4rem 1.5rem;color:#6b7280}.profile-auth-loading-spinner{width:2.5rem;height:2.5rem;border:3px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;animation:profile-spin .75s linear infinite}@keyframes profile-spin{to{transform:rotate(360deg)}}.status-badge--loading{background:#f3f4f6;color:#6b7280;font-weight:500}.profile-premium-placeholder{margin:0 0 1.5rem;padding:1.25rem;background:#fff;border-radius:12px;border:1px solid #e5e7eb}.profile-skeleton{border-radius:10px;background:linear-gradient(90deg,#f3f4f6 25%,#eceef2,#f3f4f6 75%);background-size:200% 100%;animation:profile-skeleton-shimmer 1.2s ease-in-out infinite}@keyframes profile-skeleton-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.profile-skeleton--premium{height:180px;width:100%}.profile-games-loading-text{font-size:.9375rem;color:#6b7280;margin:0 0 1rem}.profile-games-skeleton-list{display:flex;flex-direction:column;gap:.75rem}.profile-skeleton--room-card{height:5.5rem;width:100%}.profile-games-error{text-align:center;padding:2rem 1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;color:#991b1b}.profile-games-error .app-button--primary{margin-top:1rem}.comparison-table-wrapper{margin:2rem 0;overflow-x:auto}.comparison-table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #0000001a}.comparison-table thead{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.comparison-table th{padding:1.25rem 1rem;text-align:left;font-weight:700;font-size:1rem}.comparison-table th.comparison-feature{width:50%}.comparison-table th.comparison-free,.comparison-table th.comparison-premium{width:25%;text-align:center}.comparison-table th.comparison-premium{background:linear-gradient(135deg,#764ba2,#667eea)}.comparison-table tbody tr{border-bottom:1px solid #e5e7eb;transition:background-color .2s}.comparison-table tbody tr:last-child{border-bottom:none}.comparison-table tbody tr:hover{background-color:#f9fafb}.comparison-table td{padding:1rem;font-size:.95rem}.comparison-table td.comparison-feature{font-weight:600;color:#1a1a1a}.comparison-table td.comparison-check{text-align:center;font-size:1.5rem;font-weight:700}.comparison-table td.comparison-check.premium-check{color:#667eea}.comparison-table td.comparison-check:not(.premium-check){color:#d1d5db;font-size:1.25rem}@media (max-width: 640px){.comparison-table{font-size:.875rem}.comparison-table th,.comparison-table td{padding:.75rem .5rem}.comparison-table th.comparison-feature{width:60%}.comparison-table th.comparison-free,.comparison-table th.comparison-premium{width:20%}}.app-button{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;font-family:inherit;font-weight:600;cursor:pointer;text-decoration:none;box-sizing:border-box;border:none;transition:all .3s ease;line-height:1.25}.app-button:focus-visible{outline:2px solid #667eea;outline-offset:2px}.app-button--full-width{width:100%}.app-button__icon{display:inline-flex;flex-shrink:0;align-items:center;line-height:1}.app-button--sm{padding:.35rem .75rem;font-size:.8125rem;border-radius:9999px}.app-button--md{padding:1rem 2.5rem;font-size:1.125rem;border-radius:12px}.app-button--lg{padding:1.25rem 3rem;font-size:1.25rem;border-radius:12px}@media (max-width: 480px){.app-button--lg{padding:1rem 2rem;font-size:1.125rem}}.app-button--primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 10px 25px #667eea66}.app-button--primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 15px 35px #667eea80;background:linear-gradient(135deg,#5568d3,#6a3f8f)}.app-button--primary:active:not(:disabled){transform:translateY(0);box-shadow:0 5px 15px #667eea4d}.app-button--primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.app-button--secondary{background:#fff;color:#667eea;border:2px solid #667eea;box-shadow:0 2px 8px #667eea1a}.app-button--secondary:hover:not(:disabled){background:#f0f4ff;transform:translateY(-2px);box-shadow:0 8px 20px #667eea33;border-color:#5568d3;color:#5568d3}.app-button--secondary:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 8px #667eea1a}.app-button--secondary:disabled{opacity:.6;cursor:not-allowed;transform:none}.app-button--secondary.app-button--sm{padding:.35rem .75rem;border-width:1.5px}.app-button--ghost{background:transparent;color:#64748b;border:none;box-shadow:none;font-weight:500}.app-button--ghost:hover:not(:disabled){color:var(--theme-primary, #667eea);background:#667eea14;transform:none;box-shadow:none}.app-button--ghost:active:not(:disabled){transform:none}.app-button--ghost:focus-visible{outline:2px solid #667eea;outline-offset:2px}.app-button--ghost.app-button--sm{padding:.5rem 1rem;font-size:.9rem;border-radius:8px;font-weight:500}.container{padding:1rem 1.5rem;width:100%;box-sizing:border-box}.hero{position:relative}.home-header{position:absolute;top:0;left:0;right:0;z-index:10;background:transparent}.header-content{display:flex;justify-content:space-between;align-items:center;gap:1rem}.header-logo{display:flex;align-items:center;text-decoration:none;transition:opacity .2s}.header-logo:hover{opacity:.8}.logo-img{height:40px;width:auto}.header-nav{display:flex;align-items:center;gap:1rem}.header-link-text{color:#fff;text-decoration:none;font-size:.95rem;font-weight:500;opacity:.95;padding:.4rem .75rem;border-radius:8px;transition:all .2s}.header-link-text:hover{background:#ffffff26;opacity:1}.header-link-profile{display:flex;align-items:center;justify-content:center;width:36px;height:36px;font-size:1.25rem;text-decoration:none;border:none;background:#ffffff26;border-radius:8px;transition:all .2s;opacity:.9;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-link-profile:hover{background:#ffffff40;transform:scale(1.05);opacity:1}.header-link-profile svg{width:20px;height:20px;stroke:currentColor}@media (max-width: 640px){.logo-img{height:32px}.header-link-profile{width:32px;height:32px;font-size:1.1rem}.header-link-profile svg{width:18px;height:18px}}.hero{min-height:30vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:2rem 1.5rem;position:relative;overflow:hidden}.hero-layout{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;max-width:1400px;margin:0 auto}.hero-content{text-align:left;z-index:1}.hero-preview{display:flex;justify-content:center;align-items:center;position:relative;z-index:1;width:100%;max-width:500px;min-width:300px}.hero:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");opacity:.3}.hero-content{position:relative;z-index:1;max-width:800px}@media (max-width: 968px){.hero-layout{grid-template-columns:1fr;gap:2rem;text-align:center}.hero-content{text-align:center}.hero-preview{order:-1;margin:0 auto 2rem;width:100%;max-width:500px;display:flex;justify-content:center;align-items:center}}@media (min-width: 641px) and (max-width: 968px){.hero-preview{margin:0 auto 2rem;width:100%;max-width:450px}}@media (max-width: 640px){.hero{min-height:40vh;padding:2rem 1rem}.hero-title{font-size:1.75rem}.hero-subtitle{font-size:1rem}.hero .home-header{position:absolute;background:transparent}}.hero-title{font-size:clamp(2rem,4vw,3rem);margin-bottom:1rem;font-weight:800}.gradient-text{background:linear-gradient(120deg,#fbbf24,#f59e0b);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.hero-subtitle{font-size:clamp(1rem,1.5vw,1.25rem);margin-bottom:1.5rem;opacity:.95;line-height:1.6}.hero-cta{margin-top:2rem}.section-title{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:1rem;color:#1a1a1a}.section-subtitle{font-size:1.125rem;text-align:center;color:#6b7280;margin-bottom:2rem;max-width:600px;margin-left:auto;margin-right:auto}.grid-upload-layout{display:grid;grid-template-columns:280px 1fr;gap:3rem;align-items:start}.grid-selection-compact{position:sticky;top:2rem}@media (min-width: 769px){.grid-selection-compact{padding-right:3rem;border-right:1px solid #e5e7eb}}.grid-selection-title{font-size:1.25rem;font-weight:700;margin-bottom:1rem;color:#1a1a1a;text-align:center}.grid-toggle-container{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.grid-toggle{border:2px solid #d1d5db;border-radius:12px;padding:1rem;text-align:center;cursor:pointer;transition:all .3s ease;background:#fff}.grid-toggle:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.grid-toggle.active{box-shadow:0 4px 12px #00000026}.grid-toggle-size{font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.grid-toggle-price{font-size:1.25rem;font-weight:600;opacity:.9;margin-bottom:.25rem}.grid-toggle-photos{font-size:.875rem;opacity:.85;margin-top:.25rem}.photo-upload-wrapper{flex:1}.grid-options{background:#f9fafb}.grid-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin-top:3rem}.grid-card{background:#fff;border-radius:20px;padding:2rem;box-shadow:0 4px 6px #0000000d;transition:all .3s ease;cursor:pointer;border:3px solid transparent}.grid-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px #0000001a}.grid-card.selected{border-color:#667eea;box-shadow:0 10px 30px #667eea33}.grid-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.grid-card-title{font-size:1.75rem;color:#1a1a1a}.grid-card-price{font-size:2rem;font-weight:800;color:#667eea}.grid-card-features{display:flex;flex-direction:column;gap:1rem;margin-bottom:2rem}.feature{display:flex;align-items:center;gap:.75rem;font-size:1rem;color:#4b5563}.feature-icon{font-size:1.5rem}.btn-select{width:100%;padding:.875rem;border-radius:10px;font-weight:600;background:#e5e7eb;color:#4b5563;transition:all .3s ease}.grid-card.selected .btn-select{background:#667eea;color:#fff}.grid-card{transition:all .3s ease}.grid-card:hover{transform:translateY(-3px)}.preview-section{padding:4rem 0;background:#fff}.preview-wrapper{max-width:80vw;background:#f9fafb;border-radius:16px;box-shadow:0 4px 12px #0000001a}@media (max-width: 640px){.preview-wrapper{padding:0}}.continue-button-wrapper{display:flex;justify-content:center;margin-top:2rem;margin-left:calc(280px + 3rem);max-width:calc(100% - 280px - 3rem)}@media (max-width: 768px){.continue-button-wrapper{margin-left:0;max-width:100%}}.continue-button{transition:all .3s ease}.payment-cta{text-align:center;margin-top:2rem}.theme-selection{background:#fff}.theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.5rem;max-width:800px;margin:0 auto}.theme-card{background:#f9fafb;border:3px solid transparent;border-radius:15px;padding:2rem 1.5rem;text-align:center;transition:all .3s ease;cursor:pointer}.theme-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #0000001a}.theme-card.selected{border-color:#667eea;background:#eef2ff}.theme-icon{font-size:3rem;margin-bottom:.75rem}.theme-name{font-size:1.125rem;font-weight:600;color:#1a1a1a;text-transform:capitalize}.theme-card-large{padding:2rem 1.5rem;color:#fff;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center}.theme-card-large:hover{transform:translateY(-5px) scale(1.02);box-shadow:0 20px 40px #0003}.theme-icon-large{font-size:3rem;margin-bottom:.75rem}.theme-name-large{font-size:1.25rem;font-weight:700;margin-bottom:.5rem;color:#fff}.theme-description{font-size:.875rem;opacity:.95;line-height:1.4;color:#fff}.theme-separator{display:flex;align-items:center;gap:1rem;margin:3rem auto 2rem;max-width:800px}.theme-separator-line{flex:1;height:1px;background:linear-gradient(to right,transparent,#d1d5db,transparent)}.theme-separator-text{font-size:.875rem;color:#6b7280;font-weight:500;white-space:nowrap}.theme-grid-custom{margin-top:2rem}.theme-page{min-height:100vh}.theme-hero{position:relative}.theme-emoji-large{font-size:5rem;margin-bottom:1.5rem;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.custom-theme-section{padding:3rem 0;background:#f9fafb}.custom-theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;max-width:1200px;margin:0 auto}@media (max-width: 768px){.custom-theme-grid{grid-template-columns:1fr;gap:1.5rem}}.footer{background:#1a1a1a;color:#fff;padding:4rem 0 2rem}.footer-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:3rem;margin-bottom:3rem}.footer-section h4{margin-bottom:1rem;font-size:1.25rem}.footer-section p{color:#9ca3af;margin-bottom:.75rem}.footer-links{display:flex;flex-direction:column;gap:.75rem}.footer-link{color:#9ca3af;transition:color .2s ease}.footer-link:hover{color:#fff}.footer-bottom{text-align:center;padding-top:2rem;border-top:1px solid #374151;color:#6b7280}.theme-content-section{padding:4rem 0;background:#f9fafb}.theme-content-wrapper{max-width:800px;margin:0 auto}.theme-content-title{font-size:2.5rem;font-weight:700;color:#1a1a1a;margin-bottom:1.5rem;text-align:center}.theme-content-text{font-size:1.125rem;line-height:1.8;color:#4b5563}.theme-content-text p{margin-bottom:1.5rem}.theme-content-subtitle{font-size:1.75rem;font-weight:700;color:#1a1a1a;margin-top:2rem;margin-bottom:1rem}.theme-content-steps{padding-left:1.5rem;margin-top:1rem}.theme-content-steps li{margin-bottom:.75rem;line-height:1.6}.faq-section{padding:4rem 0;background:linear-gradient(135deg,#f8f9fa,#fff)}.faq-section-title{font-size:2.5rem;font-weight:700;text-align:center;margin-bottom:3rem;color:#333;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.faq-list{max-width:800px;margin:0 auto}.faq-item{background:#fff;border-radius:12px;margin-bottom:1rem;box-shadow:0 2px 8px #00000014;overflow:hidden;transition:all .3s ease}.faq-item:hover{box-shadow:0 4px 12px #667eea26}.faq-item-open{box-shadow:0 4px 16px #667eea33}.faq-question{width:100%;padding:1.5rem 2rem;background:#fff;border:none;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1.125rem;font-weight:600;color:#333;transition:all .3s ease}.faq-question:hover{background:#f8f9fa;color:#667eea}.faq-question-text{flex:1;padding-right:1rem}.faq-icon{font-size:1.5rem;font-weight:300;color:#667eea;min-width:24px;text-align:center;transition:transform .3s ease}.faq-item-open .faq-icon{transform:rotate(180deg)}.faq-answer{padding:0 2rem 1.5rem;animation:fadeIn .3s ease}.faq-answer p{margin:0;color:#666;line-height:1.7;font-size:1rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.theme-content-section{padding:2rem 0}.theme-content-title{font-size:2rem}.theme-content-text{font-size:1rem}.theme-content-subtitle{font-size:1.5rem}.faq-section{padding:3rem 0}.faq-section-title{font-size:2rem;margin-bottom:2rem}.faq-question{padding:1.25rem 1.5rem;font-size:1rem}.faq-answer{padding:0 1.5rem 1.25rem}.faq-answer p{font-size:.95rem}}@media (max-width: 768px){.hero{min-height:45vh;padding:2rem 1rem}.grid-upload-layout{grid-template-columns:1fr;gap:2rem}.grid-selection-compact{position:static}.grid-toggle-container{flex-direction:row;gap:1rem}.grid-toggle{flex:1;min-width:0}.grid-selection-details{display:flex;gap:1rem;justify-content:space-around;flex-wrap:wrap}.grid-selection-details p{flex-direction:column;text-align:center;margin-bottom:0;flex:1;min-width:100px}.grid-cards{grid-template-columns:1fr;gap:1.5rem}.theme-grid{grid-template-columns:repeat(2,1fr)}.theme-card-large{min-height:200px;padding:1.5rem 1rem}.theme-icon-large{font-size:2.5rem}.theme-name-large{font-size:1.125rem;color:#fff}.theme-description{font-size:.8rem;color:#fff}.footer-content{grid-template-columns:1fr;gap:2rem}}.home-logo-on-light{display:none}@media (max-width: 1023px){.home-page .hero .hero-layout{display:none}.home-page .hero{background:transparent!important;min-height:0;padding:0;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow:visible}.home-page .hero:before{display:none}.home-page .hero>.container{padding:0;min-height:0}.home-page .home-header{position:relative;width:100%;box-sizing:border-box;background:#f3f4f6;border-bottom:1px solid #e5e7eb}.home-page .home-header .header-content{width:100%;max-width:100%}.home-page .home-logo-on-gradient{display:none}.home-page .home-logo-on-light{display:block}.home-page .header-link-profile{background:#0000000f;color:#1a1a1a;opacity:1}.home-page .header-link-profile:hover{background:#0000001a;transform:none}}@media (max-width: 480px){.hero-title{font-size:2rem}.hero-subtitle{font-size:1rem}.grid-card{padding:1.5rem}.theme-card{padding:1.5rem 1rem}.theme-icon{font-size:2.5rem}}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1a1a1a;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}#root{width:100%;min-height:100vh}html{scroll-behavior:smooth}h1,h2,h3,h4,h5,h6{font-weight:700;line-height:1.2}a{color:inherit;text-decoration:none;transition:opacity .2s ease}a:hover{opacity:.8}button{font-family:inherit;cursor:pointer;border:none;transition:all .3s ease}button:disabled{opacity:.6;cursor:not-allowed}*:focus-visible{outline:2px solid #4F46E5;outline-offset:2px}
