:root{font-family:Manrope Variable,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#f4f4f2;background:#080e15;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid #ffc47a;outline-offset:2px}a{color:#e9ad64;text-decoration:none}a:hover{text-decoration:underline}.app-shell{display:flex;min-height:100vh;background:radial-gradient(circle at 65% -20%,#152330 0,transparent 46%),#090f16}.sidebar{width:256px;flex:none;background:linear-gradient(180deg,#09121b,#070d14);border-right:1px solid #26313d;padding:26px 16px 20px;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;color:#f7f5f1;font-weight:800;font-size:19px;letter-spacing:-.04em;padding:5px 11px 27px;text-align:left}.brand-mark{color:#e9ad64;display:flex;transform:rotate(-8deg)}.nav-main{display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;width:100%;min-height:43px;color:#d2d6da;background:transparent;border:0;border-radius:9px;text-align:left;padding:0 13px;font-size:14px;font-weight:600}.nav-link svg{color:#d5d9dc;flex:none}.nav-link:hover,.nav-link.selected{background:#18222c}.nav-link.active{color:#fff;background:linear-gradient(90deg,#544536,#342e28)}.nav-link.active svg{color:#f7b76d}.nav-divider{height:1px;background:#29323b;margin:19px 9px}.sidebar-bottom{margin-top:auto}.storage-note{display:flex;align-items:center;gap:9px;color:#aab5b8;padding:0 12px;font-size:12px}.storage-note svg{color:#74b89b}.backup-link{display:flex;align-items:center;gap:9px;border:0;background:none;color:#e3b579;font-size:12px;padding:11px 12px}.main{width:calc(100% - 256px);min-width:0;position:relative}.page{max-width:1510px;padding:39px 42px 36px;margin:0 auto}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:29px}.page-header>button,.page-header>.segmented{margin-top:5px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.22em;color:#e8ad68;margin-bottom:10px}h1{font-family:Fraunces Variable,Georgia,serif;font-size:42px;line-height:1.08;letter-spacing:-.045em;margin:0 0 8px;font-weight:650;font-variation-settings:"SOFT" 25,"WONK" 0}h2{font-family:Fraunces Variable,Georgia,serif;font-size:26px;letter-spacing:-.035em;margin:0;font-weight:620;font-variation-settings:"SOFT" 20,"WONK" 0}h3{margin:0;font-size:20px}p{line-height:1.5}.page-header p,.section-heading p{margin:0;color:#aeb8bf;font-size:15px}.button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;padding:0 17px;font-size:13px;font-weight:750;line-height:1.1;white-space:nowrap;transition:transform .15s,background .15s,border-color .15s}.button svg,.status-strip button svg{flex:none}.button:hover:not(:disabled){transform:translateY(-1px)}.button.primary{border:1px solid #ffc47c;color:#1c1510;background:linear-gradient(180deg,#ffd091,#eba85a);box-shadow:0 2px 14px #df97421b}.button.primary:hover:not(:disabled){background:linear-gradient(180deg,#ffdbad,#f1b76e)}.button.muted{border:1px solid #46515c;color:#edf0f2;background:linear-gradient(180deg,#1b252f,#141d27)}.button.large{min-height:51px;padding:0 25px;font-size:15px}.icon-button{display:grid;place-items:center;border:0;background:transparent;color:#d5dce1;border-radius:6px;width:30px;height:30px}.icon-button:hover:not(:disabled){background:#2c3945;color:#fff}.collection-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.collection-card{display:flex;align-items:center;gap:20px;text-align:left;background:linear-gradient(140deg,#1b2833,#111b25);color:#fff;border:1px solid #3a4854;border-radius:13px;padding:20px;min-height:124px}.collection-card:hover{border-color:#dcaa71;background:#1e2b35}.collection-icon{color:#f5b464}.collection-card>div:nth-child(2){display:flex;flex-direction:column}.collection-card strong{font-size:31px;letter-spacing:-.04em;font-weight:500;line-height:1.12}.card-kicker{font-size:13px;font-weight:700}.collection-card small{color:#b4bdc4;font-size:12px;margin-top:5px}.collection-arrow{margin-left:auto;color:#a7b3bd}.guest-usage{display:flex;gap:9px;flex-wrap:wrap;margin:-7px 0 22px}.guest-usage span{border:1px solid #3c4c57;background:#14212b;border-radius:100px;color:#adbcc5;padding:8px 13px;font-size:11px}.guest-usage strong{color:#f2bd7d;font-size:12px}.saved-list-grid,.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 22px}.saved-list-card{position:relative;display:flex;flex-direction:column;min-width:0;background:transparent}.saved-list-art{display:block;width:100%;position:relative;border:0;background:transparent;padding:0;cursor:pointer}.saved-list-kind{color:#d7a76e;font-size:10px;font-weight:800;letter-spacing:.12em}.saved-list-body{display:flex;flex:1;flex-direction:column;padding:8px 4px 0;gap:9px}.saved-list-title{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.saved-list-title h2{font-family:Fraunces Variable,Georgia,serif;font-size:21px;line-height:1.15;margin:0}.saved-list-name{border:0;background:transparent;color:inherit;text-align:left;padding:0;cursor:pointer}.saved-list-name:hover h2{color:#f1bc7c}.saved-list-title p{color:#9daeb9;font-size:12px;margin:7px 0 0}.saved-list-title .icon-button{flex:none;background:transparent;border:0;color:#8296a1;min-width:24px;min-height:24px;padding:3px}.saved-list-title .icon-button:hover{color:#f0b879;background:transparent}.saved-list-meta{border:0;background:transparent;color:#eab679;text-align:left;font-size:11px;padding:0;align-self:flex-start;display:flex;align-items:center;gap:5px}.saved-list-actions{display:flex;gap:18px;margin-top:auto;padding-top:4px}.saved-list-actions .button{min-height:28px;padding:0;border:0;background:transparent;box-shadow:none;font-size:12px}.saved-list-actions .button.primary{color:#f2b975}.saved-list-actions .button.muted{color:#acbbc4}.saved-list-actions .button:hover{color:#ffe0ae;background:transparent}.library-header-actions{display:flex;gap:8px;flex-wrap:wrap}.template-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;padding:0;border:0;background:transparent;color:#f3f0eb}.template-card:focus-visible,.saved-list-art:focus-visible,.saved-list-actions button:focus-visible,.saved-list-title button:focus-visible,.saved-list-meta:focus-visible{outline:2px solid #f0b879;outline-offset:5px;border-radius:5px}.cover-triplet{display:flex;justify-content:center;align-items:center;width:100%;height:170px;flex:none;padding:10px 0 20px;background:transparent;overflow:visible}.triplet-poster{display:grid;place-items:center;flex:0 1 37%;min-width:0;max-width:105px;aspect-ratio:2/3;overflow:hidden;border:1px solid #a6a9a991;border-radius:5px;background:linear-gradient(145deg,#364457,#201d24);box-shadow:0 12px 24px #000a;transform:translate(7px,7px) rotate(-7deg);transition:transform .2s,box-shadow .2s}.triplet-poster:nth-child(2){transform:translateY(-4px) scale(1.09);z-index:2;box-shadow:0 15px 27px #000c}.triplet-poster:nth-child(3){transform:translate(-7px,7px) rotate(7deg)}.template-card:hover .triplet-poster:first-child,.saved-list-card:hover .triplet-poster:first-child{transform:translate(-1px,3px) rotate(-9deg)}.template-card:hover .triplet-poster:nth-child(2),.saved-list-card:hover .triplet-poster:nth-child(2){transform:translateY(-9px) scale(1.1);box-shadow:0 19px 33px #000e}.template-card:hover .triplet-poster:nth-child(3),.saved-list-card:hover .triplet-poster:nth-child(3){transform:translate(1px,3px) rotate(9deg)}.triplet-poster img{width:100%;height:100%;object-fit:cover;display:block}.triplet-poster>span{padding:7px;color:#d7dfe3;font-family:Fraunces Variable,Georgia,serif;font-size:12px;line-height:1.1;text-align:center;overflow-wrap:anywhere}.list-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:6px;padding:8px 4px 0}.template-card .card-kicker,.saved-list-card .card-kicker{font-size:10px;letter-spacing:.1em;color:#d7a76e}.template-card strong{font-family:Fraunces Variable,Georgia,serif;font-size:21px;line-height:1.15}.template-action{display:flex;align-items:center;gap:5px;margin-top:6px;color:#f1bc7c;font-size:12px;font-weight:800}.collection-preview-hero{display:grid;grid-template-columns:minmax(235px,330px) minmax(0,1fr);align-items:center;gap:34px;padding:7px 0 30px;border-bottom:1px solid #2d3a45}.collection-preview-art{min-width:0;background:radial-gradient(ellipse at 50% 80%,#5b432c44,transparent 65%)}.collection-preview-art .cover-triplet{height:215px;padding:16px 0 24px}.collection-preview-art .triplet-poster{max-width:127px}.collection-preview-intro{min-width:0}.collection-preview-intro h1{font-size:clamp(34px,3.7vw,54px);text-wrap:balance}.collection-preview-intro>p{margin:10px 0 22px;color:#aebcc5;font-size:14px}.collection-preview-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.collection-preview-limit{color:#e5ae8c!important;font-size:12px!important;margin:12px 0 0!important}.preview-section-heading{margin-top:29px}.preview-search{width:min(280px,100%)}.preview-count{color:#8598a4;font-size:12px;margin:-7px 0 16px}.preview-title-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:25px 16px}.preview-title-card{min-width:0}.preview-poster{width:100%;box-shadow:0 10px 25px #0007}.preview-title-meta{display:flex;align-items:flex-start;gap:9px;margin-top:9px}.preview-title-meta>span{display:grid;place-items:center;flex:none;min-width:24px;height:24px;border:1px solid #3b4853;border-radius:5px;color:#ddae79;font-size:10px;font-weight:850}.preview-title-meta>div{display:flex;flex-direction:column;gap:3px;min-width:0}.preview-title-meta strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.preview-title-meta small{color:#8999a5;font-size:11px}.guest-note{background:#182832;border-color:#3a5964;margin-top:23px}.guest-note svg{color:#c7a177}.limit-error{color:#f6b797!important;font-weight:750;margin-top:8px!important}.text-input{min-height:38px;width:100%;background:#0e1822;border:1px solid #465560;border-radius:7px;color:#edf0f1;padding:0 11px;font-size:12px}.status-strip{display:flex;align-items:center;gap:12px;min-height:50px;padding:9px 15px;border-radius:9px;border:1px solid #28463f;background:linear-gradient(90deg,#19342f,#1d2730);margin-top:16px;font-size:12px}.status-strip svg{flex:none;color:#58c693}.status-strip strong{white-space:nowrap}.status-strip span{color:#b5c3c6}.status-strip button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;border:1px solid #6a7880;border-radius:7px;color:#fff;min-height:32px;padding:5px 11px;white-space:nowrap}.status-strip button:first-of-type{margin-left:auto}.status-strip button:hover{border-color:#e7b474;background:#ffffff0c}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:33px 0 20px}.section-heading p{margin-top:5px;font-size:13px}.template-search{width:min(270px,100%)}.segmented{display:inline-flex;align-items:center;border:1px solid #52606d;border-radius:9px;padding:3px;background:#101821;gap:2px}.segmented button{border:0;background:transparent;color:#d5dadd;border-radius:6px;min-height:31px;padding:0 15px;font-size:12px;font-weight:700}.segmented button.active{background:linear-gradient(180deg,#f9c486,#e5a15b);color:#20170f}.poster-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px}.library-tile{text-align:left;background:none;border:0;color:#e9edf0;padding:0;min-width:0}.library-tile>span{display:block;font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:8px}.library-tile>small{color:#84919b;font-size:11px}.poster{aspect-ratio:2/3;position:relative;overflow:hidden;background:radial-gradient(circle at 70% 15%,#a1693f,transparent 48%),linear-gradient(145deg,#182e43,#121923 55%,#342c2b);border-radius:8px;border:1px solid #35414b}.poster img{display:block;width:100%;height:100%;object-fit:cover}.poster:after{content:"";position:absolute;inset:auto 0 0;height:28%;background:linear-gradient(transparent,#090e1490);pointer-events:none}.poster-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;width:100%;height:100%;padding:13%;color:#f6e8d6}.poster-fallback svg{color:#d8a062}.poster-fallback span{font-family:Fraunces Variable,Georgia,serif;font-size:clamp(12px,1.3vw,23px);line-height:1.16;letter-spacing:.04em;text-transform:uppercase;text-wrap:balance}.poster-fallback small{color:#b7aa9e}.library-tile:hover .poster{border-color:#eab475;transform:translateY(-2px);transition:.15s}.bottom-action{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:24px;border-top:1px solid #34404a;padding-top:19px}.bottom-action>span{color:#aab5be;font-size:12px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:330px;border:1px dashed #394650;border-radius:13px;color:#dbe0e3;background:#111b24}.empty-state>svg{color:#e9ad64;margin-bottom:16px}.empty-state p{color:#aeb7be;max-width:390px;margin:8px 0 20px}.notice{position:fixed;top:12px;left:50%;transform:translate(-50%);z-index:100;display:flex;align-items:center;gap:16px;width:max-content;max-width:min(420px,calc(100vw - 24px));background:#22362f;border:1px solid #5c9e79;color:#effff5;padding:12px 13px 12px 16px;border-radius:9px;box-shadow:0 12px 40px #0008;font-size:13px;pointer-events:none}.notice button{border:0;background:transparent;color:inherit;display:flex;pointer-events:auto}.loading{display:flex;align-items:center;justify-content:center;gap:13px;min-height:100vh;color:#e5b77d;background:#0b121a;font-size:18px}.battle-page{height:100dvh;min-height:0;display:flex;flex-direction:column;position:relative;overflow-y:auto;padding:24px 36px 17px;background:radial-gradient(circle at 50% 33%,#1b2734 0,transparent 42%),#0b121a}.battle-header{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex:none}.battle-header h1{font-size:38px}.battle-header p{margin:0;color:#ccd3d8}.battle-heading{min-width:0}.battle-collection-select{display:flex;align-items:center;gap:10px;margin-top:15px;color:#aebbc4;font-size:11px;font-weight:700}.battle-collection-select span{white-space:nowrap}.battle-collection-select select{min-width:175px;max-width:min(345px,37vw);height:37px;padding:0 12px;border:1px solid #64717d;border-radius:8px;background:#192530;color:#f4eee7;font:inherit;font-size:12px;font-weight:700;text-overflow:ellipsis}.battle-collection-select select:focus-visible{outline:2px solid #efb36f;outline-offset:2px}.battle-header-right{display:flex;align-items:flex-start;gap:16px}.battle-progress{width:min(300px,30vw);padding-top:5px}.battle-progress>div:first-child{display:flex;justify-content:space-between;font-size:12px;color:#ced4d9;margin-bottom:10px}.battle-progress small{display:block;color:#8798a4;font-size:11px;margin-top:8px}.battle-pause{min-width:82px}.progress-track{height:9px;border-radius:20px;background:#29343e;overflow:hidden}.progress-track div{height:100%;border-radius:inherit;background:linear-gradient(90deg,#e6a45d,#ffd295)}.battle-arena{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:clamp(20px,4vw,64px);padding:8px 0}.battle-choice{width:min(25vw,245px,clamp(105px,calc((100dvh - 385px)*2/3),245px));min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center}.battle-poster-button{padding:0;width:100%;border:0;background:transparent;border-radius:12px;position:relative;flex:none}.battle-poster-button .poster{width:100%;box-shadow:0 15px 40px #0008}.battle-poster-button:hover .poster,.battle-poster-button:focus-visible .poster{border-color:#f6bb72;box-shadow:0 0 0 2px #f6bb72,0 14px 45px #e9a65d45}.battle-poster-button.is-selected .poster{border-color:#ffd28c;box-shadow:0 0 0 4px #f5b669,0 0 38px #eda9548c,0 16px 45px #0009;transform:scale(1.025)}.chosen-indicator{position:absolute;left:50%;bottom:14px;transform:translate(-50%,8px);opacity:0;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;background:#f5bc74;color:#22170e;border-radius:99px;padding:7px 13px;font-size:12px;font-weight:850;box-shadow:0 4px 18px #0008;transition:opacity .18s,transform .18s;pointer-events:none}.battle-poster-button.is-selected .chosen-indicator{opacity:1;transform:translate(-50%)}.poster-label{position:absolute;z-index:2;top:10px;left:10px;border-radius:5px;background:#f4b66c;color:#231710;padding:5px 10px;font-size:12px;font-weight:900}.battle-choice h2{font-family:Fraunces Variable,Georgia,serif;font-size:19px;letter-spacing:-.03em;margin:9px 0 3px;line-height:1.15;text-wrap:balance}.battle-choice>span{color:#9caab4;font-size:12px}.choose-button{margin-top:9px}.versus{color:#f5f5f5;font-size:28px;font-weight:900;font-style:italic;align-self:center;margin-top:-55px}.battle-controls{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;padding-top:5px;flex:none}kbd{font:inherit;font-size:11px;color:#aeb8be;border-left:1px solid #46515c;padding-left:8px;margin-left:5px}.battle-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:12px;color:#788995;font-size:11px;flex:none}.battle-footer button{background:none;border:0;color:#b5c1c9;font-size:11px;text-decoration:underline;text-decoration-color:#58646d}.battle-footer span{display:flex;align-items:center;gap:7px}.battle-details{display:flex;gap:25px;max-width:900px;margin:0 auto 12px;color:#adb9c2;font-size:12px}.battle-details p{flex:1}.battle-picker-backdrop{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;background:#060b12c9;padding:18px;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.battle-picker{width:min(100%,540px);max-height:calc(100dvh - 36px);overflow:auto;background:#17232d;border:1px solid #61717a;box-shadow:0 25px 80px #000b;border-radius:15px;padding:24px}.battle-picker-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.battle-picker-heading h2{font-size:29px}.battle-picker p{color:#acbac3;font-size:13px;margin:13px 0 20px}.battle-picker-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.battle-picker-fields label{display:flex;flex-direction:column;gap:7px;color:#d6dfe4;font-size:12px;font-weight:700;min-width:0}.battle-picker-fields select{width:100%;min-height:42px}.battle-picker-actions{display:flex;justify-content:space-between;gap:10px;margin-top:23px}.rank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px}.rank-tabs button{white-space:nowrap}.search-box{display:flex;align-items:center;gap:9px;border:1px solid #3d4b56;background:#111c26;border-radius:8px;color:#aeb9c2;padding:0 12px;min-width:215px;height:38px}.search-box input{background:transparent;border:0;color:#f2f4f4;outline:none;width:100%;font-size:12px}.metric-row{display:flex;gap:25px;flex-wrap:wrap;color:#9aa9b3;font-size:12px;padding:19px 4px 15px}.compare-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#14212b;border:1px solid #33424e;border-radius:9px;padding:10px;margin-bottom:15px}.compare-bar>span{font-size:11px;font-weight:800;color:#b8c6cd;margin-right:auto}.compare-bar select{max-width:180px}.metric-row strong{color:#f1bc7f}.ranking-table{border-top:1px solid #3a4650}.rank-record{content-visibility:auto;contain-intrinsic-size:auto 66px}.rank-head,.rank-row{display:grid;grid-template-columns:65px minmax(220px,1fr) 110px 140px 145px;align-items:center;gap:12px}.rank-head{height:38px;color:#a8b4bd;font-size:11px;font-weight:700}.rank-row{min-height:66px;border-top:1px solid #2b3944;font-size:13px}.rank-row:hover{background:#18242f}.rank-number{display:flex;align-items:center;gap:9px;font-weight:800;color:#f1f3f4;padding-left:10px}.rank-number svg{color:#667682}.rank-title{display:flex;align-items:center;gap:12px;min-width:0}.rank-title .poster{width:37px;flex:none;border-radius:3px}.rank-title .poster-fallback{padding:4px;gap:2px}.rank-title .poster-fallback svg{display:none}.rank-title .poster-fallback span{font-size:5px}.rank-title strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-title small{display:block;color:#8496a2;margin-top:4px;font-size:11px}.uncertainty{color:#d9dee1}.uncertainty small{display:block;font-size:10px;color:#8594a0;margin-top:2px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:2px;padding-right:8px}.rank-detail{display:flex;gap:25px;flex-wrap:wrap;border-top:1px solid #2b3944;background:#151f29;padding:12px 20px 14px 77px;color:#a9b5bc;font-size:12px}.rank-detail>div{display:grid;gap:5px;min-width:230px}.rank-detail ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}.rank-detail li strong{color:#e6b476}.table-empty{text-align:center;color:#9ca9b1;padding:60px}.ranking-actions>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.rank-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.embed-studio-controls{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap;margin:20px 0 8px}.embed-studio-controls label,.embed-studio-controls>div{display:flex;flex-direction:column;gap:8px;color:#b8c6cd;font-size:12px;font-weight:750}.embed-studio-controls select{min-width:138px;height:39px;padding:0 12px;border:1px solid #51616b;border-radius:8px;background:#15212b;color:#f3f0eb}.embed-studio-controls .segmented{align-self:flex-start}.embed-preview-frame{max-width:1100px;overflow:hidden;border:1px solid #58626a;border-radius:12px;background:#f8f7f3;box-shadow:0 16px 38px #0005}.embed-open-link{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:750}.embed-preview-links{display:flex;gap:16px;flex-wrap:wrap}.embed-code-field{display:block;width:min(100%,1100px);min-height:100px;resize:vertical;padding:14px;border:1px solid #495862;border-radius:8px;background:#101b25;color:#dde7e7;font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.embed-studio-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.embed-note{max-width:900px;color:#a7b6bf;font-size:12px;line-height:1.55;margin:16px 0 0}@media(max-width:600px){.rank-header-actions{justify-content:flex-start}.embed-studio-controls{gap:15px}.embed-studio-page .section-heading{align-items:flex-start;flex-direction:column}.embed-studio-actions .button{flex:1}}.text-button{border:0;background:none;color:#e6b779;font-size:11px}.reveal-page{min-height:100vh;display:flex;flex-direction:column;background:#080d13;overflow:hidden}.reveal-topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;border-bottom:1px solid #2c3740;z-index:2}.reveal-topbar strong{display:flex;align-items:center;gap:10px;font-size:19px}.reveal-topbar strong svg{color:#f4b869}.reveal-setup{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;background:radial-gradient(circle at center,#26303b,#090e15 63%);padding:40px}.reveal-setup h1{font-size:clamp(34px,4vw,58px)}.reveal-setup p{color:#b3bdc4;font-size:16px;margin:9px 0 30px}.reveal-setup small{display:block;color:#8998a4;margin-top:18px}.scope-options{display:flex;gap:10px;margin-bottom:30px}.scope-options button{border:1px solid #56626d;background:#18222c;color:#f1f2f2;border-radius:9px;padding:13px 22px;font-size:13px;font-weight:700}.scope-options button.active{border-color:#efad62;background:#503f30;color:#ffe0b8}.reveal-stage{flex:1;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:0;background:radial-gradient(ellipse at 50% 85%,#5b3827 0,#1b1d22 38%,#080d13 75%)}.spotlight{position:absolute;top:-20%;width:35%;height:90%;background:linear-gradient(180deg,#e39b5360,transparent);filter:blur(25px);opacity:.35;pointer-events:none}.spotlight.left{left:4%;transform:rotate(-23deg)}.spotlight.right{right:4%;transform:rotate(23deg)}.reveal-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:0;flex:1}.reveal-crown{color:#f3c581;letter-spacing:.32em;font-size:15px;font-weight:700;text-align:center;margin:15px 0 18px}.reveal-result{display:flex;align-items:center;gap:32px;min-height:0}.reveal-rank{font-family:Georgia,serif;font-size:clamp(70px,9vw,160px);color:#eeb36d;text-shadow:0 10px 30px #0008}.reveal-poster{height:min(55vh,480px);width:auto;aspect-ratio:2/3;border:2px solid #f9c47f;box-shadow:0 0 25px #efad6e80,0 30px 50px #0009}.reveal-title{max-width:270px;display:flex;flex-direction:column;gap:10px}.reveal-title strong{font-family:Georgia,serif;font-size:clamp(26px,3vw,49px);line-height:1}.reveal-title span{color:#d6b591}.reveal-wait{display:flex;flex-direction:column;align-items:center;text-align:center;min-height:45vh;justify-content:center;color:#dba663}.reveal-wait h2{color:#f2eee8;margin:20px 0 0;font-size:37px}.reveal-wait p{color:#a9b7c0}.reveal-counter{font-size:12px;color:#b6a99e;margin:15px}.reveal-controls{z-index:2;display:flex;justify-content:center;gap:12px;padding:17px 20px 24px;background:#0b1119e8;border-top:1px solid #35404a}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.setting-card{background:linear-gradient(145deg,#1a2732,#111b25);border:1px solid #384650;border-radius:12px;padding:23px;min-height:235px}.setting-card>svg{color:#e7ab66}.setting-card h2{font-size:24px;margin:12px 0 8px}.setting-card p{color:#adbac3;font-size:13px;margin:0 0 12px}.setting-card p.minor{color:#8999a5;font-size:11px}.setting-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.setting-card a{display:inline-flex;align-items:center;gap:5px;font-size:12px}.setting-card .danger-button{color:#f1b7a3;border-color:#805749;margin-top:12px}.file-button input,.drop-zone input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.file-button{position:relative}.back-link{display:inline-flex;align-items:center;gap:5px;border:0;background:none;color:#aebcc4;font-size:12px;padding:0;margin:0 0 22px}.import-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:17px;align-items:start}.import-card{background:#15212b;border:1px solid #394852;border-radius:12px;padding:20px;min-width:0}.step-label{display:flex;align-items:center;gap:10px;font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#d6dce0;margin-bottom:15px}.step-label span{display:grid;place-items:center;border:1px solid #d3a169;background:#493c31;color:#f2c892;border-radius:7px;width:26px;height:26px;letter-spacing:0}.drop-zone{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-height:160px;border:1px dashed #6a7881;border-radius:9px;color:#f5f4f2;cursor:pointer}.drop-zone svg{color:#edb36e}.drop-zone span{color:#97a7b1;font-size:11px}.drop-zone input{inset:0;width:100%;height:100%;opacity:0;pointer-events:auto;cursor:pointer}.field{display:flex;flex-direction:column;gap:6px;margin-top:15px}.field label{font-size:11px;font-weight:700;color:#b8c5cd}.paste-titles{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin-top:17px}.paste-titles label{font-size:11px;font-weight:700;color:#b8c5cd}.paste-titles textarea{width:100%;min-height:94px;resize:vertical;background:#0e1822;border:1px solid #465560;border-radius:7px;color:#edf0f1;padding:10px 11px;font:inherit;font-size:12px;line-height:1.5}.paste-titles textarea:focus-visible{outline:2px solid #f1bb79;outline-offset:2px}.paste-titles .button{min-height:36px}select{min-height:38px;width:100%;min-width:0;background:#0e1822;border:1px solid #465560;border-radius:7px;color:#edf0f1;padding:0 30px 0 11px;font-size:12px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23bdc8cd' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:14px}select:hover{border-color:#8a9ca5}.format-result{display:flex;gap:13px;align-items:flex-start;padding:15px;border:1px solid #3d5e56;border-radius:10px;background:#1a302d}.format-result.needs-mapping{border-color:#856b43;background:#31291e}.format-result-icon{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;background:#285e4f;color:#7cdbad}.format-result.needs-mapping .format-result-icon{background:#66502f;color:#f0c17f}.format-result strong{display:block;color:#f2f5f0;font-size:14px;margin:1px 0 4px}.format-result p{color:#b5c8c3;font-size:12px;line-height:1.5;margin:0}.format-result.needs-mapping p{color:#d5bea1}.detected-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:15px 0 5px}.detected-field{display:flex;align-items:baseline;justify-content:space-between;gap:14px;min-width:0;padding:10px 0;border-bottom:1px solid #34444e;font-size:12px}.detected-field span{color:#a8b6bf}.detected-field strong{color:#edf1f1;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mapping-toggle{display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:0;background:none;border:0;color:#efb875;font-size:12px;font-weight:750}.mapping-toggle:hover{color:#ffd3a1}.mapping-toggle[aria-expanded=true] svg{transform:rotate(90deg)}.mapping-editor{margin-top:16px;padding-top:15px;border-top:1px solid #3a4a54}.mapping-editor>p{color:#aebdc5;font-size:12px;line-height:1.5;margin:0 0 13px}.mapping-editor>p strong{color:#e8eeef}.mapping-list{display:grid;gap:8px}.mapping-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(160px,1.15fr);align-items:center;gap:12px;font-size:12px;font-weight:700;color:#d4dee2}.mapping-row b{color:#efb875;font-weight:600}.mapping-row select{min-width:0}.fields-empty{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:15px 2px;color:#9aaeb8}.fields-empty svg{color:#d5a56d}.fields-empty strong{color:#e8edef;font-size:13px}.fields-empty p{margin:0;max-width:390px;font-size:12px;line-height:1.5}.muted-copy{color:#9baab5;font-size:12px}.import-errors{margin-top:16px;border:1px solid #8d6449;background:#342820;color:#f8d5ae;border-radius:9px;padding:12px 16px;font-size:12px}.import-errors p{margin:4px 0}.import-review-header{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:29px 0 14px}.import-review-header .step-label{margin-bottom:8px}.import-review-header h2{margin:0 0 4px}.import-review-header p{color:#a7b5be;margin:0;font-size:12px}.import-actions{display:flex;gap:8px}.import-progress{margin:12px 0}.import-note{margin:26px 0 18px;background:#1a2b35;border-color:#3e5964}.import-note svg{color:#d9ae78}.review-filter{display:flex;gap:7px;margin:16px 0 8px}.review-filter button{background:transparent;color:#b8c5cc;border:1px solid #43515b;border-radius:7px;padding:7px 12px;font-size:11px}.review-filter button.active{background:#584332;color:#f3c589;border-color:#bd8750}.import-table{border:1px solid #34434d;border-radius:9px;overflow:hidden}.import-table-head,.import-row{display:grid;grid-template-columns:48px minmax(180px,1fr) 100px minmax(180px,1fr);gap:12px;align-items:center;padding:9px 13px;font-size:12px}.import-table-head{background:#1f2d38;color:#a9b7c0;font-weight:800}.import-row{border-top:1px solid #2c3a45;min-height:57px}.import-row>span:first-child{color:#899aa5}.import-row strong,.import-row small{display:block}.import-row small{color:#8495a0;font-size:10px;margin-top:3px}.pill{display:inline-flex;align-items:center;gap:4px;border-radius:100px;padding:5px 9px;font-size:10px}.pill.warning{background:#4a3329;color:#f2c39d}.pill.success{background:#25443a;color:#a6e0bd}.pill.neutral{background:#283744;color:#b8c7d0}.candidate-select{max-width:100%;width:100%}.show-more{display:flex;margin:14px auto 0}.review-search{margin:20px 0;width:min(350px,100%)}.review-list{display:grid;gap:10px}.review-item{display:flex;gap:16px;align-items:flex-start;border:1px solid #354550;background:#14212b;border-radius:10px;padding:13px}.review-item>.poster{width:62px;flex:none}.review-item .poster-fallback{padding:4px;gap:5px}.review-item .poster-fallback span{font-size:8px}.review-item-body{flex:1;min-width:0}.review-item-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.review-item-title strong{font-size:14px}.review-item-body>small{display:block;color:#9aabb6;margin-top:4px}.review-item-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.review-item-actions{flex-wrap:wrap}.review-item-actions input{min-height:39px;background:#0e1822;border:1px solid #465560;border-radius:7px;color:#edf0f1;padding:0 10px;min-width:160px;max-width:270px;width:100%;font-size:12px}.review-item-actions>span{color:#d7ad7d;font-size:11px}.candidate-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:12px}.candidate-list button{display:flex;justify-content:space-between;gap:10px;text-align:left;border:1px solid #455660;border-radius:7px;background:#1b2a35;color:#edf2f4;padding:9px;font-size:11px}.candidate-list button:hover{border-color:#eab274}.candidate-list button>span:last-child{display:flex;align-items:center;gap:3px;white-space:nowrap;color:#e5b574}@media(min-width:2200px){.battle-page{padding:60px 90px 36px}.battle-header h1{font-size:64px}.battle-header p{font-size:24px}.battle-progress{width:480px}.battle-progress>div:first-child{font-size:18px}.battle-progress small{font-size:15px}.battle-choice{width:min(24vw,620px)}.battle-choice h2{font-size:34px}.battle-choice>span{font-size:20px}.versus{font-size:54px}.battle-page .button,.reveal-page .button{min-height:58px;font-size:18px;padding:0 25px}.battle-footer,.battle-footer button{font-size:16px}.reveal-poster{height:min(55vh,1000px)}.reveal-crown{font-size:26px}.reveal-title strong{font-size:65px}.reveal-counter{font-size:18px}}@media(max-width:1200px){.poster-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.page{padding:32px 28px}.battle-page{padding:28px}.ranking-actions{align-items:flex-start;flex-direction:column}.rank-head,.rank-row{grid-template-columns:53px minmax(180px,1fr) 90px 105px 130px}}@media(max-width:1200px){.saved-list-grid,.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.sidebar{width:68px;padding:19px 9px}.brand{padding:4px 10px 26px}.brand>span:last-child,.nav-link{font-size:0}.nav-link{justify-content:center;padding:0}.nav-link svg{width:20px;height:20px}.sidebar-bottom,.nav-divider{display:none}.main{width:calc(100% - 68px)}.poster-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.collection-cards,.settings-grid,.import-grid{grid-template-columns:1fr}.rank-toolbar{align-items:stretch;flex-direction:column}.search-box{width:100%}.rank-head,.rank-row{grid-template-columns:43px minmax(130px,1fr) 75px 85px 116px;gap:5px;font-size:11px}.battle-choice{width:33vw;min-width:155px}.battle-arena{gap:20px}}@media(max-width:850px){.saved-list-grid,.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.page{padding:24px 16px}.page-header{align-items:flex-start}.page-header .button{padding:0 10px;font-size:11px}h1{font-size:34px}.collection-cards{gap:10px}.collection-card{min-height:110px;padding:12px;gap:10px}.collection-icon svg{width:23px}.collection-card strong{font-size:25px}.status-strip{align-items:flex-start;flex-wrap:wrap}.status-strip button{margin-left:0}.poster-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bottom-action{align-items:stretch;flex-direction:column}.battle-page{padding:21px 13px}.battle-header{flex-direction:column;gap:14px}.battle-progress{width:100%}.battle-arena{gap:8px;padding:20px 0}.battle-choice{width:42vw;min-width:0}.battle-choice h2{font-size:15px}.versus{font-size:18px}.battle-controls{gap:5px}.battle-controls .button{padding:0 9px;font-size:11px}.battle-footer button{max-width:110px}.ranking-table{overflow-x:auto}.rank-head,.rank-row{min-width:620px;grid-template-columns:42px minmax(190px,1fr) 75px 105px 145px;gap:5px}.rank-title .poster{width:28px}.rank-title{gap:5px}.rank-title small{font-size:9px}.uncertainty{font-size:10px}.metric-row{gap:10px}.rank-tabs{width:100%;overflow:auto}.rank-tabs button{padding:0 8px;font-size:10px}.import-review-header{align-items:stretch;flex-direction:column}.import-actions{flex-wrap:wrap}.import-table-head,.import-row{grid-template-columns:30px minmax(120px,1fr) 80px;gap:6px;padding:8px;font-size:10px}.import-table-head span:last-child,.import-row>div:last-child{grid-column:2/4}.reveal-topbar{padding:0 10px}.reveal-topbar strong{font-size:13px}.reveal-topbar .button{padding:0 7px;font-size:10px}.reveal-result{gap:12px;flex-direction:column}.reveal-rank{font-size:60px}.reveal-poster{height:35vh}.reveal-title{text-align:center}.reveal-title strong{font-size:25px}.scope-options{gap:4px}.scope-options button{padding:10px;font-size:11px}.compare-bar select{max-width:100%;width:100%}.candidate-list{grid-template-columns:1fr}}@media(max-width:600px){.saved-list-grid,.template-grid{grid-template-columns:1fr}.template-card{min-height:185px}.guest-usage{gap:6px}.guest-usage span{padding:6px 9px}.guest-note{align-items:flex-start}}@media(max-width:600px){.browse-page .page-header,.library-page .page-header{flex-direction:column;gap:14px}.browse-page .page-header>.button{align-self:flex-start}}@media(max-width:600px){.cover-triplet{height:180px}.battle-collection-select{margin-top:8px;flex-wrap:wrap}.battle-collection-select select{max-width:calc(100vw - 220px);min-width:0;height:32px;font-size:11px}}@media(max-width:850px){.collection-preview-hero{grid-template-columns:minmax(160px,235px) minmax(0,1fr);gap:16px}.collection-preview-intro h1{font-size:34px}.collection-preview-actions .button{min-height:39px;font-size:12px}}@media(max-width:600px){.collection-preview-hero{grid-template-columns:1fr;gap:0}.collection-preview-art{max-width:330px}.collection-preview-art .cover-triplet{height:180px}.collection-preview-actions{align-items:stretch}.collection-preview-actions .button{flex:1}.preview-section-heading{align-items:stretch;flex-direction:column}.preview-search{width:100%}.preview-title-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}}.battle-setup-lists{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.battle-setup-list{display:flex;flex-direction:column;position:relative;min-width:0;overflow:hidden;text-align:left;border:1px solid #3e4d58;border-radius:11px;background:#15222c;color:#f3f0eb;padding:0}.battle-setup-list.selected{border-color:#e9b477;box-shadow:0 0 0 2px #d49d5d55}.battle-setup-list .cover-triplet{height:94px;padding:8px 15px}.battle-setup-list .triplet-poster{height:70px;max-width:61px}.battle-setup-list>span:nth-child(2){display:flex;flex-direction:column;gap:5px;padding:12px 15px 15px}.battle-setup-list strong{font-family:Fraunces Variable,Georgia,serif;font-size:17px}.battle-setup-list small{color:#aebbc4;font-size:11px}.battle-setup-list>svg{position:absolute;top:11px;right:11px;color:#f7bd79;background:#15232bd9;border-radius:50%;padding:2px}.setup-media{margin:-6px 0 14px;width:max-content}.battle-mode-grid,.friend-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.battle-mode-card,.friend-entry-panel,.room-invite,.room-players,.room-wait-panel,.room-results{border:1px solid #394a55;background:linear-gradient(145deg,#1b2a36,#101b25);border-radius:13px;padding:22px}.battle-mode-card{display:flex;flex-direction:column;align-items:flex-start;min-height:170px}.battle-mode-card>svg,.friend-entry-panel>svg{color:#f2b975}.battle-mode-card h3,.friend-entry-panel h2,.room-players h2,.room-wait-panel h2,.room-results h2{font-family:Fraunces Variable,Georgia,serif;font-size:24px;margin:11px 0 7px}.battle-mode-card p,.friend-entry-panel p,.room-players p,.room-wait-panel p,.room-results p{color:#aebbc4;font-size:12px;line-height:1.5;margin:0 0 17px}.battle-mode-card .button{margin-top:auto}.mode-setting{display:flex;flex-direction:column;gap:6px;width:100%;margin:0 0 14px;color:#b7c4cb;font-size:11px;font-weight:700}.mode-setting select{max-width:250px}.mode-progress{display:block;color:#edbc7e;font-size:12px;margin:0 0 14px}.tournament-finish{width:min(100%,740px);margin:22px auto;padding:28px;border:1px solid #705532;border-radius:14px;background:radial-gradient(circle at 50% 0%,#3b3024,#111b25 65%);text-align:center}.tournament-finish>svg{color:#f0b96d}.tournament-winner{display:flex;align-items:center;justify-content:center;gap:24px;margin:22px 0}.tournament-winner .poster{width:135px;flex:none}.tournament-winner>div:last-child{text-align:left}.tournament-winner h2{font-family:Fraunces Variable,Georgia,serif;font-size:32px;margin:7px 0}.tournament-winner p,.tournament-finish>p{color:#b5c1c7;font-size:13px;line-height:1.6}.tournament-finish>p{max-width:560px;margin:0 auto 20px}.tournament-finish-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.watch-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.watch-timer{display:inline-flex;align-items:center;gap:7px;color:#efbc7d;font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}.watch-requirement{color:#efba82!important}.watch-voting-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:22px 0 16px}.watch-voting-heading h2{margin:0 0 5px;font-size:26px}.watch-voting-heading p{margin:0;color:#aab9c1;font-size:12px}.watch-candidates{display:grid;grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:14px}.watch-candidate{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:11px;background:#16232e;border:1px solid #3b4d58;border-radius:12px;color:#edf0ef;min-width:0}.watch-candidate:hover{border-color:#c18d55;background:#1e2d38}.watch-candidate.selected{border-color:#f2b76e;box-shadow:0 0 0 2px #e6ab6540,0 0 28px #d4864325}.watch-candidate .poster{width:100%;aspect-ratio:2/3}.watch-candidate-copy{display:flex;flex-direction:column;gap:5px;padding:11px 2px;min-height:82px}.watch-candidate-copy small{color:#edb778;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.watch-candidate-copy strong{font-family:Fraunces Variable,Georgia,serif;font-size:17px;line-height:1.2}.watch-candidate-copy>span{color:#91a1aa;font-size:11px}.watch-vote-label{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:auto;min-height:33px;background:#22313b;border-radius:7px;color:#f1c28a;font-size:11px;font-weight:800}.watch-candidate.selected .watch-vote-label{background:#6b4b2f;color:#fff0db}.watch-results{max-width:850px;margin:25px auto}.watch-winner{display:flex;align-items:center;gap:22px;padding:24px;border:1px solid #956a40;border-radius:14px;background:linear-gradient(135deg,#35291e,#14222c)}.watch-winner>svg{color:#edb76a;flex:none}.watch-winner h2{font-family:Fraunces Variable,Georgia,serif;font-size:34px;margin:7px 0}.watch-winner p{color:#b9c4c8;margin:0;font-size:13px}.watch-winner .poster{width:95px;margin-left:auto;flex:none}.watch-result-note{color:#aab9c1;font-size:12px;line-height:1.5}.watch-tally{border:1px solid #3b4d58;border-radius:10px;padding:17px;background:#15212b}.watch-tally h3{margin:0 0 12px}.watch-tally>div{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #34434d;padding:10px 0;font-size:12px}.watch-tally>div strong{color:#f0bd7d;white-space:nowrap}.friend-entry-panel{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.friend-entry-panel h2{margin-bottom:0}.friend-entry-panel strong{color:#e6c6a3;font-size:13px}.friend-entry-panel label{display:flex;flex-direction:column;gap:6px;width:100%;font-size:11px;font-weight:750;color:#b8c4cb}.friend-entry-panel input,.room-invite input{width:100%;height:39px;border:1px solid #5d6b74;border-radius:7px;background:#0c1721;color:#f5eee7;padding:0 11px;font:inherit;font-size:13px}.friend-entry-panel .button{margin-top:7px}.room-error{border-color:#9c5d51;background:#3c2726;color:#ffd6ca;margin-bottom:18px}.room-lobby{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:15px}.room-invite{display:flex;flex-direction:column;gap:14px}.room-invite>div:first-child{display:flex;flex-direction:column;gap:5px}.room-invite strong{font-size:32px;letter-spacing:.24em;color:#f5c182}.room-invite p{color:#aebbc4;font-size:12px}.room-invite-actions{display:flex;gap:8px}.room-invite-actions input{min-width:0;flex:1}.room-invite small{color:#c9b7a0;font-size:11px;line-height:1.5}.room-invite code{color:#f5c182}.room-players>div{display:flex;align-items:center;gap:9px;margin:12px 0;font-size:13px}.room-players small{color:#aebbc4}.player-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#b78a59;color:#1d1712;font-weight:900}.room-waiting{color:#d9b78b;font-size:12px}.room-wait-panel{text-align:center;max-width:650px;margin:auto}.room-wait-panel>svg,.room-results-heading>svg{color:#f3ba75}.room-player-progress{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:12px 0 20px}.room-player-progress span{border:1px solid #4d5d67;border-radius:99px;padding:7px 10px;color:#d4dce1;font-size:11px}.friend-battle-collection{margin-top:15px;color:#aebbc4;font-size:12px;font-weight:700}.friend-battle-page .battle-footer span{min-width:0}.hosted-rooms{margin:4px 0 30px}.hosted-rooms .section-heading{margin-bottom:12px}.hosted-room-table{overflow-x:auto;border:1px solid #354650;border-radius:10px;background:#111d27}.hosted-room-row{display:grid;grid-template-columns:minmax(170px,2fr) 85px 70px 90px minmax(180px,1fr);gap:12px;align-items:center;padding:11px 15px;border-bottom:1px solid #2c3a44;font-size:12px}.hosted-room-row:last-child{border-bottom:0}.hosted-room-head{background:#1c2a35;color:#aab9c2;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.hosted-room-row strong{font-family:Fraunces Variable,Georgia,serif;font-size:17px;line-height:1.2}.hosted-room-row code{color:#f1bd7c;font-size:12px;font-weight:800;letter-spacing:.08em}.hosted-room-status{color:#b9c6cd;text-transform:capitalize}.hosted-room-actions{display:flex;justify-content:flex-end;gap:7px}.hosted-room-actions .button{min-height:32px;padding:0 10px;font-size:11px}.room-results-heading{display:flex;align-items:flex-start;gap:13px}.room-results-heading h2{margin-top:0}.room-results-table{overflow-x:auto;border:1px solid #3b4d58;border-radius:9px}.room-results-row{display:grid;gap:8px;padding:10px 13px;border-bottom:1px solid #32414c;font-size:12px}.room-results-row:last-child{border-bottom:0}.room-results-row:nth-child(2n){background:#ffffff06}.room-results-row.heading{color:#f1bc7b;background:#263440}.room-results-row>strong:not(:first-child){text-align:center}@media(max-width:1100px){.battle-setup-lists{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.battle-setup-lists{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.battle-setup-lists,.battle-mode-grid,.friend-entry-grid,.room-lobby{grid-template-columns:1fr}.room-invite-actions{flex-direction:column}.saved-list-grid{grid-template-columns:1fr}.library-header-actions{width:100%}.library-header-actions .button{flex:1}.room-results-row{min-width:420px}.hosted-room-row{min-width:570px}.friend-battle-page .battle-footer span:last-child{display:none}}@media(max-width:600px){.section-heading:has(.template-search){align-items:stretch;flex-direction:column}.template-search{width:100%}}@media(min-width:2200px){.battle-choice{width:min(24vw,400px,clamp(170px,calc((100dvh - 430px)*2/3),400px))}}@media(max-width:850px){.battle-choice{width:min(31vw,220px,clamp(100px,calc((100dvh - 315px)*2/3),220px))}.battle-header-right{gap:10px}.battle-progress{width:min(260px,32vw)}}@media(max-width:600px){.status-strip button:first-of-type{margin-left:0}.battle-page{padding:14px 12px 12px}.battle-header{gap:7px}.battle-header h1{font-size:30px;margin-bottom:2px}.battle-header p{font-size:12px}.battle-header .eyebrow{margin-bottom:3px}.battle-header-right{align-items:center;width:100%}.battle-progress{flex:1;width:auto;padding-top:0}.battle-progress>div:first-child{font-size:10px;margin-bottom:4px}.battle-progress small{display:none}.battle-pause{min-height:34px;padding:0 10px;font-size:11px}.battle-arena{gap:7px;padding:5px 0}.battle-choice{width:min(39%,175px,clamp(90px,calc((100dvh - 300px)*2/3),175px))}.battle-choice h2{font-size:14px;margin:7px 0 2px}.battle-choice>span{font-size:10px}.battle-choice .choose-button{min-height:33px;padding:0 8px;font-size:11px;margin-top:7px}.battle-controls .button{min-height:34px}.battle-footer{margin-top:9px;gap:6px}.battle-footer button{font-size:10px;max-width:115px}.battle-footer span{font-size:0}.battle-footer span svg{display:none}.battle-picker{padding:18px}.battle-picker-fields{grid-template-columns:1fr}.battle-picker-actions{flex-wrap:wrap}.battle-picker-actions .button{flex:1}}@media(max-width:600px){.detected-fields{grid-template-columns:1fr}.mapping-row{grid-template-columns:1fr;gap:5px}.import-note{margin-top:22px}}@media(max-width:600px){.watch-voting-heading{align-items:flex-start;flex-direction:column}.watch-candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.watch-candidate{padding:7px}.watch-candidate-copy strong{font-size:14px}.watch-winner{gap:10px;padding:14px}.watch-winner h2{font-size:24px}.watch-winner .poster{width:70px}.tournament-winner{gap:12px}.tournament-winner .poster{width:95px}.tournament-winner h2{font-size:23px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
