/*
 * TravTools · © MUNLabs
 * Account-Bereich
 * Mein Account, Welten, Profil, Passwort, E-Mail und accountnahe Ansichten.
 */


/* Extrahiert aus account_meiner.php */
.wiz-step { display: none; animation: fadeIn 0.3s ease; }
.wiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.wiz-intro { text-align: center; margin-bottom: 25px; }
.wiz-intro i { font-size: 30px; color: #f2c14a; margin-bottom: 10px; display: block; }
.wiz-intro h4 { margin: 0 0 5px 0; color: #fff; font-size: 18px; }
.wiz-intro p { margin: 0; color: var(--tt-muted); font-size: 13px; }
.tt-input-label { display: block; font-size: 11px; font-weight: 700; color: var(--tt-muted); margin-bottom: 6px; text-transform: uppercase; }
.tt-search-input { width: 100%; background: var(--tt-bg-2); border: 1px solid var(--tt-line-solid); color: #fff; padding: 12px; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.tt-search-input:focus { border-color: #f2c14a; outline: none; }
.note-box { background: rgba(242, 193, 74, 0.05); border: 1px solid rgba(242, 193, 74, 0.2); color: var(--tt-text-soft); padding: 12px; border-radius: 8px; font-size: 12px; margin-bottom: 20px; display: flex; gap: 10px; line-height: 1.4; }
.note-box i { color: #f2c14a; margin-top: 2px; }
.note-warn { background: rgba(255,92,92,0.1); border-color: var(--tt-red); color: var(--tt-red); }
.wiz-actions { margin-top: 25px; display: flex; gap: 10px; }
.btn-back { background: transparent; border: 1px solid var(--tt-line-solid); color: var(--tt-muted); width: 30%; border-radius: 6px; font-weight: 700; }
.btn-back:hover { color: #fff; border-color: var(--tt-faint); }
.tt-btn-play { width: 100%; background: linear-gradient(135deg, #f2c14a, var(--tt-gold-2)); border: none; color: #000; padding: 10px; border-radius: 6px; font-weight: 800; font-size: 12px; text-transform: uppercase; cursor: pointer; }
.tt-btn-play:hover { filter: brightness(1.02); transform: none; }

/* Extrahiert aus account_meine_welten_join.php */
/* standalone join page body rule removed in central stack */
    .wiz-card { background: var(--tt-surface-solid); border: 1px solid var(--tt-line-solid); border-radius: 12px; width: 100%; max-width: 500px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.5); border-top: 4px solid #f2c14a; }
    .wiz-head { background: rgba(255,255,255,0.03); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--tt-line-solid); }
    .wiz-title { font-weight: 900; color: #fff; text-transform: uppercase; font-size: 14px; }
    .wiz-lang { font-size: 11px; color: var(--tt-muted); cursor: pointer; }
    .wiz-body { padding: 30px; text-align: center; }
    .step { display: none; animation: fadeIn 0.3s ease; }
    .step.active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
    
    .wiz-icon { font-size: 40px; color: #f2c14a; margin-bottom: 15px; }
    .wiz-h2 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 10px; }
    .wiz-p { color: var(--tt-muted); font-size: 13px; line-height: 1.5; margin-bottom: 25px; }
    
    .wiz-input, .wiz-select { width: 100%; background: var(--tt-bg-2); border: 1px solid var(--tt-line-solid); color: #fff; padding: 12px; border-radius: 6px; box-sizing: border-box; margin-bottom: 15px; font-size: 14px; }
    .wiz-input:focus, .wiz-select:focus { border-color: #f2c14a; outline: none; }
    
    .wiz-btn { background: linear-gradient(135deg, #f2c14a, var(--tt-gold-2)); border: none; width: 100%; padding: 12px; border-radius: 6px; color: #000; font-weight: 800; text-transform: uppercase; cursor: pointer; font-size: 14px; margin-top: 10px; }
    .wiz-btn:hover { filter: brightness(1.1); }
    .wiz-btn-sec { background: transparent; border: 1px solid var(--tt-line-solid); color: var(--tt-muted); margin-top: 10px; }
    .wiz-btn-sec:hover { border-color: var(--tt-faint); color: #fff; }

    .note-box { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: var(--tt-blue-3); padding: 10px; border-radius: 6px; font-size: 12px; margin-bottom: 20px; text-align: left; display: flex; gap: 10px; align-items: start; }
    .note-warn { background: rgba(255,92,92,0.1); border-color: var(--tt-red); color: var(--tt-red); }

/* Extrahiert aus join.php */
/* standalone join page body rule removed in central stack */
    .wiz-card { background: var(--tt-surface-solid); border: 1px solid var(--tt-line-solid); border-radius: 12px; width: 100%; max-width: 500px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.5); border-top: 4px solid #f2c14a; }
    .wiz-head { background: rgba(255,255,255,0.03); padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--tt-line-solid); }
    .wiz-title { font-weight: 900; color: #fff; text-transform: uppercase; font-size: 14px; }
    .wiz-lang { font-size: 11px; color: var(--tt-muted); cursor: pointer; }
    .wiz-body { padding: 30px; text-align: center; }
    .step { display: none; animation: fadeIn 0.3s ease; }
    .step.active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
    
    .wiz-icon { font-size: 40px; color: #f2c14a; margin-bottom: 15px; }
    .wiz-h2 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 10px; }
    .wiz-p { color: var(--tt-muted); font-size: 13px; line-height: 1.5; margin-bottom: 25px; }
    
    .wiz-input, .wiz-select { width: 100%; background: var(--tt-bg-2); border: 1px solid var(--tt-line-solid); color: #fff; padding: 12px; border-radius: 6px; box-sizing: border-box; margin-bottom: 15px; font-size: 14px; }
    .wiz-input:focus, .wiz-select:focus { border-color: #f2c14a; outline: none; }
    
    .wiz-btn { background: linear-gradient(135deg, #f2c14a, var(--tt-gold-2)); border: none; width: 100%; padding: 12px; border-radius: 6px; color: #000; font-weight: 800; text-transform: uppercase; cursor: pointer; font-size: 14px; margin-top: 10px; }
    .wiz-btn:hover { filter: brightness(1.1); }
    .wiz-btn-sec { background: transparent; border: 1px solid var(--tt-line-solid); color: var(--tt-muted); margin-top: 10px; }
    .wiz-btn-sec:hover { border-color: var(--tt-faint); color: #fff; }

    .note-box { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: var(--tt-blue-3); padding: 10px; border-radius: 6px; font-size: 12px; margin-bottom: 20px; text-align: left; display: flex; gap: 10px; align-items: start; }
    .note-warn { background: rgba(255,92,92,0.1); border-color: var(--tt-red); color: var(--tt-red); }


/* Phase 4 · Account Header-Migration */
.tt-header-standalone.tt-hide-content-head{display:none!important}
.tt-status-badge.tt-inline-flex-center{gap:8px}


/* ===== MIGRIERT AUS account_account_loeschen.css ===== */

/* travtools/css/account_account_loeschen.css */

.tt-auth-wrap {
  max-width: 1100px;
  margin: 0;
  /* Split Layout */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

/* LOGO (Links) */
.tt-auth-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tt-auth-logo img {
  width: 320px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(242, 193, 74, 0.25));
  transition: transform 0.3s;
}
.tt-auth-logo img:hover { transform:none; }

/* CARD (Rechts - Kompakt & Danger) */
.tt-auth-card {
  background: var(--panel); 
  border: 1px solid var(--line);
  border-left: 4px solid var(--tt-red); /* Roter Warn-Balken */
  border-radius: 16px;
  
  width: 100%;
  max-width: 450px; 
  padding: 30px;
  
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  color: var(--text);
}

/* HEADER */
.tt-head {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.tt-title {
  font-size: 24px;
  margin: 0 0 6px 0;
  font-weight: 900;
  color: #fff;
  display: flex; align-items: center; gap: 10px;
}
.tt-title i { color: var(--tt-red); font-size: 22px; } /* Rotes Icon */
.tt-subtitle { color: var(--tt-red-2); font-size: 13px; font-weight: 600; margin: 0; }

/* FORM & INPUTS */
.tt-form { display: flex; flex-direction: column; gap: 20px; }

.tt-field label {
  display: block; font-size: 11px; font-weight: 800; color: var(--tt-text-soft);
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; padding-left: 2px;
}

.input-icon-wrap { position: relative; width: 100%; }
.input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 13px; z-index: 2; pointer-events: none;
}

.tt-input {
  width: 100%; padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); color: #fff;
  font-family: inherit; font-size: 14px; outline: none; transition: all 0.2s; box-sizing: border-box;
}
.tt-input.has-icon { padding-left: 36px; }
.tt-input:focus {
  border-color: var(--tt-red); /* Roter Fokus */
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(255,92,92, 0.15);
}

/* DANGER BUTTON */
.tt-btn-danger {
  margin-top: 10px; padding: 12px 20px; border-radius: 10px; border: 0;
  cursor: pointer; font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--tt-red), #b91c1c); /* Rotverlauf */
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.1s, filter 0.2s; width: 100%; 
}
.tt-btn-danger:hover { 
  filter: brightness(1.1); 
  transform:none; 
  box-shadow: 0 4px 15px rgba(255,92,92, 0.3); 
}

/* ALERTS */
.tt-alert { padding: 10px 14px; border-radius: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.tt-alert-err { background: rgba(255,92,92, 0.1); border: 1px solid rgba(255,92,92, 0.3); color: var(--tt-red-2); }

/* Mobil-Optimierung */
@media(max-width: 900px) {
  .tt-auth-wrap { grid-template-columns: 1fr; gap: 30px; margin-top: 0; }
  .tt-auth-logo img { width: 220px; }
  .tt-auth-card { max-width: 100%; }
}


/* ===== MIGRIERT AUS account_email_aendern.css ===== */

/* travtools/css/account_email_aendern.css */

.tt-auth-wrap {
  max-width: 1100px;
  margin: 0;
  /* Split Layout */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

/* LOGO (Links) */
.tt-auth-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tt-auth-logo img {
  width: 320px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(242, 193, 74, 0.25));
  transition: transform 0.3s;
}
.tt-auth-logo img:hover { transform:none; }

/* CARD (Rechts - Kompakt) */
.tt-auth-card {
  background: var(--panel); 
  border: 1px solid var(--line);
  border-left: 4px solid var(--brandGold);
  border-radius: 16px;
  
  width: 100%;
  max-width: 450px; 
  padding: 30px;
  
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  color: var(--text);
}

/* HEADER */
.tt-head {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.tt-title {
  font-size: 24px;
  margin: 0 0 6px 0;
  font-weight: 900;
  color: #fff;
  display: flex; align-items: center; gap: 10px;
}
.tt-title i { color: var(--brandGold); font-size: 20px; }
.tt-subtitle { color: var(--muted); font-size: 13px; font-weight: 500; margin: 0; }

/* FORM & INPUTS */
.tt-form { display: flex; flex-direction: column; gap: 20px; }

.tt-field label {
  display: block; font-size: 11px; font-weight: 800; color: var(--tt-text-soft);
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; padding-left: 2px;
}

.input-icon-wrap { position: relative; width: 100%; }
.input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 13px; z-index: 2; pointer-events: none;
}

.tt-input {
  width: 100%; padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); color: #fff;
  font-family: inherit; font-size: 14px; outline: none; transition: all 0.2s; box-sizing: border-box;
}
.tt-input.has-icon { padding-left: 36px; }
.tt-input:focus {
  border-color: var(--brandGold); background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(242, 193, 74, 0.15);
}

/* BUTTON */
.tt-btn {
  margin-top: 10px; padding: 12px 20px; border-radius: 10px; border: 0;
  cursor: pointer; font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--brandGold), var(--tt-gold)); color: var(--tt-bg-0);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.1s, filter 0.2s; width: 100%; 
}
.tt-btn:hover { filter: brightness(1.1); transform:none; box-shadow: 0 4px 15px rgba(242, 193, 74, 0.2); }

/* ALERTS */
.tt-alert { padding: 10px 14px; border-radius: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.tt-alert-err { background: rgba(255,92,92, 0.1); border: 1px solid rgba(255,92,92, 0.3); color: var(--tt-red-2); }
.tt-alert-ok { background: rgba(61,220,132, 0.1); border: 1px solid rgba(61,220,132, 0.3); color: var(--tt-green-2); }

/* Mobil-Optimierung */
@media(max-width: 900px) {
  .tt-auth-wrap { grid-template-columns: 1fr; gap: 30px; margin-top: 0; }
  .tt-auth-logo img { width: 220px; }
  .tt-auth-card { max-width: 100%; }
}


/* ===== MIGRIERT AUS account_ereignis_log.css ===== */

/* * TravTools - Account Log (Royal Focus Style) */

.tt-log-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0; 
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: var(--tt-text-soft);
}

/* HEADER */
.tt-log-head {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  margin-bottom: 25px; 
  padding-bottom: 0;
  border-bottom: none; 
}

.tt-log-head h1 {
  font-size: 24px; /* Angepasst an V41 Header */
  margin: 0;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  display: flex; 
  align-items: center; 
  gap: 12px;
}

.tt-log-head h1 i { 
  color: #f2c14a; /* Gold */
  font-size: 24px; 
  width: 30px; 
  text-align: center;
}

.tt-log-sub { 
  font-size: 12px; 
  color: var(--tt-muted); 
  margin-top: 5px;
  margin-left: 42px; /* Einzug beibehalten */
}

/* KARTE (Container) */
.tt-log-card {
  background: var(--tt-surface-solid); /* Dark Mode Background */
  border: 1px solid var(--tt-line-solid);
  border-radius: 10px;
  padding: 0; /* Padding auf 0, damit die Liste wie eine Tabelle wirkt */
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
  min-height: 400px;
}

/* LISTE */
.tt-log-list {
  display: flex;
  flex-direction: column;
  gap: 0; /* Kein Gap, damit Linien sauber abschließen */
}

/* DAS ITEM (Die Zeile) */
.tt-log-item {
  display: grid;
  grid-template-columns: 140px 1fr 150px; 
  align-items: center; /* Mittig wie in der Tabelle */
  gap: 20px;
  padding: 8px 15px; /* Kompaktes Padding (ca 32px Höhe) */
  background: var(--tt-surface-solid);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background-color 0.2s ease;
  color: var(--tt-text-soft);
}

/* === ROYAL FOCUS HOVER (Full Box) === */
.tt-log-item:hover {
  background-color: rgba(20, 60, 140, 0.3) !important; /* Royal Blue */
  color: #fff !important;
  /* Box-Shadow für den goldenen Rahmen (Oben, Unten, Links, Rechts) */
  box-shadow: 
    inset 0 1px 0 #f2c14a,  /* Oben */
    inset 0 -1px 0 #f2c14a, /* Unten */
    inset 1px 0 0 #f2c14a,  /* Links */
    inset -1px 0 0 #f2c14a; /* Rechts */
  z-index: 10;
}

/* DATUM */
.tt-log-date {
  font-family: monospace;
  color: #f2c14a; /* Gold */
  font-size: 12px;
  line-height: 1;
}

/* INHALT */
.tt-log-content {
  display: flex;
  flex-direction: column;
  gap: 2px; /* Enger */
}

.tt-log-type {
  font-weight: 800;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex; 
  align-items: center; 
  line-height: 1.2;
}

.log-icon { 
  margin-right: 8px; 
  width: 20px; 
  text-align: center; 
  display: inline-block;
  flex-shrink: 0;
  color: #f2c14a; /* Icons auch Gold */
}

.tt-log-details {
  font-size: 12px;
  color: var(--tt-muted); /* Muted Text */
  line-height: 1.2;
  padding-left: 28px; 
}

/* IP */
.tt-log-ip {
  font-family: monospace;
  font-size: 12px;
  color: var(--tt-faint);
  text-align: right;
}

/* EMPTY STATE */
.tt-log-empty {
  text-align: center;
  padding: 40px;
  color: var(--tt-faint);
  font-style: italic;
  font-size: 12px;
}

/* Mobile Anpassung */
@media(max-width: 700px) {
  .tt-log-item { grid-template-columns: 1fr; gap: 8px; padding: 10px; height: auto; }
  .tt-log-ip { text-align: left; opacity: 0.5; font-size: 11px; }
  .tt-log-date { margin-bottom: 2px; }
}


/* ===== MIGRIERT AUS account_meine_welten.css ===== */

/* * TravTools - Account Meine Welten (V37 - Left Align & Search Fix) */

.tt-mw-wrap { 
    width: 100%; 
    box-sizing: border-box; 
    padding: 30px 20px; 
    font-family: "Inter", sans-serif; 
    color: var(--tt-text-soft); 
    /* WICHTIG: Kein margin: 0 auto mehr, damit es links bleibt */
}

/* HEADER LEFT ALIGNED */
.tt-header-row { 
    border-bottom: 1px solid var(--tt-line-solid); 
    padding-bottom: 20px; 
    margin-bottom: 30px; 
    text-align: left; /* Explizit links */
}
.tt-header-row h1 { 
    font-size: 28px; 
    font-weight: 900; 
    color: #fff; 
    margin: 0 0 5px 0; 
    text-transform: uppercase; 
}
.tt-subtitle { 
    color: var(--tt-muted); 
    font-size: 13px; 
    margin: 0; 
}

/* INVITES SECTION */
.tt-invites-section { margin-bottom: 40px; border-bottom: 1px solid var(--tt-line-solid); padding-bottom: 30px; }
.tt-invites-section h3 { font-size: 16px; color: #f2c14a; text-transform: uppercase; margin-bottom: 20px; font-weight: 800; }
.tt-invites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }

/* GRID LAYOUT */
.tt-worlds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; }

/* WORLD CARD */
.tt-world-card { 
    background: var(--tt-surface-solid); 
    border: 1px solid var(--tt-line-solid); 
    border-radius: 12px; 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}
.tt-world-card::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:4px;border-radius:4px;background:linear-gradient(180deg,rgba(255,215,122,.95),rgba(242,193,74,.32));box-shadow:0 0 18px rgba(242,193,74,.22);}
.tt-world-card:hover{border-color:#f2c14a;}

.tt-world-card:hover { transform:none; box-shadow: 0 10px 30px rgba(0,0,0,0.3); border-color: var(--tt-faint-2); }
.tt-world-card.is-joined { border-top: 4px solid #f2c14a; }
.tt-world-card.is-invite { border-top: 4px solid var(--tt-blue); }

/* CARD HEADER */
.tt-wc-header { padding: 15px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.tt-wc-badge { background: rgba(255,255,255,0.1); color: #fff; padding: 4px 8px; border-radius: 6px; font-weight: 800; font-size: 12px; }
.tt-wc-speed { font-size: 11px; color: var(--tt-muted); text-transform: uppercase; font-weight: 700; }
.tt-wc-rank { font-size: 10px; font-weight: 800; padding: 3px 6px; border-radius: 4px; background: var(--tt-line-solid); color: var(--tt-muted); }
.rank-admin { background: rgba(242,193,74,0.1); color: #f2c14a; }
.rank-dual { background: rgba(59,130,246,0.1); color: var(--tt-blue); }
.rank-invite { background: var(--tt-blue); color: #000; }

/* CARD BODY */
.tt-wc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.tt-wc-name { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 5px; }
.tt-wc-meta { font-size: 12px; color: var(--tt-muted); margin-bottom: 15px; }

/* PLAYER INFO IN CARD */
.tt-wc-player-info { background: rgba(0,0,0,0.2); border-radius: 8px; padding: 10px; text-align: left; margin-top: auto; }
.tt-info-row { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 4px; }
.tt-info-row:last-child { margin-bottom: 0; }
.tt-info-row i { width: 16px; text-align: center; opacity: 0.5; }
.tt-hl-user { color: #fff; font-weight: 700; }
.tt-hl-ally { color: #f2c14a; font-weight: 700; }

/* CARD FOOTER */
.tt-wc-footer { padding: 15px; background: rgba(0,0,0,0.2); border-top: 1px solid rgba(255,255,255,0.05); display: flex; gap: 10px; justify-content: center; }
.invite-footer { flex-direction: column; gap: 10px; }

/* BUTTONS */
button { cursor: pointer; font-family: "Inter", sans-serif; transition: 0.2s; }
.tt-btn-join { width: 100%; background: var(--tt-surface-hover-solid); border: 1px solid var(--tt-line-solid); color: var(--tt-text-soft); padding: 10px; border-radius: 6px; font-weight: 700; font-size: 12px; }
.tt-btn-join:hover { background: var(--tt-line-solid); color: #fff; border-color: var(--tt-muted); }

.tt-btn-play { width: 100%; background: linear-gradient(135deg, #f2c14a, var(--tt-gold-2)); border: none; color: #000; padding: 10px; border-radius: 6px; font-weight: 800; font-size: 12px; text-transform: uppercase; }
.tt-btn-play:hover { filter: brightness(1.1); transform:none; }

.tt-btn-ally { flex: 1; background: rgba(242,193,74,0.1); border: 1px solid rgba(242,193,74,0.3); color: #f2c14a; padding: 8px; border-radius: 6px; font-weight: 700; font-size: 11px; }
.tt-btn-ally:hover { background: rgba(242,193,74,0.2); color: #fff; border-color: #f2c14a; }

.tt-btn-leave { width: 100%; background: transparent; border: 1px solid var(--tt-line-solid); color: var(--tt-faint); padding: 8px; border-radius: 6px; font-size: 11px; margin-top: 5px; }
.tt-btn-leave:hover { border-color: var(--tt-red); color: var(--tt-red); }

/* MODAL / WIZARD STYLES */
.tt-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(5px); z-index: 1000; align-items: center; justify-content: center; }
.tt-modal-overlay.active { display: flex; }

.tt-modal { 
    background: var(--tt-surface-solid); width: 90%; max-width: 480px; 
    border-radius: 12px; border: 1px solid var(--tt-line-solid); 
    box-shadow: 0 20px 60px rgba(0,0,0,0.6); 
    overflow: hidden; border-top: 4px solid #f2c14a; 
}

.tt-modal-header { padding: 20px; border-bottom: 1px solid var(--tt-line-solid); display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02); }
.tt-modal-title { margin: 0; font-size: 16px; font-weight: 900; color: #fff; text-transform: uppercase; }
.tt-modal-close { background: none; border: none; color: var(--tt-faint); font-size: 24px; line-height: 1; transition: 0.2s; }
.tt-modal-close:hover { color: #fff; }

.tt-modal-body { padding: 30px 25px; }

/* WIZARD */
.wiz-step { display: none; }
.wiz-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.wiz-intro { text-align: center; margin-bottom: 25px; }
.wiz-intro i { font-size: 30px; color: #f2c14a; margin-bottom: 10px; display: block; }
.wiz-intro h4 { margin: 0 0 5px 0; color: #fff; font-size: 18px; }
.wiz-intro p { margin: 0; color: var(--tt-muted); font-size: 13px; }

.tt-input-label { display: block; font-size: 11px; font-weight: 700; color: var(--tt-muted); margin-bottom: 6px; text-transform: uppercase; }
.tt-search-input { width: 100%; background: var(--tt-bg-2); border: 1px solid var(--tt-line-solid); color: #fff; padding: 12px; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.tt-search-input:focus { border-color: #f2c14a; outline: none; }

.note-box { background: rgba(242, 193, 74, 0.05); border: 1px solid rgba(242, 193, 74, 0.2); color: var(--tt-text-soft); padding: 12px; border-radius: 8px; font-size: 12px; margin-bottom: 20px; display: flex; gap: 10px; line-height: 1.4; }
.note-box i { color: #f2c14a; margin-top: 2px; }
.note-warn { background: rgba(255,92,92,0.1); border-color: var(--tt-red); color: var(--tt-red); }

.wiz-actions { margin-top: 25px; display: flex; gap: 10px; }
.btn-back { background: transparent; border: 1px solid var(--tt-line-solid); color: var(--tt-muted); width: 30%; border-radius: 6px; font-weight: 700; }
.btn-back:hover { color: #fff; border-color: var(--tt-faint); }

/* SEARCH LIST */
.tt-results-list { max-height: 200px; overflow-y: auto; margin-top: 10px; border: 1px solid var(--tt-line-solid); border-radius: 6px; display: none; }
.tt-results-list:not(:empty) { display: block; }
.tt-player-item { padding: 10px; border-bottom: 1px solid var(--tt-line-solid); cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--tt-bg-2); }
.tt-player-item:hover { background: var(--tt-surface-hover-solid); color: #f2c14a; }
.tt-player-item:last-child { border-bottom: none; }

.tt-no-results { padding: 15px; text-align: center; color: var(--tt-red); font-size: 12px; background: rgba(255,92,92,0.05); border: 1px solid rgba(255,92,92,0.2); border-radius: 6px; margin-top: 10px; }

/* Block 6 UI final follow-up */
.tt-mw-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:24px 0 0!important;}
.tt-worlds-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important;width:100%!important;}
.tt-world-card,.tt-btn-play,.tt-btn-join,.tt-btn-ally,.tt-btn-leave{transform:none!important;}
.tt-world-card:hover,.tt-btn-play:hover,.tt-btn-join:hover,.tt-btn-ally:hover,.tt-btn-leave:hover{transform:none!important;}


/* fix5 rebuild */
.tt-welcome-card,.tt-welcome-card::before{background:transparent!important;border:none!important;box-shadow:none!important;}
.tt-menu-btn,.tt-mini-world,.tt-btn-dashboard,.tt-btn-ally,.tt-btn-leave-text{transform:none!important;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease!important;}
.tt-menu-btn:hover,.tt-mini-world:hover,.tt-btn-dashboard:hover,.tt-btn-ally:hover,.tt-btn-leave-text:hover{transform:none!important;background:rgba(37,99,235,.16)!important;border-color:rgba(242,193,74,.22)!important;box-shadow:0 0 0 1px rgba(37,99,235,.20) inset,0 0 18px rgba(37,99,235,.20)!important;}
.tt-mini-world:hover .tt-mw-name,.tt-menu-btn:hover .tt-mb-title{color:#fff!important;}


/* fix6 worlds equalization */
.tt-mw-wrap{padding:0!important;}
.tt-worlds-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))!important;gap:20px!important;}
.tt-world-card,.tt-mini-world{border-radius:18px!important;background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03))!important;border:1px solid rgba(255,255,255,.09)!important;box-shadow:0 16px 34px rgba(0,0,0,.28)!important;}
.tt-world-card:hover,.tt-mini-world:hover{background:rgba(37,99,235,.16)!important;border-color:rgba(242,193,74,.24)!important;box-shadow:0 0 0 1px rgba(37,99,235,.20) inset, 0 0 18px rgba(37,99,235,.22)!important;}
.tt-world-card:hover::before,.tt-mini-world:hover::before{opacity:1!important;}


/* ===== MIGRIERT AUS account_meiner.css ===== */

/* * TravTools - Mein Account (V Final - Clean & Badges) */

.tt-profile-wrap {
    max-width: none;
    width: 100%;
    margin: 0;
    color: var(--tt-text-soft);
    font-family: "Inter", sans-serif;
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 0; position: relative; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; text-transform: uppercase; letter-spacing: 1px; }
.tt-subtitle { color: var(--muted, var(--tt-muted)); font-size: 14px; }

.tt-status-badge {
    position: absolute; right: 0; top: 0;
    background: rgba(61,220,132, 0.1); color: var(--tt-green);
    border: 1px solid rgba(61,220,132, 0.2);
    padding: 6px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 0 15px rgba(61,220,132, 0.1);
}
.tt-dot { width: 8px; height: 8px; background: var(--tt-green); border-radius: 50%; box-shadow: 0 0 8px var(--tt-green); }

/* LAYOUT GRID */
.tt-profile-grid {
    display: grid;
    grid-template-columns: minmax(340px,420px) minmax(320px,560px);
    gap: 32px;
    align-items: start;
}
@media (max-width: 900px) { .tt-profile-grid { grid-template-columns: 1fr; } }

/* CARDS */
.tt-card {
    background: var(--tt-surface-solid);
    border: 1px solid var(--tt-line-solid);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* LEFT: PROFILE CARD */
.tt-profile-card { padding: 34px; position: relative; }

.tt-user-header { margin-bottom: 25px; }
.tt-user-header h2 { 
    margin: 0; font-size: 24px; font-weight: 900; color: #fff; 
    display: flex; align-items: center; gap: 8px; 
}
.tt-user-header h2 .tt-badge { transform: scale(1.1); margin-left: 0; }
.tt-user-header p { margin: 4px 0 0 0; font-size: 13px; color: var(--tt-muted); font-family: monospace; }

.tt-detail-list { 
    display: flex; flex-direction: column; gap: 15px; 
    border-top: 1px solid var(--tt-line-solid); padding-top: 20px; 
}
.tt-detail-item { display: flex; justify-content: space-between; align-items: center; }
.tt-detail-item label { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--tt-faint); letter-spacing: 0.5px; }

/* Einheitlicher Look für Werte */
.tt-val-mono, .tt-lvl-badge { 
    font-family: monospace; font-size: 13px; color: var(--tt-text); font-weight: 400;
    background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 6px; 
    border: 1px solid rgba(255,255,255,0.05);
}

/* Spender Level Badge Container */
.tt-donor-val {
    display: flex; align-items: center; gap: 8px;
    font-family: monospace; font-size: 13px; color: var(--tt-text);
    background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}
.tt-donor-val .tt-badge { margin: 0 !important; }

/* === WORLD CARDS === */
.tt-worlds-label { font-size: 12px; font-weight: 800; color: var(--tt-muted); text-transform: uppercase; margin-bottom: 15px; display: block; letter-spacing: 1px; }

.tt-mini-world {
    background: var(--tt-surface-solid);
    border: 1px solid var(--tt-line-solid);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex; flex-direction: column; gap: 12px;
    transition: all 0.2s; position: relative; overflow: hidden;
}
.tt-mini-world:hover { border-color: rgba(255,255,255,0.2); transform:none; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.tt-mini-world.is-active { border-left: 3px solid #f2c14a; }

/* Header */
.tt-mw-header { display: flex; justify-content: space-between; align-items: center; }
.tt-mw-badge {
    background: rgba(242, 193, 74, 0.1); color: #f2c14a; border: 1px solid rgba(242, 193, 74, 0.2);
    font-weight: 800; font-size: 10px; padding: 2px 8px; border-radius: 4px; text-transform: uppercase;
}
.tt-mw-rank {
    font-size: 10px; font-weight: 800; text-transform: uppercase;
    padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.05); color: var(--tt-muted);
}
.rank-admin { background: rgba(192, 132, 252, 0.1); color: var(--tt-purple); border: 1px solid rgba(192, 132, 252, 0.2); }

/* Body */
.tt-mw-body { display: flex; gap: 15px; align-items: center; }
.tt-mw-logo img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--tt-line-solid); object-fit: cover; }
.tt-mw-info { flex: 1; min-width: 0; }
.tt-mw-name { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.tt-mw-meta { font-size: 11px; color: var(--tt-muted); display: flex; flex-direction: column; gap: 2px; }
.tt-hl-ally { color: var(--tt-purple); font-weight: 700; }

/* Footer Buttons */
.tt-mw-footer { display: flex; gap: 8px; margin-top: 5px; }

.tt-btn-ally {
    flex: 1; background: rgba(255,255,255,0.03); color: var(--tt-text-soft);
    border: 1px solid var(--tt-line-solid);
    font-weight: 700; padding: 8px; border-radius: 6px;
    cursor: pointer; font-size: 10px; text-transform: uppercase;
    transition: 0.2s; white-space: nowrap; text-align: center;
}
.tt-btn-ally:hover { background: rgba(255,255,255,0.1); color: #fff; }

.tt-btn-dashboard {
    width: 100%;
    background: linear-gradient(135deg, #f2c14a, var(--tt-gold-2));
    color: var(--tt-bg-0); border: none; font-weight: 800; padding: 10px;
    border-radius: 8px; cursor: pointer; transition: 0.2s;
    text-transform: uppercase; font-size: 11px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    box-shadow: 0 4px 15px rgba(242, 193, 74, 0.2);
}
.tt-btn-dashboard:hover { transform:none; box-shadow: 0 6px 20px rgba(242, 193, 74, 0.3); }

.tt-btn-leave-text {
    background: transparent; border: none; color: var(--tt-red); font-size: 10px; 
    font-weight: 700; text-transform: uppercase; cursor: pointer; opacity: 0.6;
    margin-top: 5px; width: 100%; text-align: center; transition: 0.2s;
}
.tt-btn-leave-text:hover { opacity: 1; text-decoration: underline; }


/* RIGHT: MENU ACTIONS */
.tt-welcome-card { background: transparent; border: none; box-shadow: none; padding: 0; overflow: visible; }
.tt-menu-grid { display: flex; flex-direction: column; gap: 12px; }

.tt-menu-btn {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--tt-surface-solid); 
    border: 1px solid var(--tt-line-solid);
    padding: 18px 22px; 
    border-radius: 18px; 
    text-decoration: none; 
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative; overflow: hidden;
}
.tt-menu-btn::before {
    content: ''; position: absolute; left: 0; top: 7px; width: 4px; height: calc(100% - 14px);
    border-radius: 4px; background: #f2c14a; box-shadow: 0 0 16px rgba(242, 193, 74, 0.18); transition: 0.2s;
}
.tt-menu-btn:hover { 
    background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.2); 
    transform:none; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.tt-menu-btn:hover::before { background: #fff; }

.tt-mb-left { display: flex; flex-direction: column; text-align: left; }
.tt-mb-label { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--tt-faint); margin-bottom: 4px; letter-spacing: 1px; }
.tt-mb-title { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
.tt-menu-btn i { font-size: 17px; color: var(--tt-faint-2); transition: color 0.2s; }
.tt-menu-btn:hover i { color: #fff; }

.btn-gold { border: 1px solid rgba(242, 193, 74, 0.3); }
.btn-gold::before { background: #f2c14a; }
.btn-gold:hover { border-color: #f2c14a; box-shadow: 0 10px 30px rgba(242, 193, 74, 0.15); }
.btn-gold .tt-mb-title, .btn-gold i { color: #f2c14a; }

.btn-danger:hover { border-color: rgba(255,92,92, 0.5); }
.btn-danger:hover::before { background: var(--tt-red); }
.btn-danger:hover .tt-mb-title, .btn-danger:hover i { color: var(--tt-red); }

/* MODALS */
.tt-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); z-index: 1000; align-items: center; justify-content: center; }
.tt-modal-overlay.active { display: flex; }
.tt-modal { background: var(--tt-surface-solid); border: 1px solid #f2c14a; box-shadow: 0 0 50px rgba(0,0,0,0.7); width: 90%; max-width: 450px; border-radius: 18px; overflow: hidden; animation: slideIn 0.25s ease-out; }
@keyframes slideIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.tt-modal-header { background: rgba(255,255,255,0.03); padding: 15px 25px; border-bottom: 1px solid var(--tt-line-solid); display: flex; justify-content: space-between; align-items: center; }
.tt-modal-title { margin: 0; font-size: 16px; font-weight: 800; color: #fff; text-transform: uppercase; }
.tt-modal-close { background: none; border: none; color: var(--tt-muted); cursor: pointer; font-size: 20px; }
.tt-modal-close:hover { color: #fff; }
.tt-modal-body { padding: 25px; text-align: left; }
.tt-search-wrap { margin-bottom: 15px; position: relative; }
.tt-search-input { width: 100%; background: var(--tt-bg-2); border: 1px solid var(--tt-line-solid); padding: 12px 15px 12px 40px; border-radius: 10px; color: #fff; font-size: 14px; outline: none; box-sizing: border-box; transition: 0.2s; }
.tt-search-input:focus { border-color: #f2c14a; box-shadow: 0 0 0 2px rgba(242, 193, 74, 0.1); }
.tt-search-icon { position: absolute; left: 14px; top: 14px; color: var(--tt-faint); font-size: 14px; }
.tt-results-list { max-height: 250px; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; text-align: left; }
.tt-player-item { padding: 10px 15px; background: rgba(255,255,255,0.03); border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; border: 1px solid transparent; transition: 0.2s; }
.tt-player-item:hover { background: rgba(242, 193, 74, 0.1); border-color: rgba(242, 193, 74, 0.3); }
.tt-pi-name { font-weight: 700; color: #fff; font-size: 14px; }
.tt-pi-select { font-size: 10px; text-transform: uppercase; color: #f2c14a; font-weight: 800; }
.tt-loading, .tt-no-results { text-align: left; padding: 10px; font-size: 12px; color: var(--tt-faint); }
.tt-no-results { color: var(--tt-red); }

/* Follow-up: rechte Account-Aktionen ohne Fremdbox, links optisch größer */
.tt-left-col{min-width:0;}
.tt-profile-card{border-radius:22px;box-shadow:0 22px 44px rgba(0,0,0,.26);}
.tt-user-header h2{font-size:26px;}
.tt-user-header p{font-size:12px;opacity:.86;}
.tt-detail-item{gap:12px;}
.tt-detail-item label{font-size:10px;letter-spacing:.12em;}
.tt-welcome-card::before{display:none!important;}
.tt-menu-grid{gap:14px;padding-top:2px;}
.tt-menu-btn{background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));box-shadow:0 10px 28px rgba(0,0,0,.16);}
.tt-menu-btn::before{left:0;top:10px;bottom:10px;height:auto;}
.tt-mb-left{padding-right:12px;}


/* Block 6 UI final follow-up */
.tt-profile-grid{grid-template-columns:minmax(380px,520px) minmax(0,1fr)!important;}
.tt-profile-wrap{max-width:none!important;width:100%!important;margin:0!important;}
.tt-profile-card{padding:38px!important;}
.tt-welcome-card,.tt-welcome-card::before{background:transparent!important;border:none!important;box-shadow:none!important;display:block!important;}
.tt-menu-grid{gap:12px!important;padding-top:0!important;}
.tt-menu-btn{background:transparent!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:none!important;padding:16px 20px!important;}
.tt-menu-btn:hover{transform:none!important;background:rgba(37,99,235,.16)!important;box-shadow:0 0 0 1px rgba(37,99,235,.20) inset,0 0 18px rgba(37,99,235,.20)!important;}
.tt-mb-label{font-size:9px!important;letter-spacing:.12em!important;}
.tt-mb-title{font-size:12px!important;}
.tt-menu-btn i{font-size:15px!important;}
.tt-mini-world:hover,.tt-btn-dashboard:hover,.tt-btn-ally:hover,.tt-btn-play:hover{transform:none!important;}

/* fix5 rebuild */
.tt-welcome-card,.tt-welcome-card::before{background:transparent!important;border:none!important;box-shadow:none!important;}


/* ===== MIGRIERT AUS account_passwort_aendern.css ===== */

/* travtools/css/account_passwort_aendern.css */

.tt-auth-wrap {
  max-width: 1100px;
  margin: 0;
  /* Split Layout */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

/* LOGO (Links) */
.tt-auth-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tt-auth-logo img {
  width: 320px; /* Kompakt & scharf */
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(242, 193, 74, 0.25));
  transition: transform 0.3s;
}
.tt-auth-logo img:hover { transform:none; }

/* CARD (Rechts - Kompakt) */
.tt-auth-card {
  background: var(--panel); 
  border: 1px solid var(--line);
  border-left: 4px solid var(--brandGold); /* Goldener Anker */
  border-radius: 16px;
  
  width: 100%;
  max-width: 450px; /* Begrenzte Breite für edlen Look */
  padding: 30px;
  
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  color: var(--text);
}

/* HEADER */
.tt-head {
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.tt-title {
  font-size: 24px;
  margin: 0 0 6px 0;
  font-weight: 900;
  color: #fff;
  display: flex; align-items: center; gap: 0px;
}
.tt-title i { color: var(--brandGold); font-size: 20px; }
.tt-subtitle { color: var(--muted); font-size: 13px; font-weight: 500; margin: 0; }

/* FORM & INPUTS */
.tt-form { display: flex; flex-direction: column; gap: 20px; }

/* GRID für Inputs (z.B. neu/wiederholen) */
.tt-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.tt-field label {
  display: block; font-size: 11px; font-weight: 800; color: var(--tt-text-soft);
  margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; padding-left: 2px;
}

.input-icon-wrap { position: relative; width: 100%; }
.input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 13px; z-index: 2; pointer-events: none;
}

.tt-input {
  width: 100%; padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); color: #fff;
  font-family: inherit; font-size: 14px; outline: none; transition: all 0.2s; box-sizing: border-box;
}
.tt-input.has-icon { padding-left: 36px; }
.tt-input:focus {
  border-color: var(--brandGold); background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px rgba(242, 193, 74, 0.15);
}

/* BUTTON */
.tt-btn {
  margin-top: 10px; padding: 12px 20px; border-radius: 10px; border: 0;
  cursor: pointer; font-weight: 800; font-size: 15px;
  background: linear-gradient(135deg, var(--brandGold), var(--tt-gold)); color: var(--tt-bg-0);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.1s, filter 0.2s; width: 100%; 
}
.tt-btn:hover { filter: brightness(1.1); transform:none; box-shadow: 0 4px 15px rgba(242, 193, 74, 0.2); }

/* ALERTS */
.tt-alert { padding: 10px 14px; border-radius: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.tt-alert-err { background: rgba(255,92,92, 0.1); border: 1px solid rgba(255,92,92, 0.3); color: var(--tt-red-2); }
.tt-alert-ok { background: rgba(61,220,132, 0.1); border: 1px solid rgba(61,220,132, 0.3); color: var(--tt-green-2); }

/* Mobil-Optimierung */
@media(max-width: 900px) {
  .tt-auth-wrap { grid-template-columns: 1fr; gap: 30px; margin-top: 0; }
  .tt-auth-logo img { width: 220px; }
  .tt-auth-card { max-width: 100%; }
}


/* ===== MIGRIERT AUS account_welt_anfordern.css ===== */

/* * TravTools - Welt anfordern */

.tt-request-wrap {
    max-width: none;
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--tt-text-soft);
}

/* HEADER */
.tt-header-standalone { margin-bottom: 30px; padding-left: 0; }
.tt-header-standalone h1 { font-size: 28px; font-weight: 900; color: #fff; margin: 0 0 5px 0; }
.tt-subtitle { color: var(--tt-muted); font-size: 14px; }

/* LAYOUT GRID */
.tt-req-grid {
    display: grid;
    grid-template-columns: minmax(320px,1fr) minmax(360px,1fr);
    gap: 30px;
    align-items:start;
}

/* FORM CARD */
.tt-card {
    background: var(--tt-surface-solid);
    border: 1px solid var(--tt-line-solid);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.tt-form-title {
    font-size: 16px; font-weight: 800; color: #fff; 
    margin-bottom: 20px; border-bottom: 1px solid var(--tt-line-solid); padding-bottom: 15px;
}

.tt-inp-group { margin-bottom: 20px; }
.tt-inp-label { 
    display: block; font-size: 11px; font-weight: 800; 
    text-transform: uppercase; color: var(--tt-muted); margin-bottom: 6px; 
}
.tt-inp {
    width: 100%; box-sizing: border-box;
    background: rgba(0,0,0,0.3); border: 1px solid var(--tt-line-solid);
    padding: 12px; border-radius: 8px; color: #fff; font-size: 14px;
    outline: none; transition: border-color 0.2s;
}
.tt-inp:focus { border-color: #f2c14a; }

.tt-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #f2c14a, var(--tt-gold-2));
    color: var(--tt-bg-0); border: none; padding: 12px;
    border-radius: 8px; font-weight: 800; font-size: 13px;
    text-transform: uppercase; cursor: pointer;
    transition: filter 0.2s;
}
.tt-btn-submit:hover { filter: brightness(1.1); }
.tt-btn-submit:disabled { background: var(--tt-line-solid); color: var(--tt-faint); cursor: not-allowed; filter: none; }

/* REQUEST LIST */
.tt-req-list { display: flex; flex-direction: column; gap: 15px; }

.tt-req-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--tt-line-solid);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tt-req-info h3 { margin: 0 0 5px 0; font-size: 16px; color: #fff; }
.tt-req-url { font-size: 12px; color: var(--tt-muted); font-family: monospace; }

.tt-req-status {
    display: flex; align-items: center; gap: 15px;
}

.status-badge {
    padding: 6px 12px; border-radius: 6px;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    background: rgba(242, 193, 74, 0.1); color: #f2c14a;
    border: 1px solid rgba(242, 193, 74, 0.2);
}

.btn-delete {
    background: transparent; border: 1px solid var(--tt-red);
    color: var(--tt-red); padding: 8px 14px; border-radius: 6px;
    cursor: pointer; font-size: 11px; font-weight: 700;
    text-transform: uppercase; transition: 0.2s;
}
.btn-delete:hover { background: var(--tt-red); color: #fff; }

/* ALERTS */
.tt-alert { padding: 15px; border-radius: 8px; font-size: 13px; margin-bottom: 20px; border: 1px solid transparent; }
.alert-success { background: rgba(61,220,132, 0.1); border-color: var(--tt-green); color: var(--tt-green); }
.alert-error { background: rgba(255,92,92, 0.1); border-color: var(--tt-red); color: var(--tt-red); }
.alert-limit { background: rgba(59, 130, 246, 0.1); border-color: var(--tt-blue); color: var(--tt-blue); text-align: center; }
.tt-req-owner{margin-top:8px;font-size:12px;color:#9ca3af;}
.btn-delete.is-disabled{opacity:.55;cursor:default;border-color:var(--tt-line-solid);color:#9ca3af;background:transparent;}
@media(max-width:980px){.tt-req-grid{grid-template-columns:1fr;}}


/* ===== Repair Block 2 · Account / Meine Welten ===== */
body.tt-app .tt-mw-wrap,body.tt-app .tt-account-wrap,body.tt-app .tt-ac-wrap{max-width:1280px;margin:0 auto;}
body.tt-app .tt-worlds-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;align-items:start;}
body.tt-app .tt-world-card{display:flex;flex-direction:column;gap:14px;min-height:260px;padding:20px;border-radius:22px;border:1px solid rgba(255,255,255,.10);background:linear-gradient(180deg, rgba(18,28,48,.84), rgba(8,12,20,.96));box-shadow:0 18px 42px rgba(0,0,0,.28);}
body.tt-app .tt-wc-header{display:flex;align-items:center;justify-content:space-between;gap:12px;}
body.tt-app .tt-wc-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 12px;border-radius:999px;background:rgba(242,193,74,.14);border:1px solid rgba(242,193,74,.28);color:#f2c14a;font-weight:900;}
body.tt-app .tt-wc-speed{font-size:12px;color:rgba(255,255,255,.66);font-weight:700;}
body.tt-app .tt-wc-name{font-size:24px;font-weight:900;color:#fff;margin-bottom:4px;}
body.tt-app .tt-wc-meta{font-size:13px;color:rgba(255,255,255,.68);}
body.tt-app .tt-wc-footer{margin-top:auto;display:flex;flex-direction:column;gap:10px;}
body.tt-app .tt-ally-section{width:100%!important;display:flex;gap:10px;flex-wrap:wrap;}
body.tt-app .tt-modal-overlay{position:fixed;inset:0;background:rgba(3,6,12,.74);backdrop-filter:blur(10px);display:none;align-items:center;justify-content:center;padding:24px;z-index:1000;}
body.tt-app .tt-modal{width:min(760px,100%);background:linear-gradient(180deg, rgba(18,28,48,.92), rgba(8,12,20,.96));border:1px solid rgba(255,255,255,.12);border-radius:24px;box-shadow:0 24px 60px rgba(0,0,0,.4);overflow:hidden;}
body.tt-app .tt-modal-header{padding:18px 20px;border-bottom:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;gap:12px;}
body.tt-app .tt-modal-body{padding:22px;}
body.tt-app .tt-results-list{margin-top:12px;display:flex;flex-direction:column;gap:8px;max-height:380px;overflow:auto;}
body.tt-app .tt-player-item{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);cursor:pointer;}
body.tt-app .tt-player-item:hover{border-color:rgba(242,193,74,.25);background:rgba(37,99,235,.12);}
body.tt-app .tt-status-box{padding:10px 12px;border-radius:14px;font-weight:800;text-align:center;}


/* ===== Repair Block 3 · Account / Meine Welten ===== */
.tt-mw-wrap,.tt-profile-wrap,.tt-request-wrap,.tt-log-wrap,.tt-ac-wrap{width:100%;max-width:none;margin:0;color:#fff;}
.tt-mw-wrap{padding-top:6px;}
.tt-worlds-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px;align-items:start;}
.tt-world-card{display:flex;flex-direction:column;gap:14px;padding:20px;border-radius:22px;border:1px solid rgba(255,255,255,.10);background:linear-gradient(180deg, rgba(20,29,52,.88), rgba(8,12,20,.92));box-shadow:0 16px 38px rgba(0,0,0,.24);min-height:260px;}
.tt-wc-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;}
.tt-wc-name{font-size:30px;font-weight:900;line-height:1;color:#fff;margin:0;}
.tt-wc-speed{font-size:18px;font-weight:700;color:var(--brandGold);margin-top:4px;}
.tt-wc-meta,.tt-wc-player-info{display:flex;flex-direction:column;gap:6px;color:rgba(255,255,255,.78);font-size:14px;}
.tt-wc-footer{margin-top:auto;display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.tt-btn-play,.tt-btn-join,.tt-btn-ally,.tt-btn-leave{min-height:42px;padding:10px 14px;font-size:13px;border-radius:14px;}
.tt-search-wrap{position:relative;}
.tt-results-list{margin-top:10px;padding:10px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);max-height:220px;overflow:auto;}
.tt-no-results{padding:12px 0;color:rgba(255,255,255,.58);font-size:13px;}
.tt-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:1000;}
.tt-modal{width:min(720px,100%);border-radius:24px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg, rgba(18,25,44,.94), rgba(9,13,22,.96));box-shadow:0 30px 60px rgba(0,0,0,.45);overflow:hidden;}
.tt-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid rgba(255,255,255,.08);}
.tt-modal-title{margin:0;font-size:24px;font-weight:900;color:#fff;}
.tt-modal-body{padding:22px;}


/* ===== Final Pass · Block 4 · Account ===== */
.tt-account-grid,
.tt-profile-grid,
.tt-worlds-grid{
  display:grid;
  gap:18px;
  align-items:start;
}
.tt-worlds-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));}
.tt-world-card,
.tt-card.tt-world-card,
.tt-card.tt-profile-card{
  min-height:unset!important;
  height:auto!important;
  display:flex;
  flex-direction:column;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(20,29,52,.88), rgba(8,12,20,.92));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 16px 38px rgba(0,0,0,.24);
  overflow:hidden;
}
.tt-wc-header,
.tt-mw-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 18px 0;
}
.tt-wc-body,
.tt-mw-body{padding:18px;display:flex;flex-direction:column;gap:12px;flex:1;}
.tt-wc-name,.tt-mw-name{font-size:24px;font-weight:900;color:#fff;line-height:1.05;}
.tt-wc-meta,.tt-mw-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;color:rgba(255,255,255,.72);}
.tt-wc-footer,.tt-mw-footer,.tt-world-actions{padding:16px 18px 18px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.tt-card.tt-welcome-card{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;min-height:unset!important;}
.tt-menu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;align-items:stretch;}
.tt-menu-btn{
  min-height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(20,29,52,.88), rgba(8,12,20,.92));
  box-shadow:0 12px 28px rgba(0,0,0,.22);
  text-decoration:none;
  color:#fff;
}
.tt-menu-btn:hover{background:linear-gradient(180deg, rgba(37,99,235,.18), rgba(8,12,20,.94));border-color:rgba(242,193,74,.24);box-shadow:0 0 0 1px rgba(37,99,235,.22) inset,0 0 20px rgba(37,99,235,.14);transform:none!important;}
.tt-menu-btn.btn-gold{border-color:rgba(242,193,74,.26);}
.tt-menu-btn.btn-danger{border-color:rgba(255,92,92,.24);}
.tt-mb-left{display:flex;flex-direction:column;gap:4px;min-width:0;}
.tt-mb-label{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.56);}
.tt-mb-title{font-size:18px;font-weight:900;line-height:1.1;color:#fff;}
.tt-menu-btn i{font-size:20px;color:var(--brandGold);flex:0 0 auto;}
.tt-auth-wrap{align-items:start!important;min-height:unset!important;}
.tt-auth-card{min-height:unset!important;align-self:start;}
@media (max-width:900px){
  .tt-menu-grid,.tt-worlds-grid{grid-template-columns:1fr;}
}


/* =========================================================
   Repair Block 7 · Account / Meine Welten / Mein Account
   ========================================================= */
body.tt-app .tt-account-wrap,
body.tt-app .tt-ac-wrap,
body.tt-app .tt-mw-wrap{
  width:100%!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding-top:8px!important;
}
body.tt-app .tt-menu-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:12px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
}
body.tt-app .tt-menu-grid::before,
body.tt-app .tt-menu-grid::after{display:none!important;content:none!important;}
body.tt-app .tt-menu-btn{
  min-height:82px!important;
  align-items:flex-start!important;
  justify-content:center!important;
  border-radius:16px!important;
}
body.tt-app .tt-world-grid,
body.tt-app .tt-worlds-grid,
body.tt-app .tt-mw-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;
  gap:18px!important;
}
body.tt-app .tt-world-card,
body.tt-app .tt-wc,
body.tt-app .tt-mini-world{
  min-height:auto!important;
  height:auto!important;
}
body.tt-app .tt-wc-header,
body.tt-app .tt-wc-body,
body.tt-app .tt-wc-footer{
  background:transparent!important;
}
body.tt-app .tt-wc-footer,
body.tt-app .tt-world-actions,
body.tt-app .tt-card-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
body.tt-app .tt-wc-footer > *,
body.tt-app .tt-world-actions > *{flex:1 1 180px;}
