    :root {
      --bg-a: #eef2f7;
      --bg-b: #e5e7eb;
      --card: #ffffff;
      --card-solid: #ffffff;
      --text: #111827;
      --muted: #6b7280;
      --primary: #1f2937;
      --primary-2: #374151;
      --accent: #2563eb;
      --success: #16a34a;
      --danger: #dc2626;
      --border: #d1d5db;
      --shadow-lg: 0 8px 20px rgba(15, 23, 42, 0.08);
      --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
      --radius-xl: 16px;
      --radius-lg: 12px;
      --radius-md: 10px;
    }

    body.theme-dark {
      --bg-a: #0b1020;
      --bg-b: #111827;
      --card: rgba(17, 24, 39, 0.78);
      --card-solid: #111827;
      --text: #f3f4f6;
      --muted: #9ca3af;
      --primary: #f3f4f6;
      --primary-2: #d1d5db;
      --accent: #60a5fa;
      --success: #4ade80;
      --danger: #f87171;
      --border: rgba(255, 255, 255, 0.08);
      --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
      --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.25);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      min-height: 100vh;
      color: var(--text);
      background: linear-gradient(180deg, var(--bg-a), var(--bg-b));
      padding: 20px;
      overflow-x: hidden;
    }

    .container { max-width: 1200px; margin: 0 auto; display: grid; gap: 14px; }
    .theme-toggle {
      position: fixed;
      top: 18px;
      right: 18px;
      z-index: 2000;
      border: 1px solid var(--border);
      border-radius: 8px;
      background: #ffffff;
      color: var(--text);
      padding: 8px 12px;
      font-weight: 600;
      box-shadow: var(--shadow-md);
      cursor: pointer;
    }
    body.theme-dark .theme-toggle {
      background: rgba(17,24,39,0.78);
      color: #f3f4f6;
    }
    .toast-stack {
      position: fixed;
      left: 50%;
      bottom: 24px;
      transform: translateX(-50%);
      z-index: 2500;
      width: min(92vw, 520px);
      pointer-events: none;
    }
    .toast {
      border-radius: 12px;
      padding: 12px 14px;
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border);
      background: rgba(255, 255, 255, 0.96);
      color: var(--text);
      backdrop-filter: blur(10px);
    }
    .toast-error {
      border-color: rgba(220, 38, 38, 0.28);
    }
    .toast-warning {
      border-color: rgba(217, 119, 6, 0.28);
    }
    body.theme-dark .toast {
      background: rgba(17,24,39,0.94);
      color: #f3f4f6;
      border-color: rgba(255,255,255,0.1);
    }
    body.landing-mode {
      padding: 0;
      background: #080a0f;
    }
    body.landing-mode .container {
      max-width: none;
      margin: 0;
      gap: 0;
    }
    body.landing-mode .header { display: none; }
    body.landing-mode #app { min-height: 100vh; }

    .header {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 18px 20px;
      box-shadow: var(--shadow-md);
    }
    .header.theme-dark {
      background: rgba(17,24,39,0.86);
      color: #f3f4f6;
      border-color: rgba(255,255,255,0.08);
    }

    .toolbar {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: center;
      flex-wrap: wrap;
    }

    .header h1 { font-size: 1.8rem; margin-bottom: 4px; font-weight: 700; color: #111827; }
    .header p { color: #64748b; font-size: .98rem; }

    .btn {
      border: 1px solid rgba(15, 23, 42, 0.08);
      border-radius: 8px;
      padding: 9px 14px;
      cursor: pointer;
      font-weight: 600;
      transition: transform .16s ease, opacity .16s ease, box-shadow .16s ease, background .16s ease;
      text-decoration: none;
      display: inline-block;
      box-shadow: none;
    }

    .btn:hover { transform: none; box-shadow: none; }

    .btn-primary { color: white; background: #2563eb; }
    .btn-outline { color: #0f172a; border: 1px solid var(--border); background: #ffffff; }
    .btn-soft { color: #0f172a; border: 1px solid rgba(15,23,42,0.08); background: #f8fafc; }
    .auth-name {
      margin-right: 8px;
      color: #e2e8f0;
    }
    .auth-bot-line {
      display: block;
      color: #cbd5e1;
    }
    .u-mb-6 { margin-bottom: 6px; }
    .u-mb-8 { margin-bottom: 8px; }
    .u-mb-10 { margin-bottom: 10px; }
    .u-mt-8 { margin-top: 8px; }
    .u-mt-12 { margin-top: 12px; }
    .inline-select {
      max-width: 340px;
      display: inline-block;
      margin-left: 8px;
    }
    .panel-item {
      border: 1px solid #dbe5f3;
      padding: 8px;
      border-radius: 8px;
      margin-bottom: 8px;
    }
    .panel-item-dashed {
      border-style: dashed;
    }
    .title-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
    }
    .title-row > h3 {
      margin: 0;
    }

    .panel {
      background: var(--card);
      color: var(--text);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 16px;
      min-width: 0;
      box-shadow: var(--shadow-md);
    }

    .empty {
      border: 1px dashed #94a3b8;
      border-radius: 12px;
      padding: 18px;
      text-align: center;
      color: #475569;
      background: #f8fafc;
    }
    body.theme-dark .empty,
    body.theme-dark .loading-box,
    body.theme-dark .guild-item,
    body.theme-dark .menu a,
    body.theme-dark .server-chip,
    body.theme-dark .motodex-shell,
    body.theme-dark .chest-box,
    body.theme-dark .drop-item,
    body.theme-dark .role-picker,
    body.theme-dark .role-picker-list,
    body.theme-dark .authlogs-grid,
    body.theme-dark .authlogs-item {
      background: rgba(17,24,39,0.86);
      color: #f3f4f6;
      border-color: rgba(255,255,255,0.08);
    }
    body.theme-dark .header h1,
    body.theme-dark .menu a,
    body.theme-dark .guild-item .name,
    body.theme-dark .server-chip,
    body.theme-dark .authlogs-title h2 {
      color: #f9fafb;
    }
    body.theme-dark .hint,
    body.theme-dark .guild-item .meta,
    body.theme-dark .header p,
    body.theme-dark .status {
      color: #9ca3af;
    }
    body.theme-dark .input,
    body.theme-dark .field input,
    body.theme-dark .field select,
    body.theme-dark .field textarea {
      background: rgba(31,41,55,0.92);
      color: #f3f4f6;
      border-color: rgba(255,255,255,0.10);
      box-shadow: none;
    }
    body.theme-dark .btn-outline,
    body.theme-dark .btn-soft {
      background: rgba(31,41,55,0.92);
      color: #f3f4f6;
      border-color: rgba(255,255,255,0.10);
    }
    body.theme-dark .panel-item {
      border-color: rgba(255,255,255,0.10);
    }
    .loading-box {
      display: grid;
      place-items: center;
      gap: 10px;
      min-height: 220px;
      border: 1px dashed #94a3b8;
      border-radius: 12px;
      background: #f8fafc;
      color: #475569;
    }
    .spinner {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      border: 3px solid #cbd5e1;
      border-top-color: #2563eb;
      animation: spin .8s linear infinite;
    }

    .guild-list { display: grid; gap: 10px; }

    .guild-item {
      width: 100%;
      text-align: left;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 14px 16px;
      background: rgba(255,255,255,0.72);
      cursor: pointer;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    }

    .guild-item:hover { background: #fff; }
    .guild-item .name { font-weight: 700; }
    .guild-item .meta { color: #64748b; font-size: .85rem; margin-top: 4px; }

    .layout {
      display: grid;
      grid-template-columns: 230px minmax(0, 1fr);
      gap: 18px;
    }

    .menu { display: grid; gap: 8px; }

    .menu a {
      text-decoration: none;
      color: #0f172a;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 10px 12px;
      font-weight: 600;
      background: #ffffff;
    }

    .menu a.active {
      border-color: #2563eb;
      background: #dbeafe;
      color: #1d4ed8;
    }
    .menu a.menu-danger {
      border-color: #ef4444;
      background: #fee2e2;
      color: #991b1b;
    }
    .menu a.menu-danger.active {
      border-color: #dc2626;
      background: #fecaca;
      color: #7f1d1d;
    }

    .grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .field { display: grid; gap: 6px; }
    .field label { font-size: .86rem; font-weight: 700; color: #334155; }

    .field input,
    .field select,
    .field textarea,
    .input {
      border: 1px solid rgba(15, 23, 42, 0.10);
      border-radius: 8px;
      padding: 10px 12px;
      font-size: .92rem;
      width: 100%;
      background: #ffffff;
    }

    .field textarea {
      min-height: 96px;
      resize: vertical;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    }

    .hint {
      color: #6b7280;
      font-size: .75rem;
      word-break: break-word;
      overflow-wrap: anywhere;
    }
    .active-roles {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-top: 4px;
    }
    .role-badge-active {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      border-radius: 999px;
      background: #dcfce7;
      border: 1px solid #22c55e;
      color: #166534;
      font-size: .78rem;
      font-weight: 700;
    }
    .role-badge-none {
      color: #6b7280;
      font-size: .78rem;
    }
    .role-picker {
      border: 1px solid #cbd5e1;
      border-radius: 12px;
      background: #f8fafc;
      overflow: hidden;
    }
    .role-picker-selected {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      padding: 8px;
      border-bottom: 1px solid #e2e8f0;
      min-height: 44px;
      align-items: center;
    }
    .role-picker-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 8px;
      border-radius: 999px;
      background: #dcfce7;
      border: 1px solid #22c55e;
      color: #166534;
      font-size: .78rem;
      font-weight: 700;
    }
    .role-picker-chip button {
      border: 0;
      background: transparent;
      color: #166534;
      cursor: pointer;
      font-size: .9rem;
      line-height: 1;
      padding: 0;
    }
    .role-picker-search {
      border: 0;
      border-bottom: 1px solid #e2e8f0;
      border-radius: 0;
      background: #fff;
      width: 100%;
      padding: 9px 10px;
      font-size: .9rem;
      outline: none;
    }
    .role-picker-list {
      max-height: 220px;
      overflow: auto;
      display: grid;
      gap: 4px;
      padding: 8px;
      background: #fff;
    }
    .role-picker-item {
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      background: #f8fafc;
      color: #0f172a;
      cursor: pointer;
      text-align: left;
      padding: 8px 10px;
      font-size: .86rem;
      font-weight: 700;
    }
    .role-picker-item:hover { background: #eef2ff; }
    .role-picker-item.active {
      background: #dcfce7;
      border-color: #22c55e;
      color: #166534;
    }
    .actions { margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
    .status { font-size: .86rem; color: #64748b; }
    .status.ok { color: var(--success); }
    .status.err { color: var(--danger); }
    .reaction-role-mapping-list {
      display: grid;
      gap: 10px;
    }
    .reaction-role-mapping-row {
      border: 1px solid #dbe5f3;
      border-radius: 10px;
      padding: 10px;
      background: #f8fafc;
    }
    .emoji-preview-box {
      margin-top: 8px;
      min-height: 44px;
      padding: 8px 10px;
      border: 1px dashed #cbd5e1;
      border-radius: 10px;
      background: #ffffff;
    }
    .emoji-preview {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: .86rem;
      color: #334155;
    }
    .emoji-preview img {
      width: 28px;
      height: 28px;
      object-fit: contain;
      image-rendering: -webkit-optimize-contrast;
    }
    .emoji-preview-unicode {
      display: inline-grid;
      place-items: center;
      width: 28px;
      height: 28px;
      font-size: 1.3rem;
      line-height: 1;
    }
    .emoji-browser {
      margin-top: 8px;
      border: 1px solid #dbe5f3;
      border-radius: 14px;
      background: #111827;
      padding: 10px;
      color: #f3f4f6;
    }
    .emoji-browser-top {
      display: flex;
      gap: 8px;
      align-items: center;
      margin-bottom: 10px;
    }
    .emoji-browser-search {
      flex: 1;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px;
      background: #1f2937;
      color: #f9fafb;
      padding: 10px 12px;
      font-size: .9rem;
      outline: none;
    }
    .emoji-browser-clear {
      white-space: nowrap;
      background: #1f2937;
      color: #f3f4f6;
      border-color: rgba(255,255,255,0.08);
    }
    .emoji-browser-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(38px, 1fr));
      gap: 8px;
      max-height: 220px;
      overflow: auto;
      padding-right: 4px;
    }
    .emoji-browser-item {
      width: 100%;
      aspect-ratio: 1;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px;
      background: #0f172a;
      display: inline-grid;
      place-items: center;
      padding: 0;
      cursor: pointer;
    }
    .emoji-browser-item img {
      width: 26px;
      height: 26px;
      object-fit: contain;
    }
    .emoji-browser-item:hover {
      background: #1d4ed8;
      border-color: rgba(96,165,250,0.9);
    }
    .emoji-browser-item.active {
      background: #2563eb;
      border-color: rgba(147,197,253,1);
      box-shadow: inset 0 0 0 1px rgba(191,219,254,0.95);
    }
    body.theme-dark .reaction-role-mapping-row {
      background: rgba(17,24,39,0.86);
      border-color: rgba(255,255,255,0.08);
    }
    body.theme-dark .emoji-preview-box {
      background: rgba(31,41,55,0.92);
      border-color: rgba(255,255,255,0.10);
    }
    body.theme-dark .emoji-preview {
      color: #e5e7eb;
    }
    body.theme-dark .emoji-browser {
      background: #0b1120;
      border-color: rgba(255,255,255,0.10);
    }
    .server-chip {
      display: inline-flex;
      gap: 8px;
      align-items: center;
      flex-wrap: wrap;
      max-width: 100%;
      padding: 8px 10px;
      border-radius: 8px;
      border: 1px solid rgba(15,23,42,0.08);
      background: #ffffff;
      color: #0f172a;
      font-size: .82rem;
      margin-bottom: 10px;
    }
    .server-chip code {
      background: #e2e8f0;
      border-radius: 6px;
      padding: 2px 6px;
      word-break: break-all;
    }
    .authlogs-shell {
      border: 1px solid #dbe5f3;
      border-radius: 10px;
      background: #f8fafc;
      padding: 12px;
      min-width: 0;
    }
    .authlogs-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }
    .authlogs-title {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .authlogs-title h2 {
      margin: 0;
      font-size: 1.45rem;
      color: #0b1730;
    }
    .authlogs-count {
      font-size: .78rem;
      font-weight: 700;
      color: #1e3a8a;
      background: #dbeafe;
      border: 1px solid #93c5fd;
      border-radius: 999px;
      padding: 4px 8px;
    }
    .authlogs-grid {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      overflow: hidden;
      border: 1px solid #d9e2f0;
      border-radius: 12px;
      background: #fff;
    }
    .authlogs-grid thead th {
      position: sticky;
      top: 0;
      z-index: 1;
      text-align: left;
      font-size: .8rem;
      letter-spacing: .3px;
      text-transform: uppercase;
      color: #475569;
      background: #f3f7fd;
      border-bottom: 1px solid #dbe5f3;
      padding: 10px;
      white-space: nowrap;
    }
    .authlogs-grid tbody td {
      padding: 10px;
      border-bottom: 1px solid #edf2f9;
      vertical-align: top;
      font-size: .85rem;
      color: #0f172a;
    }
    .authlogs-grid tbody tr:last-child td { border-bottom: 0; }
    .authlogs-ts {
      color: #334155;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      white-space: nowrap;
    }
    .authlogs-event {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 3px 8px;
      font-size: .74rem;
      font-weight: 700;
      border: 1px solid transparent;
      white-space: nowrap;
    }
    .authlogs-event.success { background: #dcfce7; border-color: #86efac; color: #166534; }
    .authlogs-event.denied { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
    .authlogs-event.warn { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
    .authlogs-event.info { background: #e0f2fe; border-color: #7dd3fc; color: #075985; }
    .authlogs-ip {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      color: #1d4ed8;
      word-break: break-word;
    }
    .authlogs-user {
      font-weight: 700;
      color: #0f172a;
      word-break: break-word;
    }
    .authlogs-ua {
      color: #475569;
      max-width: 380px;
      word-break: break-word;
      line-height: 1.35;
    }
    .authlogs-list {
      list-style: none;
      margin: 0;
      padding: 0;
      max-height: 520px;
      overflow: auto;
      display: grid;
      gap: 8px;
      border: 1px solid #d9e2f0;
      border-radius: 12px;
      background: #fff;
      padding: 10px;
      min-width: 0;
    }
    .authlogs-item {
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      padding: 10px;
      background: #f8fbff;
      display: grid;
      gap: 6px;
      min-width: 0;
    }
    .authlogs-item-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      flex-wrap: wrap;
    }
    .authlogs-item-meta {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      font-size: .8rem;
      color: #475569;
    }
    .authlogs-pill {
      display: inline-flex;
      align-items: center;
      padding: 2px 7px;
      border-radius: 999px;
      background: #eef2ff;
      border: 1px solid #c7d2fe;
      color: #3730a3;
      font-size: .74rem;
      font-weight: 700;
    }
    .landing {
      min-height: 100vh;
      display: grid;
      place-items: center;
      border: 0;
      border-radius: 0;
      background: #080a0f;
      box-shadow: inset 0 0 80px rgba(255, 176, 201, .04);
      overflow: hidden;
    }
    .landing-core {
      width: min(760px, 92%);
      text-align: center;
      color: #f5f7ff;
    }
    .landing h2 {
      font-size: clamp(1.9rem, 4.2vw, 3.2rem);
      line-height: 1;
      color: #f2b4c6;
      letter-spacing: .4px;
      margin-bottom: 10px;
      font-weight: 700;
    }
    .landing-sub {
      color: #b8bfd1;
      font-size: .96rem;
      margin-bottom: 14px;
    }
    .landing-links {
      display: flex;
      justify-content: center;
      gap: 14px;
      flex-wrap: nowrap;
      margin-bottom: 22px;
    }
    .landing-links a {
      color: #e5e7ef;
      text-decoration: none;
      font-size: 1rem;
      border-bottom: 1px solid transparent;
    }
    .landing-links a:hover {
      border-bottom-color: #f2b4c6;
      color: #f2b4c6;
    }
    .landing-links button {
      color: #e5e7ef;
      background: transparent;
      border: 0;
      border-bottom: 1px solid transparent;
      font-size: 1rem;
      padding: 0;
      cursor: pointer;
      font-family: inherit;
    }
    .landing-links button:hover {
      border-bottom-color: #f2b4c6;
      color: #f2b4c6;
    }
    .landing-logo {
      width: 220px;
      height: 220px;
      margin: 0 auto 10px;
      color: #f2a9bf;
      opacity: .95;
      filter: drop-shadow(0 8px 30px rgba(242, 169, 191, .2));
      display: grid;
      place-items: center;
      font-size: 8.5rem;
      line-height: 1;
      animation: bike-pulse 2.8s ease-in-out infinite;
    }
    .landing-note {
      color: #8b93aa;
      font-size: .82rem;
      margin-top: 8px;
    }
    .motodex-shell {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #ffffff;
      padding: 14px;
      min-width: 0;
      box-shadow: none;
    }
    .motodex-grid {
      display: grid;
      gap: 12px;
      grid-template-columns: 1.1fr .9fr;
    }
    .chest-box {
      border: 1px solid var(--border);
      border-radius: 10px;
      background: #ffffff;
      padding: 14px;
      min-height: 180px;
      box-shadow: none;
    }
    .chest-section-divider {
      height: 1px;
      margin: 10px 0 14px;
      background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .22), transparent);
    }
    .chest-anim {
      width: min(100%, 190px);
      height: 250px;
      margin: 14px auto 16px;
      display: block;
      position: relative;
      transition: transform .25s ease, filter .25s ease;
      transform-origin: 50% 58%;
      user-select: none;
    }
    .chest-card {
      filter: drop-shadow(0 18px 30px rgba(13, 64, 150, .22));
    }
    .chest-card__frame {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 18px;
      border: 6px solid #2aa7ff;
      background:
        radial-gradient(circle at 50% 42%, rgba(19, 154, 255, .18), rgba(7, 38, 102, 0) 26%),
        linear-gradient(180deg, #0f6ea8 0%, #0d4f89 35%, #0a3970 100%);
      box-shadow:
        inset 0 0 0 5px #0d64d8,
        inset 0 0 0 10px rgba(142, 229, 255, .88),
        0 10px 24px rgba(8, 35, 94, .28);
      overflow: hidden;
    }
    .chest-card-bonus {
      filter: drop-shadow(0 18px 30px rgba(134, 25, 143, .24));
    }
    .chest-card-bonus .chest-card__frame {
      border-color: #db4dff;
      background:
        radial-gradient(circle at 50% 42%, rgba(232, 121, 249, .2), rgba(76, 29, 149, 0) 26%),
        linear-gradient(180deg, #8b39c9 0%, #6b21a8 35%, #4c1d95 100%);
      box-shadow:
        inset 0 0 0 5px #7e22ce,
        inset 0 0 0 10px rgba(243, 168, 255, .88),
        0 10px 24px rgba(88, 28, 135, .28);
    }
    .chest-card-bonus .chest-card__frame::before {
      border-color: rgba(248, 195, 255, .14);
      box-shadow: inset 0 0 0 1px rgba(64, 15, 92, .22);
    }
    .chest-card-bonus .chest-card__rays {
      background:
        radial-gradient(circle at 50% 50%, rgba(244, 114, 182, .12) 0, rgba(244, 114, 182, .12) 1px, transparent 1px),
        repeating-radial-gradient(circle at 50% 50%, rgba(232, 121, 249, .18) 0 2px, transparent 2px 34px);
    }
    .chest-card-bonus .chest-card__lid,
    .chest-card-bonus .chest-card__base {
      background: linear-gradient(180deg, #f0abfc 0%, #d946ef 55%, #9333ea 100%);
      border-color: rgba(250, 232, 255, .42);
    }
    .chest-card-bonus .chest-card__lock {
      border-color: #581c87;
      background: linear-gradient(180deg, #6b21a8, #7e22ce);
      box-shadow: 0 -9px 0 -5px #581c87;
    }
    .chest-card-bonus .chest-card__gem {
      background: linear-gradient(180deg, #f9a8d4 0%, #e879f9 58%, #a855f7 100%);
      box-shadow: 0 0 14px rgba(232, 121, 249, .35);
    }
    .chest-card__frame::before {
      content: "";
      position: absolute;
      inset: 16px 20px;
      border-radius: 12px;
      border: 2px solid rgba(97, 203, 255, .1);
      box-shadow: inset 0 0 0 1px rgba(8, 35, 94, .18);
    }
    .chest-card__rays {
      position: absolute;
      inset: 18px;
      border-radius: 12px;
      background:
        radial-gradient(circle at 50% 50%, rgba(90, 212, 255, .14) 0, rgba(90, 212, 255, .14) 1px, transparent 1px),
        repeating-radial-gradient(circle at 50% 50%, rgba(121, 225, 255, .18) 0 2px, transparent 2px 34px);
      opacity: .75;
      mask: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .7));
    }
    .chest-card__core {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 78px;
      height: 78px;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      background: radial-gradient(circle at 50% 45%, rgba(7, 17, 37, .35), rgba(7, 17, 37, .72));
      display: grid;
      place-items: center;
      box-shadow: inset 0 6px 18px rgba(0, 0, 0, .24);
    }
    .chest-card__icon {
      position: relative;
      width: 44px;
      height: 34px;
      filter: drop-shadow(0 6px 12px rgba(10, 50, 132, .35));
    }
    .chest-card__lid,
    .chest-card__base {
      position: absolute;
      left: 0;
      width: 100%;
      background: linear-gradient(180deg, #5bd5ff 0%, #2f98ff 55%, #155bd3 100%);
      border: 1px solid rgba(163, 235, 255, .42);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38);
    }
    .chest-card__lid {
      top: 0;
      height: 12px;
      border-radius: 8px 8px 4px 4px;
    }
    .chest-card__base {
      bottom: 0;
      height: 18px;
      border-radius: 3px 3px 8px 8px;
    }
    .chest-card__lock {
      position: absolute;
      left: 50%;
      top: 13px;
      width: 10px;
      height: 10px;
      transform: translateX(-50%);
      border: 2px solid #0b2d63;
      border-top-width: 3px;
      border-radius: 0 0 3px 3px;
      background: linear-gradient(180deg, #0c326b, #133e84);
      box-shadow: 0 -9px 0 -5px #0b2d63;
    }
    .chest-card__gem {
      position: absolute;
      left: 50%;
      bottom: 28px;
      width: 16px;
      height: 22px;
      transform: translateX(-50%);
      background: linear-gradient(180deg, #3fd4ff 0%, #1b85ff 58%, #0c4fd6 100%);
      clip-path: polygon(50% 0, 88% 30%, 88% 70%, 50% 100%, 12% 70%, 12% 30%);
      box-shadow: 0 0 14px rgba(66, 208, 255, .35);
    }
    .chest-anim.opening {
      transform: scale(1.06) rotate(-3deg);
      filter: drop-shadow(0 18px 34px rgba(37, 99, 235, .42));
      animation: chest-wobble .35s ease-in-out infinite alternate;
    }
    .drop-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin-top: 10px;
    }
    .drop-item {
      border: 1px solid #dbe5f3;
      background: #f8fbff;
      border-radius: 10px;
      padding: 8px;
      font-size: .82rem;
      opacity: 0;
      transform: translateY(10px) scale(.985);
      animation: dropIn .42s cubic-bezier(.22, 1, .36, 1) forwards;
    }
    .drop-item[data-rarity="legendary"] { border-color: #f59e0b; background: #fffbeb; }
    .drop-item[data-rarity="epic"] { border-color: #a855f7; background: #faf5ff; }
    .drop-item[data-rarity="rare"] { border-color: #3b82f6; background: #eff6ff; }
    .drop-item[data-rarity="common"] { border-color: #cbd5e1; background: #f8fafc; }
    .drop-item[data-rarity="mythic"] { border-color: #ef4444; background: #fff1f2; }
    .moto-card-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
    }
    .moto-card-info {
      min-width: 0;
    }
    .moto-card-action {
      flex: 0 0 auto;
      align-self: center;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .moto-reveal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1300;
      background: rgba(15, 23, 42, .48);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
    }
    .moto-reveal-backdrop.show {
      display: flex;
      animation: fadeIn .18s ease;
    }
    .moto-opening-backdrop {
      position: fixed;
      inset: 0;
      z-index: 1400;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background:
        radial-gradient(circle at 50% 40%, rgba(255,255,255,.15), transparent 30%),
        rgba(9, 14, 24, .72);
      backdrop-filter: blur(16px);
    }
    .moto-opening-backdrop.show {
      display: flex;
      animation: fadeIn .2s ease;
    }
    .moto-opening-modal {
      position: relative;
      width: min(420px, calc(100vw - 32px));
      max-height: calc(100vh - 32px);
      padding: 28px 24px 22px;
      border-radius: 28px;
      border: 1px solid rgba(255,255,255,.22);
      background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08));
      box-shadow: 0 40px 120px rgba(0,0,0,.34);
      overflow: hidden;
      text-align: center;
      margin: auto;
    }
    .moto-opening-orbit {
      position: absolute;
      inset: 10px;
      border-radius: 24px;
      border: 1px solid rgba(255,255,255,.12);
      box-shadow: inset 0 0 40px rgba(255,255,255,.08);
      pointer-events: none;
    }
    .moto-opening-pack {
      position: relative;
      width: 190px;
      height: 270px;
      margin: 6px auto 18px;
      border-radius: 24px;
      background:
        linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.06)),
        linear-gradient(180deg, #1d4ed8, #0f172a 55%, #020617);
      border: 1px solid rgba(255,255,255,.24);
      box-shadow:
        0 28px 70px rgba(15, 23, 42, .45),
        inset 0 1px 0 rgba(255,255,255,.25),
        inset 0 -16px 30px rgba(0,0,0,.2);
      transform: perspective(900px) rotateX(8deg);
      animation: packFloat 1.8s ease-in-out infinite;
      overflow: hidden;
    }
    .moto-opening-pack::before {
      content: "";
      position: absolute;
      inset: -20% auto -20% -35%;
      width: 60%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
      transform: rotate(12deg);
      animation: packShine 1.9s ease-in-out infinite;
    }
    .moto-opening-pack::after {
      content: "";
      position: absolute;
      inset: auto 18px 18px;
      height: 70px;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
      border: 1px solid rgba(255,255,255,.14);
    }
    .moto-opening-pack-top,
    .moto-opening-pack-bottom {
      position: relative;
      z-index: 1;
      letter-spacing: .24em;
      text-transform: uppercase;
      color: rgba(255,255,255,.78);
      font-size: .72rem;
      font-weight: 700;
    }
    .moto-opening-pack-top {
      padding-top: 22px;
    }
    .moto-opening-pack-logo {
      position: relative;
      z-index: 1;
      margin: 50px auto 54px;
      width: 86px;
      height: 86px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 1.95rem;
      font-weight: 700;
      color: #eff6ff;
      background: radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8 60%, #1e293b);
      border: 1px solid rgba(255,255,255,.34);
      box-shadow:
        0 16px 30px rgba(29, 78, 216, .32),
        inset 0 1px 8px rgba(255,255,255,.18);
    }
    .moto-opening-title {
      margin: 0 0 8px;
      font-size: 1.2rem;
      color: #f8fafc;
      letter-spacing: -.02em;
    }
    .moto-opening-subtitle {
      margin: 0;
      color: rgba(226, 232, 240, .88);
      font-size: .96rem;
    }
    .moto-opening-actions {
      margin-top: 16px;
      justify-content: center;
    }
    .moto-player-banner {
      display: grid;
      grid-template-columns: 88px minmax(0, 1fr);
      gap: 14px;
      padding: 14px;
      margin-bottom: 14px;
      border: 1px solid var(--border);
      border-radius: 12px;
      background: #f8fafc;
    }
    .moto-player-avatar {
      width: 88px;
      height: 88px;
      display: block;
      border-radius: 16px;
      overflow: hidden;
      border: 1px solid rgba(37, 99, 235, 0.25);
      background: #dbeafe;
      pointer-events: none;
      user-select: none;
    }
    .moto-player-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .moto-player-main {
      min-width: 0;
      display: grid;
      gap: 10px;
    }
    .moto-player-head {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: flex-start;
      flex-wrap: wrap;
    }
    .moto-player-kicker {
      font-size: .72rem;
      text-transform: uppercase;
      letter-spacing: .16em;
      color: #64748b;
      margin-bottom: 4px;
    }
    .moto-player-head h3 {
      margin: 0;
      font-size: 1.15rem;
      color: #0f172a;
    }
    .moto-player-sub {
      color: #64748b;
      font-size: .88rem;
      margin-top: 4px;
    }
    .moto-player-badges {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
    }
    .moto-player-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }
    .moto-player-stat {
      border: 1px solid #dbe5f3;
      border-radius: 10px;
      background: #ffffff;
      padding: 10px 12px;
      display: grid;
      gap: 4px;
    }
    .moto-player-stat span {
      color: #64748b;
      font-size: .76rem;
      text-transform: uppercase;
      letter-spacing: .08em;
    }
    .moto-player-stat strong {
      color: #0f172a;
      font-size: 1rem;
    }
    .moto-inline-host {
      margin-top: 12px;
    }
    .moto-page-panel-host {
      position: fixed;
      inset: 0;
      z-index: 1450;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 18px;
      background: rgba(15, 23, 42, 0.56);
      backdrop-filter: blur(6px);
    }
    .moto-page-panel-host[hidden] {
      display: none !important;
    }
    .moto-inline-panel {
      border: 1px solid var(--border);
      border-radius: 10px;
      background: #f8fafc;
      box-shadow: none;
      padding: 16px;
      width: min(820px, 100%);
      max-height: min(88vh, 920px);
      overflow: auto;
    }
    .moto-inline-panel-opening {
      text-align: center;
    }
    .moto-inline-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .moto-inline-title {
      margin: 0 0 8px;
      font-size: 1.08rem;
      color: #0f172a;
      letter-spacing: -.02em;
    }
    .moto-inline-subtitle {
      margin: 0;
      color: #475569;
      font-size: .95rem;
    }
    .moto-inline-actions {
      margin-top: 16px;
      justify-content: center;
    }
    .moto-inline-pack {
      position: relative;
      width: 192px;
      height: 278px;
      margin: 6px auto 18px;
      border-radius: 26px;
      background:
        radial-gradient(circle at 50% 16%, rgba(147,197,253,.55), transparent 32%),
        linear-gradient(180deg, #5b7ee4 0%, #304786 32%, #1f2944 62%, #171c2b 100%);
      border: 1px solid rgba(255,255,255,.24);
      box-shadow:
        0 20px 36px rgba(15, 23, 42, .28),
        inset 0 1px 0 rgba(255,255,255,.25),
        inset 0 -18px 28px rgba(0,0,0,.18);
      transform: perspective(900px) rotateX(8deg);
      animation: packFloat 1.8s ease-in-out infinite;
      overflow: hidden;
    }
    .moto-inline-pack::before {
      content: "";
      position: absolute;
      inset: 18px;
      border-radius: 22px;
      border: 1px solid rgba(255,255,255,.08);
      background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 42%);
    }
    .moto-inline-pack::after {
      content: "";
      position: absolute;
      left: 20px;
      right: 20px;
      bottom: 18px;
      height: 66px;
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
      border: 1px solid rgba(255,255,255,.14);
      box-shadow: inset 0 10px 18px rgba(255,255,255,.08);
    }
    .moto-inline-pack-top,
    .moto-inline-pack-bottom {
      position: relative;
      z-index: 1;
      letter-spacing: .24em;
      text-transform: uppercase;
      color: rgba(255,255,255,.78);
      font-size: .72rem;
      font-weight: 700;
    }
    .moto-inline-pack-top {
      padding-top: 24px;
    }
    .moto-inline-pack-logo {
      position: relative;
      z-index: 1;
      margin: 54px auto 54px;
      width: 92px;
      height: 92px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 2rem;
      font-weight: 700;
      color: #eff6ff;
      background: radial-gradient(circle at 30% 30%, #6ea8ff, #2b62eb 62%, #17328d);
      border: 1px solid rgba(255,255,255,.34);
      box-shadow:
        0 14px 24px rgba(37, 99, 235, .34),
        inset 0 1px 10px rgba(255,255,255,.2);
    }
    .moto-inline-chest-card {
      width: 192px;
      height: 278px;
      margin: 6px auto 18px;
    }
    .moto-inline-card-panel .moto-card-hero {
      margin-top: 12px;
    }
    .moto-reveal-modal {
      width: min(780px, 100%);
      max-height: min(90vh, 760px);
      overflow: auto;
      border: 1px solid #dbe5f3;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 28px 70px rgba(15, 23, 42, .24);
      padding: 16px;
      transform: translateY(8px);
      opacity: 0;
      animation: modalIn .22s ease forwards;
    }
    .moto-reveal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 8px;
    }
    .moto-reveal-title {
      margin: 0;
      color: #0f172a;
      font-size: 1.06rem;
    }
    .moto-reveal-summary {
      margin: 0 0 12px;
      color: #475569;
      font-size: .92rem;
    }
    .moto-reveal-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .moto-reveal-grid .drop-item {
      animation-duration: .3s;
    }
    body.theme-dark .moto-opening-modal {
      background: linear-gradient(180deg, rgba(15,23,42,.84), rgba(15,23,42,.64));
      border-color: rgba(148, 163, 184, .16);
    }
    body.theme-dark .moto-inline-panel {
      background:
        radial-gradient(circle at top, rgba(96,165,250,.14), transparent 42%),
        rgba(17,24,39,.94);
      border-color: rgba(148, 163, 184, .16);
    }
    body.theme-dark .moto-page-panel-host .moto-inline-panel {
      background:
        radial-gradient(circle at top, rgba(96,165,250,.18), transparent 42%),
        rgba(17,24,39,.97);
    }
    body.theme-dark .moto-player-banner {
      background: rgba(17,24,39,.94);
      border-color: rgba(148,163,184,.16);
    }
    body.theme-dark .moto-player-head h3,
    body.theme-dark .moto-player-stat strong {
      color: #f8fafc;
    }
    body.theme-dark .moto-player-kicker,
    body.theme-dark .moto-player-sub,
    body.theme-dark .moto-player-stat span {
      color: #cbd5e1;
    }
    body.theme-dark .moto-player-stat {
      background: rgba(15,23,42,.72);
      border-color: rgba(148,163,184,.16);
    }
    body.theme-dark .moto-inline-title {
      color: #f8fafc;
    }
    body.theme-dark .moto-inline-subtitle {
      color: #cbd5e1;
    }
    @keyframes packFloat {
      0%, 100% { transform: perspective(900px) rotateX(8deg) translateY(0) scale(1); }
      50% { transform: perspective(900px) rotateX(10deg) translateY(-10px) scale(1.018); }
    }
    @keyframes packShine {
      0% { transform: translateX(-120%) rotate(12deg); opacity: 0; }
      18% { opacity: .15; }
      48% { opacity: .75; }
      100% { transform: translateX(260%) rotate(12deg); opacity: 0; }
    }
    .moto-card-hero {
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      background: #f8fafc;
      padding: 10px;
      display: grid;
      place-items: center;
      margin-top: 8px;
    }
    .moto-card-hero img {
      width: 100%;
      max-height: 420px;
      object-fit: contain;
      border-radius: 8px;
      background: #fff;
    }
    .moto-card-meta {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      color: #475569;
      font-size: .9rem;
    }
    .moto-card-meta span {
      padding: 4px 8px;
      border-radius: 999px;
      background: #eef2ff;
      border: 1px solid #dbe5f3;
    }
    .moto-card-stats {
      margin-top: 10px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      font-size: .92rem;
      color: #1f2937;
    }
    .moto-card-stats div {
      padding: 6px 10px;
      border-radius: 10px;
      border: 1px solid #dbe5f3;
      background: #f8fafc;
    }
    @keyframes dropIn {
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes chest-wobble {
      from { transform: scale(1.08) rotate(-8deg); }
      to { transform: scale(1.12) rotate(8deg); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes modalIn {
      to { opacity: 1; transform: translateY(0); }
    }
    .landing-patch {
      margin: 14px auto 0;
      width: min(560px, 100%);
      border: 1px solid rgba(242, 180, 198, .28);
      border-radius: 12px;
      padding: 10px 12px;
      background: rgba(255, 255, 255, .03);
      color: #d6d9e4;
      text-align: left;
    }
    .landing-patch a {
      color: #f2b4c6;
      text-decoration: none;
      border-bottom: 1px solid transparent;
    }
    .landing-patch a:hover { border-bottom-color: #f2b4c6; }

    .collection-grid {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    }

    .collection-card {
      background: #ffffff;
      border: 1px solid #dbe5f3;
      border-radius: 10px;
      padding: 10px;
      display: grid;
      gap: 8px;
      box-shadow: none;
    }
    .collection-card.missing {
      opacity: .55;
      filter: grayscale(1);
      border-style: dashed;
      background: #f1f5f9;
    }
    .collection-card.missing .collection-actions {
      display: none;
    }

    .collection-thumb {
      width: 100%;
      height: 140px;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid #cbd5e1;
      background: linear-gradient(135deg, #e2e8f0, #f8fafc);
      display: grid;
      place-items: center;
    }

    .collection-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .collection-placeholder {
      font-weight: 800;
      color: #94a3b8;
      font-size: 2rem;
    }

    .collection-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }

    .collection-name {
      font-weight: 700;
      font-size: .92rem;
      color: #0f172a;
      line-height: 1.2;
    }

    .collection-qty {
      background: #e2e8f0;
      color: #0f172a;
      border-radius: 999px;
      padding: 4px 8px;
      font-size: .78rem;
      font-weight: 700;
      white-space: nowrap;
    }

    .collection-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .collection-badge {
      border-radius: 999px;
      padding: 4px 8px;
      font-size: .7rem;
      font-weight: 700;
      background: #e2e8f0;
      color: #0f172a;
    }

    .collection-badge.category {
      background: #eef2ff;
      color: #1e3a8a;
    }

    .collection-badge.rarity-common { background: #e2e8f0; color: #1f2937; }
    .collection-badge.rarity-rare { background: #bfdbfe; color: #1e3a8a; }
    .collection-badge.rarity-epic { background: #e9d5ff; color: #6b21a8; }
    .collection-badge.rarity-legendary { background: #fef3c7; color: #92400e; }
    .collection-badge.rarity-mythic { background: #fecaca; color: #7f1d1d; }

    .collection-actions {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .drop-history {
      display: grid;
      gap: 8px;
    }

    .drop-history-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      border: 1px solid #dbe5f3;
      border-radius: 10px;
      padding: 8px 10px;
      background: #f8fafc;
    }

    .drop-history-title {
      font-weight: 700;
      color: #0f172a;
      font-size: .9rem;
    }

    .drop-history-sub {
      color: #6b7280;
      font-size: .75rem;
    }

    .drop-history-badges {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
    }

    .drop-history-all {
      margin-top: 10px;
      display: grid;
      gap: 8px;
      max-height: 320px;
      overflow: auto;
    }

    .collection-notebook {
      display: grid;
      gap: 16px;
    }

    .collection-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .collection-tab {
      border: 1px solid #cbd5e1;
      background: #f8fafc;
      color: #0f172a;
      padding: 6px 12px;
      border-radius: 999px;
      font-weight: 700;
      font-size: .78rem;
      cursor: pointer;
      transition: transform .15s ease, background .15s ease;
    }

    .collection-tab:hover { transform: translateY(-1px); }
    .collection-tab.active {
      background: #1e293b;
      color: #f8fafc;
      border-color: #1e293b;
    }

    .collection-pages {
      background: linear-gradient(135deg, #f8fafc, #eef2ff);
      border-radius: 20px;
      padding: 12px;
      border: 1px solid #dbe5f3;
      box-shadow: 0 30px 40px rgba(15, 23, 42, 0.08);
      position: relative;
      overflow: hidden;
    }

    .collection-section {
      border: 1px solid #dbe5f3;
      border-radius: 18px;
      padding: 12px;
      background: linear-gradient(180deg, rgba(255,255,255,0.9), #f8fafc);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
      display: none;
    }

    .collection-section.active {
      display: block;
    }

    .collection-section.flip-in {
      animation: pageFlip .35s ease;
    }

    .collection-section-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
      padding-bottom: 8px;
      border-bottom: 1px dashed #dbe5f3;
    }

    .collection-section-head h4 {
      margin: 0;
      font-size: 1.02rem;
      color: #0f172a;
    }

    .collection-section-sub {
      color: #64748b;
      font-size: .8rem;
      font-weight: 700;
    }

    @keyframes pageFlip {
      from { transform: rotateY(-6deg) translateY(6px); opacity: 0.6; }
      to { transform: rotateY(0deg) translateY(0); opacity: 1; }
    }

    @keyframes bike-pulse {
      0%, 100% { transform: scale(1); opacity: .94; }
      50% { transform: scale(1.05); opacity: 1; }
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    @media (max-width: 920px) {
      .layout { grid-template-columns: 1fr; }
      .grid { grid-template-columns: 1fr; }
      .motodex-grid { grid-template-columns: 1fr; }
      .moto-reveal-grid { grid-template-columns: 1fr; }
      .moto-player-banner { grid-template-columns: 1fr; }
      .moto-player-avatar { width: 76px; height: 76px; }
      .moto-player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .landing-links {
        flex-wrap: wrap;
        gap: 8px;
      }
      .landing-links a { font-size: .92rem; }
      .landing-logo { width: 170px; height: 170px; font-size: 6.7rem; }
    }
    @media (max-width: 640px) {
      .moto-player-grid { grid-template-columns: 1fr; }
    }
