.tour-edit{--tour-line:rgba(148,163,184,.22);--tour-accent:#38bdf8;--tour-dim:#94a3b8;min-height:100vh;color:#e2e8f0;background:radial-gradient(1000px 620px at 15% -10%,rgba(56,189,248,.15),transparent 60%),linear-gradient(180deg,#020617,#0b1220 55%,#020617)}.tour-edit-shell{max-width:900px;margin:0 auto;padding:22px 20px 56px}.tour-edit-missing{padding-top:80px;text-align:center;color:var(--tour-dim)}.tour-edit-header{display:flex;align-items:center;gap:14px;margin-bottom:18px}.tour-edit-header h1{margin:0;font-size:clamp(1.25rem,2.6vw,1.7rem);font-weight:800}.tour-edit-error,.tour-edit-warn{margin:0 0 16px;padding:10px 13px;border-radius:10px;font-size:.88rem;line-height:1.5;border:1px solid transparent}.tour-edit-warn{background:rgba(234,179,8,.12);border-color:rgba(234,179,8,.4)}.tour-edit-error{background:rgba(239,68,68,.14);border-color:rgba(239,68,68,.45)}.tour-card{background:rgba(15,23,42,.66);border:1px solid var(--tour-line);border-radius:16px;padding:18px;margin-bottom:16px}.tour-card h2{margin:0 0 14px;font-size:1.05rem;font-weight:700}.tour-hint{margin:0 0 10px;color:var(--tour-dim);font-size:.87rem;line-height:1.5}.tour-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;padding:9px 15px;font:inherit;font-size:.88rem;font-weight:650;cursor:pointer;white-space:nowrap;transition:transform .12s ease,border-color .15s ease,color .15s ease}.tour-btn:hover{transform:translateY(-1px)}.tour-btn-primary{background:var(--tour-accent);color:#04121f}.tour-btn-ghost{background:rgba(148,163,184,.14);color:#e2e8f0;border-color:var(--tour-line)}.tour-btn-danger{background:transparent;border-color:rgba(244,63,94,.5);color:#fda4af}.tour-btn-danger:hover{background:rgba(244,63,94,.12)}.tour-icon-btn{border:1px solid var(--tour-line);background:rgba(148,163,184,.14);color:#e2e8f0;border-radius:8px;height:26px;font-size:1.05rem;line-height:1;cursor:pointer}.tour-icon-btn,.tour-icon-spacer{width:26px;flex:none}.tour-field{display:flex;flex-direction:column;gap:6px;flex:1 1 240px;min-width:0}.tour-field>span{font-size:.82rem;color:var(--tour-dim)}.tour-field-narrow{flex:0 0 170px}.tour-edit input[type=number],.tour-edit input[type=text]{background:rgba(2,6,23,.6);border:1px solid var(--tour-line);border-radius:9px;color:#f1f5f9;padding:9px 11px;font:inherit;font-size:.9rem;min-width:0}.tour-edit a:focus-visible,.tour-edit button:focus-visible,.tour-edit input:focus-visible,.tour-edit label:focus-within{outline:2px solid var(--tour-accent);outline-offset:2px}.tour-checkbox{display:flex;align-items:center;gap:8px;font-size:.88rem;cursor:pointer;padding-bottom:9px}.tour-checkbox input{accent-color:var(--tour-accent);width:16px;height:16px}.tour-identity{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap}.tour-logo-slot{width:96px;height:96px;flex:none;display:grid;place-items:center;border-radius:16px;border:1px dashed rgba(148,163,184,.4);background:rgba(2,6,23,.55);cursor:pointer;overflow:hidden;transition:border-color .15s ease}.tour-logo-slot:hover{border-color:var(--tour-accent)}.tour-logo-slot img{width:100%;height:100%;object-fit:contain;padding:6px}.tour-logo-slot-empty{font-size:.78rem;color:var(--tour-dim)}.tour-identity-fields{flex:1 1 260px;gap:12px}.tour-identity-fields,.tour-team-controls{display:flex;align-items:flex-end;flex-wrap:wrap}.tour-team-controls{gap:20px;margin-bottom:6px}.tour-team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));grid-gap:8px;gap:8px;margin-top:12px}.tour-team-row{display:flex;align-items:center;gap:9px;padding:7px 10px;border:1px solid var(--tour-line);border-radius:10px;background:rgba(30,41,59,.45)}.tour-team-index{width:22px;text-align:center;color:var(--tour-dim);font-size:.82rem;flex:none}.tour-team-logo{width:34px;height:34px;border-radius:8px;background:rgba(2,6,23,.6);border:1px dashed rgba(148,163,184,.35);display:grid;place-items:center;cursor:pointer;overflow:hidden;flex:none}.tour-team-logo img{width:100%;height:100%;object-fit:contain}.tour-team-logo-empty{color:var(--tour-dim);font-size:1.1rem;line-height:1}.tour-team-name{flex:1 1 auto;min-width:0}.tour-team-name-static{font-size:.9rem;color:#cbd5e1}.tour-team-color{width:34px;height:34px;padding:0;border:1px solid var(--tour-line);border-radius:8px;background:transparent;cursor:pointer;flex:none}.tour-edit-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px}