@import url('/node_modules/@fontsource-variable/geist/index.css');
:root{font-family:'Geist Variable',system-ui,sans-serif;color:#f3f1e9;background:#161b20;color-scheme:dark;font-synthesis:none}*{box-sizing:border-box}body{margin:0;height:100dvh;overflow:hidden;display:flex;flex-direction:column}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:2px solid #bcf37c;outline-offset:3px}header{height:54px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #ffffff12}.wordmark{font-size:29px;letter-spacing:-1.8px;font-weight:850;color:#f6f2e8;text-decoration:none}.wordmark span{color:#bcf37c;margin-left:5px}.demo-tag{font-size:9px;color:#a8b5b7;letter-spacing:1px}main{display:grid;grid-template-columns:minmax(0,1fr) 266px;flex:1;min-height:0;padding:12px 18px 8px;gap:16px;width:100%;max-width:2000px;align-self:center}.game-column{display:flex;flex-direction:column;min-width:0;min-height:0}.arena-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;flex-shrink:0}h1{font-size:24px;font-weight:550;letter-spacing:-1px;margin:0}.primary{background:#bef284;color:#1d281b;border:0;border-radius:7px;padding:11px 14px;font-size:12px;font-weight:750;white-space:nowrap}.primary:hover{background:#cefca0}.arena-frame{position:relative;overflow:hidden;border-radius:12px;background:#ddd5bf;border:1px solid #ffffff1c;display:flex;flex-direction:column;flex:1;min-height:0}.arena-hud{position:absolute;left:12px;top:12px;right:12px;z-index:1;display:flex;justify-content:space-between;pointer-events:none;font-size:10px;font-weight:650;letter-spacing:1px;color:#586050}.arena-hud>span{background:#202925;color:#e6eddd;padding:7px 9px;border-radius:5px}.arena-hud i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#bcf37c;margin-right:6px}.arena-hud b{border-left:1px solid #ffffff3b;padding-left:8px;margin-left:6px}#clock{font-variant-numeric:tabular-nums;background:#ede7d7;color:#616752}#arena{display:block;width:100%;height:0;flex:1;min-height:0;touch-action:manipulation}.arena-footer{display:flex;align-items:center;gap:5px;padding:7px 9px;background:#e8e2d3;border-top:1px solid #b0b39d55;flex-shrink:0}.arena-footer button{background:transparent;border:1px solid #a9ad9866;color:#414c3e;border-radius:5px;padding:7px 8px;font-size:11px;white-space:nowrap}.arena-footer button:hover,.arena-footer button[aria-pressed=true]{background:#ccd7b6}#brands,#close-panel{display:none}.below-arena{height:27px;flex-shrink:0;display:flex;align-items:center;color:#95a3a5;font-size:10px;overflow:hidden}#feed{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}aside{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#46544f transparent;padding-right:4px}#selected-card{background:#232b30;border:1px solid #ffffff12;border-radius:12px;padding:13px}.monster-portrait{display:block;width:100%;height:100px;object-fit:contain;background:radial-gradient(ellipse at center,#3d4c3980,transparent 68%);margin:-6px 0 2px}.selected-top{display:flex;align-items:center;gap:10px}.brand-logo{width:32px;height:32px;object-fit:contain;background:#fffaf0;border-radius:8px}.selected-name{font-size:18px;font-weight:650;overflow-wrap:anywhere}.selected-caption{color:#9aa6a9;font-size:10px;margin-top:2px}.website-link{display:block;color:#c4f591;text-decoration:none;font-size:12px;padding:9px 0;margin-top:6px;border-bottom:1px solid #ffffff12}.website-link:hover{text-decoration:underline}.stat-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.stat-row>div{background:#192126;padding:8px;border-radius:6px}.stat-row small{color:#859599;font-size:8px;display:block;letter-spacing:.7px}.stat-row strong{font-size:19px;display:block;margin-top:3px}.backing-form{display:flex;flex-direction:column;gap:8px}.backing-form label{font-size:11px;color:#d0d8d5}.money-input{display:flex;align-items:center;background:#172126;border:1px solid #596960;border-radius:7px;padding:0 10px;gap:8px}.money-input span{color:#a4b295}.money-input input{width:100%;min-width:0;padding:9px 0;background:transparent;border:0;color:#f3f1e9;outline:none;font-size:18px;font-weight:650}.money-input:focus-within{outline:2px solid #bcf37c;outline-offset:2px}.hint{font-size:9px;color:#99a8ab;margin:8px 0 0;line-height:1.5}.roster-heading{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px}h2{font-size:13px;font-weight:600;margin:0}.roster-heading span{font-size:10px;color:#809095}#roster{display:flex;flex-direction:column;gap:3px}.roster-row{display:flex;align-items:center;gap:8px;border:1px solid transparent;background:transparent;width:100%;color:#d7dddd;padding:7px;border-radius:7px;text-align:left}.roster-row:hover,.roster-row.active{background:#2b3438}.roster-logo{width:23px;height:23px;object-fit:contain;border-radius:5px;background:#fffaf0}.roster-name{flex:1;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.roster-money{color:#a6b2b4;font-size:11px}.roster-ko{width:24px;text-align:right;font-size:10px;color:#718287}#announcement{pointer-events:none;position:absolute;bottom:60px;left:50%;transform:translateX(-50%);padding:10px 14px;border-radius:8px;background:#17221eed;color:#c5f791;font-size:12px;font-weight:650;max-width:90%;text-align:center;opacity:0;transition:opacity .2s}#announcement.show{opacity:1}dialog{color:#f3f1e9;background:#222b30;border:1px solid #ffffff25;border-radius:17px;width:min(440px,calc(100% - 24px));padding:26px;max-height:92dvh;overflow-y:auto}dialog::backdrop{background:#0c111ac9;backdrop-filter:blur(6px)}dialog form{display:flex;flex-direction:column;gap:12px}.eyebrow{font-size:9px;letter-spacing:1px;color:#adb5b7}dialog h2{font-size:28px;letter-spacing:-1px;margin:3px 0 8px}dialog label{font-size:12px;color:#bdc8ca}dialog input{width:100%;background:#172126;border:1px solid #58676c;border-radius:7px;padding:11px;color:white;outline-color:#bcf37c}.close{position:absolute;right:15px;top:10px;background:none;border:0;color:#b9c5c8;font-size:26px}#colours{display:flex;gap:10px}#colours button{width:28px;height:28px;border-radius:50%;background:var(--brand);border:3px solid transparent}#colours button.chosen{outline:2px solid white;outline-offset:3px}.logo-upload{display:flex;gap:12px;align-items:center;border:1px dashed #62746b;border-radius:8px;padding:10px}.logo-upload input{min-width:0;font-size:11px;border:0;padding:0;background:transparent}.logo-upload input::file-selector-button{background:#c4f591;border:0;border-radius:4px;padding:8px;color:#1c2a1b;font:inherit;cursor:pointer;margin-right:9px}#logo-preview{width:42px;height:42px;object-fit:contain;border-radius:7px;background:#fffaf0}.field-note{color:#8e9d9e;font-size:10px}.form-error{color:#ffc5ae;font-size:12px}.form-error:empty{display:none}.checkout-note{font-size:10px;color:#9daeb2;margin:0;text-align:center;line-height:1.6}

@media(max-width:700px),(max-height:500px){header{height:44px;padding:0 12px}.wordmark{font-size:25px}main{grid-template-columns:1fr;padding:8px 8px 3px;gap:0}h1{font-size:19px;letter-spacing:-.6px}.arena-heading{margin-bottom:8px}.arena-heading .primary{font-size:10px;padding:10px}#brands{display:block}.arena-footer{gap:3px;padding:6px 5px;flex-wrap:wrap}.arena-footer button{font-size:10px;padding:6px}.below-arena{height:23px}}
@media(max-width:700px),(max-height:500px){#brand-panel{display:none;position:fixed;right:0;top:0;bottom:0;z-index:11;width:min(330px,92vw);padding:40px 14px 16px;background:#161b20;box-shadow:-10px 0 60px #0005}#brand-panel.open{display:block}#close-panel{display:block;position:absolute;top:5px;right:12px;background:none;border:0;color:#e9efde;font-size:28px}#panel-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:10;border:0;background:#0007}}

@media(max-height:500px){header{height:34px}.wordmark{font-size:22px}.arena-heading{margin-bottom:5px}h1{font-size:17px}.arena-heading .primary{padding:6px 10px}.below-arena{display:none}main{padding-top:5px}.arena-hud{top:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(max-width:700px),(max-height:500px){.arena-footer button{min-height:36px}#close-panel{min-width:44px;min-height:44px}.roster-row{min-height:44px}}
.audience{display:flex;align-items:center;gap:20px;margin-left:auto;margin-right:24px;color:#95a7a8;font-size:11px}.audience b{color:#f0f2e8;font-weight:650;margin-right:4px;font-variant-numeric:tabular-nums}.audience i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#b7e376;margin-right:6px}.audio-control{display:flex;align-items:center;gap:5px}.audio-control input{width:70px;height:24px;accent-color:#6c864b;cursor:pointer}.arena-footer #brands{margin-left:auto}.share-link{width:100%;background:#303d35;border:1px solid #637a4d;color:#cdf598;border-radius:6px;padding:8px;margin-top:8px;font-size:11px}.roster-ko{width:39px;white-space:nowrap}.arena-hud{align-items:flex-start}#spawn-room{pointer-events:auto;min-width:125px;max-width:180px;background:#e9e4d4ee;border:1px solid #b4b79c;border-radius:8px;padding:7px 9px;color:#68705b;font-size:8px;letter-spacing:.8px;text-align:center}#spawn-room b{margin-left:5px;padding:0;border:0}#spawn-logos{display:flex;gap:4px;align-items:center;justify-content:center;margin-top:4px}#spawn-logos:empty{display:none}#spawn-logos img{width:20px;height:20px;object-fit:contain;border-radius:4px}#spawn-logos small{font-size:9px;letter-spacing:0}.join-preview{display:flex;flex-direction:column;align-items:center;background:radial-gradient(ellipse at center,#53674a60,transparent 75%),#192326;border-radius:10px;padding:0 10px 10px;margin-top:-5px}.join-preview canvas{height:110px;width:100%;object-fit:contain}.join-preview strong{font-size:14px}.join-preview span{font-size:10px;color:#9eada5;margin-top:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.colour-row{display:flex;align-items:center;gap:12px}.custom-colour{display:flex;align-items:center;gap:5px!important;font-size:10px!important}.custom-colour input{width:30px;height:30px;padding:0;border:0;background:none;cursor:pointer}#colours{gap:8px}#colours button{width:25px;height:25px}.style-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.style-fields label{display:flex;flex-direction:column;gap:6px}select{font:inherit;font-size:12px;color:#edf2e9;background:#172126;border:1px solid #58676c;border-radius:6px;padding:9px;width:100%}button:disabled{opacity:.5;cursor:wait}
@media(max-width:700px){.audience{font-size:9px;gap:10px;margin-right:0}.demo-tag{display:none}.audio-control{gap:0}.audio-control input{width:48px}.arena-footer{gap:6px}.arena-footer button{font-size:10px;padding:5px}.wordmark{font-size:23px}#spawn-room{min-width:105px}.colour-row{gap:6px}#colours{gap:6px}#colours button{width:23px;height:23px}dialog{padding:20px}.custom-colour{font-size:9px!important}}

dialog{width:min(700px,calc(100% - 24px))}#join-form{display:grid;grid-template-columns:200px minmax(0,1fr);gap:16px 22px}#join-form h2{grid-column:1/-1}.join-fields{display:flex;flex-direction:column;gap:9px;min-width:0}.join-preview{position:sticky;top:0;align-self:start;margin:0;padding-bottom:14px}.join-preview canvas{height:150px}#join-form .close{z-index:3}
#spawn-room{max-width:220px;min-width:140px;padding:8px 10px;box-shadow:0 3px 10px #4451370c}#spawn-logos{gap:6px;margin-top:7px;padding-bottom:3px}.spawn-slot{position:relative;display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;padding:3px;border:0;border-radius:9px;background:#d0d4bf;color:#30482e;cursor:pointer}.spawn-slot:hover{outline:2px solid #698d4e;outline-offset:2px}#spawn-logos .spawn-slot img{width:24px;height:24px;border-radius:6px;background:#fffaf0;opacity:.6}.spawn-slot.is-preparing{background:conic-gradient(#718f4f var(--ready),#ced3ba 0);box-shadow:0 0 0 1px #92a77355,0 0 12px #b7e37645}#spawn-logos .is-preparing img{opacity:1}.spawn-count{position:absolute;right:-3px;bottom:-5px;display:grid;place-items:center;min-width:14px;height:14px;border-radius:5px;background:#30492e;color:#f1ffd3;font-size:9px;font-weight:800;letter-spacing:0;border:1px solid #e9efd5;font-variant-numeric:tabular-nums}.spawn-count:empty{display:none}.monster-portrait{height:116px}
@media(max-width:700px){#spawn-room{min-width:128px;max-width:190px;padding:6px 8px}.spawn-slot{width:29px;height:29px}#spawn-logos .spawn-slot img{width:21px;height:21px}#spawn-logos{gap:5px}}
@media(max-width:600px){dialog{width:calc(100% - 24px)}#join-form{display:flex;gap:12px}.join-preview{width:100%;top:-20px;z-index:2;padding:0 8px 8px;box-shadow:0 8px 12px #19232688}.join-preview canvas{height:90px}.join-preview strong{font-size:12px}.join-preview span{font-size:9px}.join-fields{width:100%}}

/* Brand destination and compact join controls. */
.website-link{display:flex;align-items:center;justify-content:center;min-height:48px;margin:14px 0 0;padding:13px 12px;border:0;border-radius:8px;background:#bef284;color:#1d2d18;font-size:15px;font-weight:800;box-shadow:0 3px 14px #bef28414}.website-link:hover{background:#d2ffa0;text-decoration:none}.website-clicks{margin:7px 0 2px;color:#a6b6ab;font-size:11px;text-align:center;font-variant-numeric:tabular-nums}.share-link{background:transparent;border-color:#ffffff1b;color:#a8b8ac;font-size:10px;padding:6px}.roster-ko{width:52px;font-size:9px}.monster-picker{padding:0;margin:4px 0;border:0;min-width:0}.monster-picker legend{font-size:12px;color:#bdc8ca;margin-bottom:8px}#monster-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.monster-option{display:flex;flex-direction:column;align-items:center;min-width:0;padding:4px 4px 8px;border:1px solid #ffffff20;border-radius:9px;background:#192326;color:#a6b7ac}.monster-option canvas{width:100%;height:76px;object-fit:contain}.monster-option span{font-size:11px}.monster-option[aria-pressed=true]{border-color:#baf082;background:#2b3c2b;color:#dbf7b4;box-shadow:inset 0 0 0 1px #baf082}.monster-option:hover{background:#304232}.colour-row{gap:10px}#colours{gap:9px}#colours button{width:27px;height:27px}.custom-colour{position:relative;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:conic-gradient(#ed9674,#f2ca68,#b7e376,#82cbd0,#a8a3ef,#e6a0c8,#ed9674);overflow:hidden;border:2px solid #ffffff70}.custom-colour input{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:1;cursor:pointer}.custom-colour span{position:absolute;inset:0;display:grid;place-items:center;color:#172126;font-size:19px;font-weight:700;pointer-events:none}.custom-colour.chosen{outline:2px solid white;outline-offset:3px;overflow:visible}.custom-colour:focus-within{outline:2px solid #bef284;outline-offset:3px}.amount-stepper{padding:4px;gap:7px}.amount-stepper button{flex:0 0 36px;width:36px;height:36px;border:0;border-radius:5px;background:#304334;color:#d5f7b4;font-size:21px}.amount-stepper button:hover:not(:disabled){background:#476042}.amount-stepper button:disabled{opacity:.35;cursor:default}.amount-stepper input{text-align:center;appearance:textfield;padding:5px 0}.amount-stepper input::-webkit-inner-spin-button,.amount-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.amount-stepper span{font-size:11px}
@media(max-width:600px){.monster-option canvas{height:65px}#colours{gap:8px}#colours button{width:26px;height:26px}.colour-row{gap:9px}}

.policy-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;padding:8px 0;font-size:11px}.policy-links a{color:#a6b3b8;text-decoration:underline;text-underline-offset:3px}

.arena-guide{font-size:12px;line-height:1.6;color:#b8c6bf;text-align:center;margin:7px 0}.arena-guide strong{color:#d8f7b4}.practice-note{font-size:11px;line-height:1.5;color:#a9b8bc;text-align:center;margin:5px 0}.checkout-note a{color:#c5eea2}

.arena-guide,.practice-note{flex-shrink:0;text-align:left;margin:0 0 5px;line-height:1.45}.practice-note{margin-bottom:8px}.below-arena{justify-content:space-between;gap:10px}.below-arena #feed{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.below-arena .policy-links{flex:none;gap:10px;padding:0;font-size:10px}@media(max-height:520px){.arena-guide,.practice-note{font-size:10px;margin-bottom:3px}}

.practice-join{display:block;width:100%;margin-top:12px}#selected-card[hidden]{display:none}

/* Tactile arcade CTAs: raised face, dark rim, and a physical press. */
.primary{
 position:relative;display:inline-flex;align-items:center;justify-content:center;gap:12px;
 min-height:44px;padding:11px 16px;margin-bottom:5px;
 border:2px solid #263820;border-radius:12px;
 background:linear-gradient(180deg,#d4ffa4 0%,#b9ed78 65%,#ace068 100%);
 color:#203117;font-weight:850;letter-spacing:-.2px;
 box-shadow:inset 0 2px 0 #f0ffd7,0 5px 0 #638d3c,0 7px 0 1px #142117,0 9px 16px #0003;
 text-shadow:0 1px 0 #eaffc080;
 transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
 -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.primary::after{
 content:'';flex:0 0 20px;width:20px;height:20px;border-radius:6px;
 background-color:#29451c;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10h9m-4-4 4 4-4 4' fill='none' stroke='%23d5ffa7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 box-shadow:inset 0 1px 2px #0004,0 1px 0 #eaffc6;
}
@media(hover:hover){
 .primary:hover:not(:disabled){background:linear-gradient(180deg,#e2ffbb,#c4f78b 65%,#b6eb74);transform:translateY(-2px);box-shadow:inset 0 2px 0 #f4ffe3,0 7px 0 #638d3c,0 9px 0 1px #142117,0 12px 20px #0004;}
}
.primary:active:not(:disabled){transform:translateY(4px);box-shadow:inset 0 1px 2px #729b4550,0 1px 0 #638d3c,0 3px 0 1px #142117,0 4px 6px #0002;}
.primary:focus-visible{outline:3px solid #fff6d6;outline-offset:5px;}
.primary:disabled{filter:grayscale(.6);opacity:.55;transform:none;cursor:not-allowed;box-shadow:inset 0 1px 0 #f0ffd780,0 3px 0 #526443;}
.practice-join,#join-submit,.pay-button{width:100%;justify-content:space-between;text-align:left;}
.practice-join{margin-top:13px;}
#join-submit{margin-top:4px;}
@media(max-width:700px),(max-height:500px){
 .arena-heading .primary{padding:9px 10px;gap:7px;min-height:42px;border-radius:10px;}
 .arena-heading .primary::after{flex-basis:18px;width:18px;height:18px;}
}
@media(prefers-reduced-motion:reduce){.primary{transition:none;}}

/* Companion actions share the arcade shape with a quieter secondary tier. */
.website-link,.share-link{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 min-height:44px;padding:10px 13px;border:2px solid #263820;border-radius:11px;
 font-weight:800;text-decoration:none;touch-action:manipulation;
 transition:transform .14s ease,box-shadow .14s ease,background .14s ease;
}
.website-link{
 background:linear-gradient(180deg,#dbffb3,#b9ed78);color:#203117;font-size:13px;
 box-shadow:inset 0 2px 0 #f0ffd7,0 4px 0 #638d3c,0 6px 0 1px #142117;
 margin-bottom:8px;
}
.website-link::after,.share-link::after{
 content:'';flex:0 0 22px;width:22px;height:22px;border-radius:6px;
 background-repeat:no-repeat;background-position:center;background-size:18px;
}
.website-link::after{
 background-color:#29451c;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5h8v8M15 5 5 15' fill='none' stroke='%23d5ffa7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.share-link{
 background:linear-gradient(180deg,#35453d,#29382f);border-color:#19291f;color:#d2e3c8;
 box-shadow:inset 0 1px 0 #78916b60,0 3px 0 #101b15,0 4px 0 #55674a60;
 font-size:11px;margin-top:11px;margin-bottom:6px;min-height:40px;
}
.share-link::after{
 background-color:#1f3026;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m7 9 6-4m-6 6 6 4' stroke='%23cbdcbe' stroke-width='1.7'/%3E%3Cg fill='none' stroke='%23cbdcbe' stroke-width='1.7'%3E%3Ccircle cx='5' cy='10' r='2'/%3E%3Ccircle cx='15' cy='4' r='2'/%3E%3Ccircle cx='15' cy='16' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
@media(hover:hover){
 .website-link:hover{background:linear-gradient(180deg,#e6ffc9,#c8f791);text-decoration:none;transform:translateY(-2px);box-shadow:inset 0 2px 0 #f0ffd7,0 6px 0 #638d3c,0 8px 0 1px #142117;}
 .share-link:hover{background:linear-gradient(180deg,#43573c,#334631);transform:translateY(-1px);box-shadow:inset 0 1px 0 #78916b80,0 4px 0 #101b15,0 5px 0 #55674a60;}
}
.website-link:active{transform:translateY(3px);box-shadow:inset 0 1px 2px #729b4550,0 1px 0 #638d3c,0 3px 0 1px #142117;}
.share-link:active{transform:translateY(2px);box-shadow:inset 0 1px 2px #0004,0 1px 0 #101b15;}
.website-link:focus-visible,.share-link:focus-visible{outline:3px solid #fff6d6;outline-offset:5px;}
@media(prefers-reduced-motion:reduce){.website-link,.share-link{transition:none;}}

/* Quieter arcade treatment with a small right-offset edge. */
.primary,.website-link{
 background:#bef284;border:1px solid #74984f;border-radius:8px;
 box-shadow:3px 2px 0 #536d3c;text-shadow:none;
}
.share-link{background:#2b3730;border:1px solid #52634a;border-radius:8px;box-shadow:3px 2px 0 #17221b;}
.primary::after,.website-link::after,.share-link::after{background-color:transparent;box-shadow:none;}
.primary::after,.website-link::after{filter:brightness(.25);}
@media(hover:hover){
 .primary:hover:not(:disabled),.website-link:hover{background:#cef79f;transform:translate(-1px,-1px);box-shadow:4px 3px 0 #536d3c;}
 .share-link:hover{background:#354337;transform:translate(-1px,-1px);box-shadow:4px 3px 0 #17221b;}
}
.primary:active:not(:disabled),.website-link:active,.share-link:active{transform:translate(2px,1px);box-shadow:1px 1px 0 #35482a;}
.primary:disabled{box-shadow:2px 1px 0 #526443;}

/* Balanced depth: subtle face highlight and a mostly downward edge. */
.primary,.website-link{
 background:linear-gradient(180deg,#cef89d,#b9eb7f);
 border:1px solid #789b53;border-radius:10px;
 box-shadow:inset 0 1px 0 #e9ffc5,1px 3px 0 #587b3b,1px 5px 7px #0002;
}
.share-link{
 background:linear-gradient(180deg,#354239,#2c382f);
 border:1px solid #586b4e;border-radius:10px;
 box-shadow:inset 0 1px 0 #81957230,1px 3px 0 #19271d;
}
@media(hover:hover){
 .primary:hover:not(:disabled),.website-link:hover{background:linear-gradient(180deg,#dbffae,#c4f28e);transform:translateY(-1px);box-shadow:inset 0 1px 0 #efffd7,1px 4px 0 #587b3b,1px 6px 9px #0002;}
 .share-link:hover{background:linear-gradient(180deg,#40513f,#334332);transform:translateY(-1px);box-shadow:inset 0 1px 0 #81957240,1px 4px 0 #19271d;}
}
.primary:active:not(:disabled),.website-link:active,.share-link:active{transform:translateY(2px);box-shadow:inset 0 1px 2px #0001,0 1px 0 #35482a;}

.selected-top>div{flex:1;min-width:0;}
.selected-top>.share-link{flex:0 0 32px;width:32px;min-height:32px;height:32px;margin:0 0 0 auto;padding:4px;justify-content:center;border-radius:8px;box-shadow:inset 0 1px 0 #81957230,0 2px 0 #19271d;}
.selected-top>.share-link::after{flex-basis:20px;width:20px;height:20px;}
.selected-top>.share-link.copied::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-8' fill='none' stroke='%23c9f591' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}

#logo-wrap-control:not([hidden]){display:grid;gap:6px;padding:10px;border:1px solid #62746b;border-radius:8px}#logo-wrap-control label{display:flex;align-items:center;gap:8px}#logo-wrap{width:16px;height:16px;padding:0;accent-color:#bef284}

.logo-upload{flex-wrap:wrap}.logo-upload input{flex:1 1 150px;width:0}#logo-preview{flex:0 0 48px;width:48px;height:48px;object-fit:contain;background-color:#e8e8e8;background-image:conic-gradient(#c7cdca 25%,transparent 0 50%,#c7cdca 0 75%,transparent 0);background-size:12px 12px}#remove-logo{margin-left:auto;background:transparent;border:1px solid #62746b;border-radius:5px;padding:6px 9px;color:#d7dddd;font-size:11px}#remove-logo:hover{background:#35423c}

.website-input{display:flex;align-items:center;background:#172126;border:1px solid #58676c;border-radius:7px;overflow:hidden}.website-input:focus-within{outline:2px solid #bcf37c;outline-offset:2px}#website-prefix{flex:none;padding:11px 0 11px 11px;color:#84978e;user-select:none;font-size:14px}#brand-website{min-width:0;flex:1;border:0;background:transparent;padding-left:2px;outline:none}

.join-preview canvas{width:100%;height:auto;aspect-ratio:240/260;object-fit:contain}@media(max-width:600px){.join-preview canvas{width:150px;height:auto;margin-inline:auto;display:block}}

.roster-logo.real-brand-logo{background:transparent;border:1px solid #ffffff20;border-radius:5px;object-fit:contain}
