/* RoyaltyTube V1: the Royal look. Loaded after rt.css on every Royal page.
   Black, metallic gold, deep purple; one stylesheet, no images. */
:root {
  --rt-bg: #09060d;
  --rt-bg-raised: #140c1e;
  --rt-bg-sunk: #05030a;
  --rt-line: #2c1d40;
  --rt-line-strong: #4b2f6b;
  --rt-text: #f5ecd6;
  --rt-text-dim: #c9b993;
  --rt-text-faint: #8a7a5c;
  --rt-accent: #f2c94c;
  --rt-accent-bright: #fff3b0;
  --rt-accent-deep: #a8741a;
  --rt-accent-sunk: rgba(242, 201, 76, .12);
  --ry-metal: linear-gradient(135deg, #fff3b0 0%, #f2c94c 28%, #a8741a 52%, #f7dc7a 74%, #b9851f 100%);
  --ry-purple: #4b1d7a;
}
body { background: radial-gradient(1200px 600px at 50% -200px, #2a1446 0%, var(--rt-bg) 60%) fixed, var(--rt-bg); }

.ry-wrap { max-width: var(--rt-maxw, 1180px); margin: 0 auto; padding: 0 16px; }
.ry-hero { padding: 48px 0 24px; text-align: center; }
.ry-hero__crest { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a1d5e, #120b1a); box-shadow: 0 0 0 2px #f2c94c, 0 0 40px rgba(242,201,76,.35); }
.ry-hero h1 { margin: 18px 0 8px; font: 900 clamp(30px, 6vw, 56px)/1.05 var(--rt-sans); letter-spacing: .02em;
  background: var(--ry-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ry-hero p { margin: 0 auto; max-width: 640px; color: var(--rt-text-dim); font-size: 17px; }
.ry-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }

.ry-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px;
  font: 800 13px/1 var(--rt-sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  color: #1a1024; background: var(--ry-metal); border: 1px solid #6b4a0c; box-shadow: 0 2px 0 #6b4a0c, 0 0 16px rgba(242,201,76,.3); }
.ry-btn--ghost { color: var(--rt-accent); background: transparent; border-color: rgba(242,201,76,.6); box-shadow: none; }
.ry-btn:disabled { filter: grayscale(.6) brightness(.7); cursor: not-allowed; }

.ry-section { margin: 28px 0; }
.ry-section__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ry-section__head h2 { margin: 0; font: 900 14px/1.2 var(--rt-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rt-accent); }
.ry-section__head .grow { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(242,201,76,.5), transparent); }

.ry-panel { background: radial-gradient(120% 140% at 0% 0%, #2a1446 0%, #120b1a 55%, #0b0710 100%); border-radius: 14px; padding: 18px;
  box-shadow: 0 0 0 1px rgba(242,201,76,.5), 0 0 22px rgba(242,201,76,.12) inset; }

.ry-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ry-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; text-decoration: none; color: inherit;
  background: linear-gradient(160deg, #1d0f2e, #0d0814); box-shadow: 0 0 0 1px rgba(242,201,76,.35); transition: box-shadow .2s, transform .2s; }
.ry-card:hover { box-shadow: 0 0 0 1px #f2c94c, 0 0 22px rgba(242,201,76,.3); transform: translateY(-1px); }
.ry-card__name { font-weight: 800; font-size: 16px; }
.ry-card__stats { display: flex; gap: 12px; font-size: 12px; color: var(--rt-text-dim); margin-top: 4px; }
.ry-card__stats b { color: var(--rt-accent); }

.ry-avatar { border-radius: 50%; object-fit: cover; border: 2px solid #f2c94c; background: #23123a; flex: none; }
.ry-avatar--blank { display: inline-grid; place-items: center; color: #f2c94c; font-weight: 900; font-size: 22px; }
.ry-title { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font: 800 11px/1.6 var(--rt-sans); letter-spacing: .1em;
  color: #f2c94c; background: #120b1a; border: 1px solid #f2c94c; }

.ry-profile { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .ry-profile { grid-template-columns: 300px 1fr; } }
.ry-profile__id { text-align: center; }
.ry-profile__id .ry-avatar { width: 140px; height: 140px; border-width: 3px; box-shadow: 0 0 30px rgba(242,201,76,.35); }
.ry-profile__name { font: 900 26px/1.1 var(--rt-sans); margin: 12px 0 6px; }
.ry-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ry-stat { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(242,201,76,.25); }
.ry-stat b { display: block; font-size: 22px; color: var(--rt-accent); }
.ry-stat span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--rt-text-dim); }

.ry-items { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ry-item { display: block; text-decoration: none; color: inherit; border-radius: 12px; overflow: hidden; background: #120b1a; box-shadow: 0 0 0 1px rgba(242,201,76,.3); }
.ry-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #1d0f2e; }
.ry-item div { padding: 8px 10px; font-size: 13px; font-weight: 700; }
.ry-item small { display: block; color: var(--rt-text-dim); font-weight: 500; }

.ry-product { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .ry-product { grid-template-columns: 220px 1fr; } }
.ry-product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #1d0f2e; }
.ry-price { font: 900 26px/1 var(--rt-sans); color: var(--rt-accent); }
.ry-entitlement { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; margin: 8px 0;
  background: #120b1a; border: 1px solid #f2c94c; color: #f2c94c; font: 800 12px/1.4 var(--rt-sans); letter-spacing: .08em; }
.ry-dim { color: var(--rt-text-dim); font-size: 13px; }
.ry-empty { text-align: center; padding: 28px; color: var(--rt-text-dim); }
.ry-status { padding: 24px 0; color: var(--rt-text-dim); }
