/* Steam Offline Rentals — additions on top of plus.css (.plus-page tokens and .p-* components). */
.plus-page .r-hero { padding: 8px 0 4px; }
.plus-page .r-steps { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.plus-page .r-steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 16px 16px; color: var(--txt); font-size: 14px; line-height: 1.7; }
.plus-page .r-steps li::before { content: attr(data-n); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(243,145,37,.16); color: var(--amber); font: 800 13px 'JetBrains Mono', monospace; margin-inline-end: 10px; }

.plus-page .r-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-top: 14px; }
.plus-page .r-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.plus-page .r-card:hover { border-color: rgba(243,145,37,.45); transform: translateY(-2px); }
.plus-page .r-card.is-out { opacity: .6; }
.plus-page .r-cover { position: relative; aspect-ratio: 460 / 215; background: #0b0b0d; }
.plus-page .r-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.plus-page .r-tag { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(11,11,13,.82); border: 1px solid rgba(52,211,153,.5); color: var(--green); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.plus-page .r-tag.out { border-color: rgba(248,113,113,.5); color: var(--red); }
.plus-page .r-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plus-page .r-body h3 { font-size: 16px; line-height: 1.5; min-height: 48px; }
.plus-page .r-meta { display: flex; justify-content: space-between; align-items: baseline; color: var(--mute); font-size: 13px; }
.plus-page .r-meta b { color: var(--amber); font-size: 18px; }
.plus-page .r-btn { width: 100%; justify-content: center; margin-top: auto; }
.plus-page .r-btn[disabled] { opacity: .5; cursor: not-allowed; }

.plus-page .r-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; color: #fff; font-weight: 700; cursor: pointer; min-height: 44px; }
.plus-page .r-check input { width: 22px; height: 22px; accent-color: #F39125; flex: none; margin-top: 2px; }

.plus-page .r-list { display: grid; gap: 16px; margin-top: 12px; }
.plus-page .r-rental { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.plus-page .r-rental.st-active { border-color: rgba(52,211,153,.4); }
.plus-page .r-rental.st-revoked { border-color: rgba(248,113,113,.4); }
.plus-page .r-rental > header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.plus-page .r-rental > header img { width: 120px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; background: #0b0b0d; }
.plus-page .r-rental > header h3 { font-size: 17px; margin-bottom: 6px; }
.plus-page .r-count { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.plus-page .r-count-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plus-page .r-count-val { font-size: 22px; color: var(--amber); }
.plus-page .r-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 8px; }
.plus-page .r-bar i { display: block; height: 100%; background: linear-gradient(90deg, #34d399, #F39125); border-radius: 99px; }
.plus-page .r-block { margin-bottom: 14px; display: grid; gap: 10px; }
.plus-page .r-creds { display: grid; gap: 12px; }
.plus-page .r-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.4); border-radius: 14px; padding: 14px 16px; }
.plus-page .r-code b { font-size: 34px; letter-spacing: .18em; color: #fff; }
.plus-page .r-help { margin-top: 6px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--txt); }
.plus-page .r-help summary { cursor: pointer; font-weight: 800; color: #fff; min-height: 32px; }
.plus-page .r-help ol { margin: 10px 0 0; padding-inline-start: 22px; line-height: 1.9; }
.plus-page .r-spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.25); border-top-color: #F39125; border-radius: 50%; animation: r-spin .8s linear infinite; vertical-align: -2px; }
@keyframes r-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .plus-page .r-spin { animation: none; } .plus-page .r-card { transition: none; } }
@media (max-width: 520px) { .plus-page .r-rental > header img { width: 88px; height: 42px; } .plus-page .r-code b { font-size: 28px; } }

/* Rented-out games: grey card with the date one comes back; WhatsApp request box */
.plus-page .r-card.is-out { opacity: 1; }
.plus-page .r-card.is-out .r-cover img { filter: grayscale(1) brightness(.7); }
.plus-page .r-card.is-out h3, .plus-page .r-card.is-out .r-meta b { color: var(--mute); }
.plus-page .r-tag.out { border-color: rgba(161,161,170,.5); color: #d4d4d8; }
.plus-page .r-back { margin: 0; font-size: 13px; font-weight: 700; color: var(--amber); display: flex; gap: 8px; align-items: center; }
.plus-page .r-req-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.plus-page .r-req-row input { flex: 1 1 220px; min-height: 44px; font-size: 16px; padding: 0 14px; border-radius: 12px; background: #0b0b0d; border: 1px solid var(--line); color: #fff; }
.plus-page .r-req-row input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Hero + ban notice (Arabic RTL, everything aligned to the start edge) */
/* The site CSS forces direction:ltr on every <header>; the hero and rental card headers belong to the Arabic content. */
.plus-page .r-hero, .plus-page .r-hero *, .plus-page .r-rental > header, .plus-page .r-rental > header * { direction: inherit; }
.plus-page .r-hero, .plus-page .r-ban { text-align: start; }
.plus-page .r-hero .p-h1 { margin: 6px 0 12px; }
.plus-page .r-hero .p-lead { max-width: 64ch; font-size: 16px; }
.plus-page .r-warr { display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; margin: 16px 0 0; padding: 8px 14px; border-radius: 999px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.3); color: #a7f3d0; font-size: 13px; line-height: 1.6; }
.plus-page .r-warr i { color: var(--green); flex: none; }
.plus-page .r-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.plus-page .r-actions .p-btn { min-height: 46px; padding: 10px 20px; font-size: 14px; }
.plus-page .r-steps-h { font-size: 18px; margin: 28px 0 0; }
.plus-page .r-steps { margin: 12px 0 0; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.plus-page .r-steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; font-size: 14px; line-height: 1.8; text-align: start; }
.plus-page .r-steps li::before { margin: 0; flex: none; }
.plus-page .r-ban { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: rgba(248,113,113,.07); border: 1px solid rgba(248,113,113,.4); }
.plus-page .r-ban-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(248,113,113,.15); color: var(--red); font-size: 18px; }
.plus-page .r-ban-body { min-width: 0; flex: 1; }
.plus-page .r-ban h3 { font-size: 17px; color: #fecaca; margin-bottom: 6px; }
.plus-page .r-ban p { margin: 0 0 6px; color: #e5d0d0; font-size: 14px; line-height: 1.8; }
.plus-page .r-ban .r-ban-note { color: var(--mute); font-size: 13px; }
.plus-page .r-ban-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.plus-page .r-ban-act .p-btn { min-height: 44px; padding: 8px 18px; font-size: 14px; }
@media (max-width: 520px) { .plus-page .r-actions .p-btn { flex: 1 1 100%; } .plus-page .r-ban { flex-direction: column; } }
