:root {
  --user-ink: #26244f;
  --user-muted: #77738f;
  --user-brand: #5047d7;
  --user-brand-strong: #3d358f;
  --user-brand-soft: #eeecfb;
  --user-mint: #52c89d;
  --user-line: rgba(84, 76, 145, .14);
  --user-panel: rgba(255, 255, 255, .82);
}

html {
  min-height: 100%;
  background: #efedfb;
}

body.r2-client-page {
  min-height: 100vh;
  margin: 0;
  color: var(--user-ink);
  background:
    radial-gradient(circle at 12% 3%, rgba(198, 242, 224, .78), transparent 28rem),
    radial-gradient(circle at 76% 0%, rgba(216, 210, 255, .84), transparent 33rem),
    radial-gradient(circle at 94% 42%, rgba(189, 235, 219, .58), transparent 25rem),
    linear-gradient(145deg, #fafaff 0%, #f0eefb 61%, #eaf7f2 100%);
  background-attachment: fixed;
}

body.r2-client-page::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(80, 71, 215, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 71, 215, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.r2-client-page button,
.r2-client-page input,
.r2-client-page select {
  font: inherit;
}

.r2-client-page .page-shell {
  min-height: 100vh;
}

.r2-client-page .top-bar {
  position: relative;
  z-index: 20;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 14px clamp(22px, 4vw, 68px);
  border-bottom: 1px solid rgba(82, 75, 134, .10);
  color: var(--user-ink);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 38px rgba(63, 55, 121, .06);
  backdrop-filter: blur(22px);
}

.r2-client-page .top-left,
.r2-client-page .top-right,
.r2-client-page .site-brand,
.r2-client-page .site-brand-copy,
.r2-client-page .user-box,
.r2-client-page .language-picker {
  display: flex;
  align-items: center;
}

.r2-client-page .top-left {
  min-width: 0;
  flex: 1;
  gap: clamp(18px, 3vw, 44px);
}

.r2-client-page .site-brand {
  flex: none;
  gap: 12px;
  color: var(--user-ink);
  text-decoration: none;
}

.r2-client-page .site-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #5047d7, #766ce9);
  box-shadow: 0 11px 24px rgba(80, 71, 215, .25), inset 0 1px 0 rgba(255, 255, 255, .28);
  font-family: ui-serif, Georgia, "Noto Serif SC", "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: .02em;
}

.r2-client-page .site-brand-copy {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.r2-client-page .site-brand-copy strong {
  max-width: 240px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 820;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.r2-client-page .site-brand-copy span {
  color: #918da8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.r2-client-page .rule-btn {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid #e2dfed;
  border-radius: 11px;
  color: #5d5877;
  background: rgba(255, 255, 255, .66);
  font-size: 13px;
  font-weight: 650;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.r2-client-page .rule-btn:hover {
  border-color: #c9c3ee;
  background: #f7f5ff;
  transform: translateY(-1px);
}

.r2-client-page .notice-text {
  min-width: 0;
  max-width: min(34vw, 480px);
  overflow: hidden;
  color: #7b7692;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.r2-client-page .top-right {
  flex: none;
  gap: 10px;
  direction: ltr;
}

.r2-client-page .language-picker {
  height: 42px;
  gap: 7px;
  padding: 0 10px 0 12px;
  border: 1px solid #e0ddeb;
  border-radius: 12px;
  color: #5c5778;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 6px 18px rgba(55, 48, 102, .04);
}

.r2-client-page .language-picker .layui-icon {
  color: var(--user-brand);
  font-size: 16px;
}

.r2-client-page .language-select {
  width: 108px;
  border: 0;
  outline: 0;
  color: #504b6c;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.r2-client-page .language-select option {
  color: #29264d;
  background: #fff;
}

.r2-client-page .language-select:focus-visible {
  outline: 2px solid rgba(80, 71, 215, .24);
  outline-offset: 3px;
}

.r2-client-page .user-box {
  min-height: 42px;
  gap: 9px;
  padding: 4px 12px 4px 5px;
  border-radius: 13px;
  background: var(--user-brand-strong);
  box-shadow: 0 10px 22px rgba(49, 44, 111, .18);
  cursor: pointer;
}

.r2-client-page .avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, .32);
  box-shadow: none;
}

.r2-client-page .avatar.is-guest {
  border-color: transparent;
  background: rgba(255, 255, 255, .14);
  box-shadow: none;
}

.r2-client-page .user-box:hover .avatar {
  transform: none;
  box-shadow: none;
}

.r2-client-page .user-text {
  max-width: 128px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.r2-client-page .wrap {
  width: min(1240px, calc(100% - 40px));
  max-width: none;
  margin: clamp(32px, 5vw, 70px) auto 56px;
  padding: 0;
}

.r2-client-page .hero-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(42px, 6vw, 76px) clamp(24px, 6vw, 84px) clamp(34px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 34px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .91), rgba(250, 249, 255, .74));
  box-shadow: 0 32px 78px rgba(55, 48, 111, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
  text-align: center;
  backdrop-filter: blur(22px);
}

.r2-client-page .hero-panel::before,
.r2-client-page .hero-panel::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.r2-client-page .hero-panel::before {
  width: 640px;
  height: 440px;
  left: 50%;
  top: -210px;
  background: radial-gradient(ellipse, rgba(203, 196, 255, .78), rgba(208, 247, 232, .48) 43%, transparent 72%);
  filter: blur(22px);
  transform: translateX(-50%);
}

.r2-client-page .hero-panel::after {
  width: 280px;
  height: 280px;
  right: -96px;
  bottom: -126px;
  background: rgba(181, 232, 214, .36);
  filter: blur(10px);
}

.r2-client-page .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #dedaf2;
  border-radius: 999px;
  color: #625bd0;
  background: rgba(255, 255, 255, .64);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.r2-client-page .hero-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--user-mint);
  box-shadow: 0 0 0 4px rgba(82, 200, 157, .13);
  content: "";
}

.r2-client-page .hero-title {
  max-width: 900px;
  margin: 22px auto 12px;
  color: #292653;
  font-family: ui-serif, Georgia, "Noto Serif SC", "Noto Serif JP", serif;
  font-size: clamp(38px, 5.3vw, 68px);
  font-weight: 520;
  letter-spacing: -.04em;
  line-height: 1.08;
}

.r2-client-page .hero-subtitle {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--user-muted);
  font-size: 14px;
  line-height: 1.75;
}

.r2-client-page .tag-box {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 16px;
  padding: 5px;
  border: 1px solid #e3e0ee;
  border-radius: 15px;
  background: rgba(255, 255, 255, .66);
  width: max-content;
  max-width: 100%;
}

.r2-client-page .hero-panel .tag-item {
  padding: 10px 15px;
  border-radius: 10px;
  color: #77738e;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  font-size: 12px;
  font-weight: 620;
}

.r2-client-page .hero-panel .tag-item:hover {
  color: #5148c7;
  background: rgba(238, 234, 255, .7);
}

.r2-client-page .hero-panel .tag-item.is-active {
  color: #4c42c7;
  background: #edeaff;
  box-shadow: 0 5px 14px rgba(79, 67, 194, .11);
  transform: none;
}

.r2-client-page .request-form {
  max-width: 1000px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(216, 212, 235, .95);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 20px 42px rgba(73, 63, 135, .12);
}

.r2-client-page .form-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px auto auto;
  gap: 10px;
  margin: 0;
}

.r2-client-page .aurora-field {
  display: flex;
  min-width: 0;
  min-height: 60px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 8px 14px;
  border: 1px solid #e5e2ef;
  border-radius: 13px;
  background: #fbfaff;
  text-align: start;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.r2-client-page .aurora-field:focus-within {
  border-color: rgba(80, 71, 215, .56);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(80, 71, 215, .09);
}

.r2-client-page .aurora-field label {
  color: #9995ab;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.r2-client-page .link-input,
.r2-client-page .code-input {
  width: 100%;
  min-width: 0;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: #3e3a60;
  background: transparent;
  font-size: 13px;
}

.r2-client-page .link-input:focus,
.r2-client-page .code-input:focus {
  box-shadow: none;
}

.r2-client-page .link-input::placeholder,
.r2-client-page .code-input::placeholder {
  color: #aaa7b8;
}

.r2-client-page .submit-btn,
.r2-client-page .reset-btn {
  min-height: 60px;
  padding: 0 22px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 760;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.r2-client-page .submit-btn {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #5047d7, #675ee4);
  box-shadow: 0 12px 24px rgba(79, 70, 214, .23);
}

.r2-client-page .reset-btn {
  border: 1px solid #e0ddec;
  color: #645dc8;
  background: #f8f7fd;
}

.r2-client-page .submit-btn:hover,
.r2-client-page .reset-btn:hover {
  transform: translateY(-1px);
}

.r2-client-page .submit-btn:disabled {
  opacity: .68;
  cursor: wait;
}

.r2-client-page .trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 15px;
  color: #9793aa;
  font-size: 11px;
}

.r2-client-page .trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.r2-client-page .trust-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--user-mint);
  box-shadow: 0 0 0 4px rgba(82, 200, 157, .12);
}

.r2-client-page .history-wrap {
  margin-top: 26px;
  padding: 26px 28px 28px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 25px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 24px 58px rgba(55, 48, 111, .09);
  backdrop-filter: blur(18px);
}

.r2-client-page .history-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 0 0 18px;
  border-bottom: 1px solid #ece9f3;
  color: #34305b;
  font-size: 16px;
  font-weight: 780;
}

.r2-client-page .history-title::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #5d54ce;
  background: #efecff;
  content: "\e60a";
  font-family: layui-icon !important;
  font-size: 16px;
}

.r2-client-page .history-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.r2-client-page .history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 16px 6px;
  border: 0;
  border-bottom: 1px solid #efedf5;
  border-radius: 0;
  background: transparent;
}

.r2-client-page .history-item:last-child {
  border-bottom: 0;
}

.r2-client-page .file-info {
  min-width: 0;
  color: #58536e;
}

.r2-client-page .filename {
  color: #35315b;
  font-weight: 760;
}

.r2-client-page .file-size {
  color: #817b94;
  font-weight: 650;
}

.r2-client-page .history-content {
  color: #918da3;
  font-size: 12px;
}

.r2-client-page .member-result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.r2-client-page .member-result-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #dcd6f2;
  border-radius: 7px;
  color: #69647b;
  background: #faf9fd;
  font-size: 12px;
}

.r2-client-page .member-result-link a {
  color: #6257c9;
  font-weight: 700;
}

.r2-client-page .member-result-link span {
  color: #777287;
}

.r2-client-page .down-area {
  justify-content: flex-end;
}

.r2-client-page .count-text,
.r2-client-page .history-progress-text {
  color: #665ed0;
  font-size: 12px;
}

.r2-client-page .history-progress .layui-progress {
  height: 7px;
  border-radius: 999px;
  background: #e5e1f6;
}

.r2-client-page .history-progress .layui-progress-bar {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #655ce0, #877ef0);
}

.r2-client-page .down-btn,
.r2-client-page .del-btn {
  min-width: 82px;
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
}

.r2-client-page .down-btn {
  border-color: var(--user-brand);
  color: #fff;
  background: var(--user-brand);
}

.r2-client-page .del-btn {
  border-color: #e2dfeb;
  color: #8c879d;
  background: #fff;
}

.r2-client-page .history-empty {
  padding: 30px 18px;
  border: 1px dashed #dcd7ed;
  border-radius: 15px;
  color: #8d89a0;
  background: rgba(249, 248, 253, .75);
  text-align: center;
}

.r2-client-page .history-pager {
  margin-top: 18px;
}

.r2-client-page .history-pager .layui-laypage a,
.r2-client-page .history-pager .layui-laypage span {
  border-radius: 8px;
}

.r2-client-page .history-pager .layui-laypage-curr .layui-laypage-em {
  border-radius: 8px;
  background: var(--user-brand);
}

.r2-client-page .mask {
  background: rgba(32, 28, 74, .38);
  backdrop-filter: blur(10px);
}

.r2-client-page .rule-box {
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 30px 80px rgba(36, 31, 83, .22);
}

.r2-client-page .close-rule {
  border-radius: 11px;
  background: var(--user-brand);
}

.hero-auth-layer.layui-layer {
  border: 1px solid rgba(255, 255, 255, .9) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 30px 80px rgba(39, 33, 88, .22) !important;
  backdrop-filter: blur(22px);
}

.hero-auth-layer .login-card,
.hero-auth-layer .register-card,
.hero-auth-layer .forgot-card {
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(213, 207, 255, .5), transparent 33%),
    linear-gradient(180deg, #fff, #faf9ff);
}

.hero-auth-layer .login-submit,
.hero-auth-layer .register-submit,
.hero-auth-layer .forgot-submit,
.hero-auth-layer .forgot-result-button {
  border-radius: 12px;
  background: linear-gradient(135deg, #5047d7, #675ee4);
  box-shadow: 0 12px 24px rgba(79, 70, 214, .2);
}

.hero-auth-layer input:focus {
  border-color: rgba(80, 71, 215, .62) !important;
  box-shadow: 0 0 0 4px rgba(80, 71, 215, .09) !important;
}

.hero-auth-layer .register-requirements {
  color: #a3acba;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .005em;
}

.hero-auth-layer .register-error {
  color: #a65059;
  background: rgba(255, 243, 245, .72);
}

html[dir="rtl"] .r2-client-page .site-brand-copy,
html[dir="rtl"] .r2-client-page .aurora-field,
html[dir="rtl"] .r2-client-page .file-info {
  text-align: start;
}

@media (max-width: 1040px) {
  .r2-client-page .top-bar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .r2-client-page .top-left {
    width: 100%;
    flex-basis: 100%;
  }

  .r2-client-page .notice-text {
    max-width: none;
    flex: 1;
  }

  .r2-client-page .top-right {
    margin-inline-start: auto;
  }

  .r2-client-page .form-row {
    grid-template-columns: minmax(260px, 1fr) 170px;
  }

  .r2-client-page .submit-btn,
  .r2-client-page .reset-btn {
    min-height: 48px;
  }
}

@media (max-width: 700px) {
  .r2-client-page .top-bar {
    gap: 12px;
    padding: 12px 14px;
  }

  .r2-client-page .top-left {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .r2-client-page .site-brand-copy strong {
    max-width: 150px;
  }

  .r2-client-page .rule-btn {
    justify-self: end;
  }

  .r2-client-page .notice-text {
    grid-column: 1 / -1;
    max-width: 100%;
    white-space: normal;
  }

  .r2-client-page .top-right {
    width: 100%;
    justify-content: space-between;
  }

  .r2-client-page .language-picker {
    min-width: 0;
    flex: 1;
  }

  .r2-client-page .language-select {
    width: 100%;
  }

  .r2-client-page .user-box {
    max-width: 48%;
  }

  .r2-client-page .wrap {
    width: min(100% - 24px, 1240px);
    margin-top: 22px;
  }

  .r2-client-page .hero-panel {
    padding: 38px 14px 24px;
    border-radius: 24px;
  }

  .r2-client-page .hero-title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .r2-client-page .hero-subtitle {
    padding: 0 8px;
    font-size: 13px;
  }

  .r2-client-page .tag-box {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .r2-client-page .hero-panel .tag-item {
    flex: none;
  }

  .r2-client-page .request-form {
    padding: 10px;
    border-radius: 17px;
  }

  .r2-client-page .form-row {
    grid-template-columns: 1fr;
  }

  .r2-client-page .aurora-field,
  .r2-client-page .submit-btn,
  .r2-client-page .reset-btn {
    width: 100%;
  }

  .r2-client-page .trust-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 0 8px;
    text-align: start;
  }

  .r2-client-page .history-wrap {
    padding: 20px 16px;
    border-radius: 21px;
  }

  .r2-client-page .history-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .r2-client-page .down-area {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .r2-client-page *,
  .hero-auth-layer * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Confirmed public-home direction: quiet lavender, task first, no process chrome. */
:root {
  --user-ink: #292653;
  --user-muted: #7d7892;
  --user-brand: #5b4fe9;
  --user-brand-strong: #5146d8;
  --user-brand-soft: #f1efff;
  --user-line: #e8e5f2;
  --user-panel: #fff;
}

html {
  background: #f7f6ff;
}

body.r2-client-page {
  background: #f7f6ff;
  background-attachment: initial;
}

body.r2-client-page::before,
.r2-client-page .hero-panel::before,
.r2-client-page .hero-panel::after {
  display: none;
}

.r2-client-page .top-bar {
  min-height: 86px;
  padding: 14px clamp(24px, 4vw, 58px);
  border-bottom-color: #ebe8f3;
  background: #fff;
  box-shadow: 0 8px 26px rgba(74, 64, 137, .06);
  backdrop-filter: none;
}

.r2-client-page .top-left {
  gap: clamp(18px, 2.7vw, 40px);
}

.r2-client-page .site-brand {
  gap: 13px;
}

.r2-client-page .site-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #5b4fe9;
  box-shadow: 0 9px 20px rgba(91, 79, 233, .22);
}

.r2-client-page .site-brand-copy {
  justify-content: center;
}

.r2-client-page .site-brand-copy strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .01em;
}

.r2-client-page .rule-btn {
  min-height: 42px;
  padding: 0 17px;
  border-color: #e4e1ee;
  border-radius: 11px;
  background: #fff;
}

.r2-client-page .notice-text {
  color: #716c86;
  font-size: 13px;
}

.r2-client-page .language-picker {
  height: 44px;
  border-color: #e3e0ed;
  background: #fff;
  box-shadow: none;
}

.r2-client-page .user-box {
  min-height: 44px;
  border-radius: 11px;
  background: var(--user-brand);
  box-shadow: 0 9px 20px rgba(91, 79, 233, .2);
}

.r2-client-page .wrap {
  width: min(1272px, calc(100% - 48px));
  margin: 68px auto 56px;
}

.r2-client-page .hero-panel {
  display: flex;
  min-height: 438px;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
  border: 1px solid #e4e1ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(67, 57, 127, .055);
  text-align: center;
  backdrop-filter: none;
}

.r2-client-page .hero-eyebrow,
.r2-client-page .hero-title,
.r2-client-page .hero-subtitle,
.r2-client-page .trust-line,
.r2-client-page .count-text,
.r2-client-page .history-progress {
  display: none !important;
}

.r2-client-page .tag-box {
  gap: 0;
  margin: 0 auto 38px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e0ddea;
  border-radius: 12px;
  background: #fff;
}

.r2-client-page .hero-panel .tag-item {
  min-width: 132px;
  padding: 13px 22px;
  border-right: 1px solid #e7e4ee;
  border-radius: 0;
  color: #716d82;
  background: #fff;
  font-size: 14px;
  font-weight: 650;
}

.r2-client-page .hero-panel .tag-item:last-child {
  border-right: 0;
}

.r2-client-page .hero-panel .tag-item:hover {
  color: #5549d8;
  background: #f8f7ff;
}

.r2-client-page .hero-panel .tag-item.is-active {
  color: #574be1;
  background: #f5f3ff;
  box-shadow: inset 0 0 0 1px #7468f0;
}

.r2-client-page .request-form {
  width: 100%;
  max-width: 1140px;
  padding: 18px;
  border-color: #dfdceb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(73, 63, 135, .07);
}

@media (min-width: 1041px) {
  .r2-client-page .tag-box,
  .r2-client-page .request-form {
    position: relative;
    top: 18px;
  }
}

.r2-client-page .form-row {
  grid-template-columns: minmax(300px, 1fr) 260px 144px 102px;
  gap: 12px;
}

.r2-client-page .aurora-field {
  min-height: 80px;
  gap: 7px;
  padding: 11px 17px;
  border-color: #e7e4ef;
  border-radius: 13px;
  background: #fdfcff;
}

.r2-client-page .aurora-field label {
  color: #8d889d;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.r2-client-page .link-input,
.r2-client-page .code-input {
  height: 30px;
  color: #353154;
  font-size: 14px;
}

.r2-client-page .submit-btn,
.r2-client-page .reset-btn {
  min-height: 80px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 14px;
}

.r2-client-page .submit-btn {
  background: var(--user-brand);
  box-shadow: 0 10px 22px rgba(91, 79, 233, .18);
}

.r2-client-page .reset-btn {
  border-color: #e2dfeb;
  color: #4d4767;
  background: #fff;
}

.r2-client-page .history-wrap {
  margin-top: 24px;
  padding: 25px 26px 26px;
  border-color: #e4e1ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(67, 57, 127, .05);
  backdrop-filter: none;
}

.r2-client-page .history-title {
  margin-bottom: 0;
  padding-bottom: 19px;
  color: #332f5b;
  font-size: 17px;
}

.r2-client-page .history-item {
  min-height: 76px;
  padding: 17px 8px;
  border-bottom-color: #eeebf4;
}

.r2-client-page .filename {
  color: #35315b;
  font-weight: 720;
}

.r2-client-page .history-content {
  color: #827d94;
  font-size: 13px;
}

.r2-client-page .down-area {
  min-width: 188px;
  gap: 12px;
}

.r2-client-page .down-btn,
.r2-client-page .del-btn {
  min-width: 72px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}

.r2-client-page .down-btn {
  border: 1px solid #8e84f5;
  color: #5b4fe9;
  background: #fff;
}

.r2-client-page .down-btn:hover {
  color: #fff;
  background: #5b4fe9;
}

.r2-client-page .del-btn {
  border: 1px solid #f1a8b1;
  color: #e45c6c;
}

.r2-client-page .del-btn:hover {
  border-color: #e97582;
  color: #d84657;
  background: #fff7f8;
}

@media (max-width: 1040px) {
  .r2-client-page .hero-panel {
    min-height: 0;
    padding: 48px 32px;
  }

  .r2-client-page .form-row {
    grid-template-columns: minmax(240px, 1fr) 190px;
  }

  .r2-client-page .submit-btn,
  .r2-client-page .reset-btn {
    min-height: 56px;
  }
}

@media (max-width: 700px) {
  .r2-client-page .top-left {
    order: 1;
    grid-template-columns: 1fr auto;
  }

  .r2-client-page .site-brand {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    justify-self: start;
  }

  .r2-client-page .rule-btn {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .r2-client-page .notice-text {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }

  .r2-client-page .top-right {
    order: 2;
  }

  .r2-client-page .wrap {
    width: min(100% - 24px, 1272px);
    margin-top: 22px;
  }

  .r2-client-page .hero-panel {
    padding: 30px 14px 24px;
    border-radius: 22px;
  }

  .r2-client-page .tag-box {
    width: 100%;
    margin-bottom: 22px;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .r2-client-page .hero-panel .tag-item {
    min-width: 120px;
  }

  .r2-client-page .request-form {
    padding: 10px;
    border-radius: 17px;
  }

  .r2-client-page .form-row {
    grid-template-columns: 1fr;
  }

  .r2-client-page .aurora-field,
  .r2-client-page .submit-btn,
  .r2-client-page .reset-btn {
    min-height: 60px;
  }

  .r2-client-page .history-wrap {
    padding: 20px 16px;
    border-radius: 21px;
  }

  .r2-client-page .history-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .r2-client-page .down-area {
    min-width: 0;
    justify-content: flex-end;
  }
}

/* Approved public-home build: open lavender canvas, static service marks, silent energy states. */
:root {
  --user-ink: #262349;
  --user-muted: #77718f;
  --user-brand: #8d76d8;
  --user-brand-strong: #7f68cd;
  --user-brand-soft: #f3effd;
  --user-line: #e8e4f1;
  --energy-purple: #8268dc;
}

body.r2-client-page {
  min-height: 100vh;
  color: var(--user-ink);
  background: #fff;
}

.r2-client-page .page-shell {
  min-height: 100vh;
  background: #fff;
}

.privilege-energy-overlay {
  position: fixed;
  inset: 2px;
  z-index: 19890000;
  overflow: hidden;
  border: 2px solid rgba(88, 198, 255, .98);
  border-radius: 3px;
  box-shadow:
    inset 0 0 8px 2px rgba(193, 246, 255, .98),
    inset 0 0 24px 4px rgba(54, 170, 255, .66),
    inset 0 0 52px 7px rgba(38, 126, 255, .24),
    0 0 12px 2px rgba(54, 178, 255, .72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  contain: strict;
  will-change: opacity;
}

body.privilege-energy-active .privilege-energy-overlay {
  visibility: visible;
  animation: privilege-energy-frame .8s ease-out both;
}

.privilege-energy-sweep {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: #d8f8ff;
  box-shadow:
    0 0 5px 2px rgba(191, 244, 255, .98),
    0 0 13px 5px rgba(67, 190, 255, .9),
    0 0 28px 9px rgba(38, 126, 255, .46);
  opacity: 0;
  will-change: transform, opacity;
}

.privilege-energy-sweep-top,
.privilege-energy-sweep-bottom {
  width: clamp(150px, 22vw, 360px);
  height: 3px;
}

.privilege-energy-sweep-left,
.privilege-energy-sweep-right {
  width: 3px;
  height: clamp(120px, 22vh, 300px);
}

.privilege-energy-sweep-top {
  top: 0;
  left: min(-360px, -22vw);
}

.privilege-energy-sweep-right {
  top: min(-300px, -22vh);
  right: 0;
}

.privilege-energy-sweep-bottom {
  right: min(-360px, -22vw);
  bottom: 0;
}

.privilege-energy-sweep-left {
  bottom: min(-300px, -22vh);
  left: 0;
}

body.privilege-energy-active .privilege-energy-sweep-top {
  animation: privilege-energy-top .8s linear both;
}

body.privilege-energy-active .privilege-energy-sweep-right {
  animation: privilege-energy-right .8s linear both;
}

body.privilege-energy-active .privilege-energy-sweep-bottom {
  animation: privilege-energy-bottom .8s linear both;
}

body.privilege-energy-active .privilege-energy-sweep-left {
  animation: privilege-energy-left .8s linear both;
}

@keyframes privilege-energy-frame {
  0% {
    opacity: 0;
  }
  12% {
    opacity: .96;
  }
  62% {
    opacity: .82;
  }
  100% {
    opacity: 0;
  }
}

@keyframes privilege-energy-top {
  0% { opacity: 0; transform: translate3d(0, 0, 0); }
  4% { opacity: 1; }
  31% { opacity: 1; transform: translate3d(calc(100vw + 720px), 0, 0); }
  32%, 100% { opacity: 0; transform: translate3d(calc(100vw + 720px), 0, 0); }
}

@keyframes privilege-energy-right {
  0%, 23% { opacity: 0; transform: translate3d(0, 0, 0); }
  27% { opacity: 1; }
  54% { opacity: 1; transform: translate3d(0, calc(100vh + 600px), 0); }
  55%, 100% { opacity: 0; transform: translate3d(0, calc(100vh + 600px), 0); }
}

@keyframes privilege-energy-bottom {
  0%, 46% { opacity: 0; transform: translate3d(0, 0, 0); }
  50% { opacity: 1; }
  77% { opacity: 1; transform: translate3d(calc(-100vw - 720px), 0, 0); }
  78%, 100% { opacity: 0; transform: translate3d(calc(-100vw - 720px), 0, 0); }
}

@keyframes privilege-energy-left {
  0%, 69% { opacity: 0; transform: translate3d(0, 0, 0); }
  73% { opacity: 1; }
  98% { opacity: 1; transform: translate3d(0, calc(-100vh - 600px), 0); }
  100% { opacity: 0; transform: translate3d(0, calc(-100vh - 600px), 0); }
}

.r2-client-page .top-bar {
  min-height: 86px;
  padding: 14px clamp(28px, 3.7vw, 58px);
  border-bottom: 1px solid #ebe7f2;
  color: var(--user-ink);
  background: #fff;
  box-shadow: none;
}

.r2-client-page .site-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #fff;
  background: #7057d6;
  box-shadow: 0 8px 18px rgba(112, 87, 214, .18);
}

.r2-client-page .site-brand-copy strong {
  color: #282449;
  font-size: 21px;
  letter-spacing: .025em;
}

.r2-client-page .rule-btn {
  min-height: 42px;
  padding: 0 17px;
  border: 0;
  color: #5d5774;
  background: transparent;
}

.r2-client-page .rule-btn:hover {
  color: #6f58cc;
  background: #f6f2fd;
}

.r2-client-page .notice-text {
  max-width: min(34vw, 460px);
  color: #8c879e;
}

.r2-client-page .language-picker,
.r2-client-page .user-box {
  min-height: 44px;
  border: 1px solid #e1ddec;
  border-radius: 11px;
  color: #5d5774;
  background: #fff;
  box-shadow: none;
}

.r2-client-page .user-box {
  padding-inline-end: 13px;
}

.r2-client-page .user-text {
  color: #5d5774;
}

.r2-client-page .avatar,
.r2-client-page .avatar.is-guest {
  color: #fff;
  background: #8d76d8;
  border-color: transparent;
  box-shadow: none;
}

.r2-client-page .wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.r2-client-page .hero-panel {
  display: flex;
  min-height: 510px;
  align-items: stretch;
  justify-content: center;
  padding: 78px clamp(32px, 4.2vw, 66px) 48px;
  border: 0;
  border-bottom: 1px solid #e6e0f0;
  border-radius: 0;
  background: #f5f0fc;
  box-shadow: none;
  text-align: center;
}

.r2-client-page .supported-disk-title {
  margin-bottom: 30px;
  color: #585173;
  font-size: 14px;
  font-weight: 650;
}

.r2-client-page .tag-box {
  display: grid;
  width: min(980px, 100%);
  max-width: 980px;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: clamp(16px, 2.5vw, 38px);
  margin: 0 auto 54px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}

.r2-client-page .hero-panel .tag-item,
.r2-client-page .hero-panel .tag-item.is-active,
.r2-client-page .hero-panel .tag-item:hover {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #716b8c;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  cursor: default;
  font-size: 12px;
  font-weight: 550;
}

.r2-client-page .hero-panel .tag-item .layui-icon {
  color: #8e87ad;
  font-size: 31px;
  line-height: 1;
}

.r2-client-page .request-form {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid #ded9e9;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 24px rgba(81, 66, 132, .045);
}

.r2-client-page .link-safety-note {
  display: flex;
  width: 100%;
  max-width: 1320px;
  align-items: center;
  gap: 8px;
  margin: 17px auto 0;
  color: #756da6;
  font-size: 12px;
  line-height: 1.5;
  text-align: start;
}

.r2-client-page .link-safety-note .layui-icon {
  flex: none;
  color: #7464d3;
  font-size: 16px;
}

@media (min-width: 1041px) {
  .r2-client-page .tag-box,
  .r2-client-page .request-form {
    position: static;
    top: auto;
  }
}

.r2-client-page .form-row {
  grid-template-columns: minmax(340px, 1fr) 300px 148px 112px;
  gap: 14px;
}

.r2-client-page .aurora-field {
  min-height: 88px;
  padding: 14px 18px;
  border-color: #e2ddea;
  border-radius: 12px;
  background: #fff;
}

.r2-client-page .aurora-field:focus-within {
  border-color: rgba(141, 118, 216, .62);
  box-shadow: 0 0 0 4px rgba(141, 118, 216, .09);
}

.r2-client-page .aurora-field.has-error,
.r2-client-page .aurora-field.has-warning {
  border-color: rgba(164, 93, 180, .72);
  background: #fffaff;
  box-shadow: 0 0 0 4px rgba(151, 92, 188, .10);
}

.r2-client-page .aurora-field-error {
  display: none;
  color: #884d91;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.r2-client-page .aurora-field.has-error .aurora-field-error,
.r2-client-page .aurora-field.has-warning .aurora-field-error {
  display: block;
}

.r2-client-page .aurora-field label {
  color: #4e4968;
  font-size: 13px;
  font-weight: 650;
}

.r2-client-page .link-input,
.r2-client-page .code-input {
  color: #3a3556;
  font-size: 14px;
}

.r2-client-page .submit-btn,
.r2-client-page .reset-btn {
  min-height: 88px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.r2-client-page .submit-btn {
  color: #fff;
  background: #8d76d8;
}

.r2-client-page .submit-btn:hover {
  background: #826bd0;
}

.r2-client-page .reset-btn {
  border-color: #ddd8e8;
  color: #4f4968;
  background: #fff;
}

.r2-client-page .history-wrap {
  width: min(1360px, calc(100% - 80px));
  margin: 0 auto;
  padding: 36px 0 44px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.r2-client-page .history-title {
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 0;
  color: #2d294d;
  font-size: 18px;
  font-weight: 760;
}

.r2-client-page .history-title::before {
  display: none;
}

.r2-client-page .history-item {
  min-height: 70px;
  padding: 18px 8px;
  gap: 28px;
  border-bottom: 1px solid #e9e6ef;
}

.r2-client-page .file-info {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.r2-client-page .filename,
.r2-client-page .history-content {
  color: #48425f;
  font-size: 13px;
}

.r2-client-page .filename {
  font-weight: 700;
}

.r2-client-page .history-content {
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.r2-client-page .down-area {
  min-width: 330px;
  flex-wrap: nowrap;
  gap: 14px;
}

.r2-client-page .fallback-countdown {
  display: inline-flex;
  min-width: 154px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: #6d6688;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.r2-client-page .fallback-countdown .layui-icon {
  color: #8271cf;
  font-size: 15px;
}

.r2-client-page .fallback-countdown-value {
  min-width: 58px;
  color: #514a70;
  font-weight: 650;
  text-align: start;
}

.r2-client-page .member-verification-pending {
  display: inline-flex;
  max-width: 230px;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: #756d87;
  font-size: 12px;
  line-height: 1.35;
  text-align: end;
}

.r2-client-page .member-verification-pending .layui-icon {
  flex: 0 0 auto;
  color: #8a7ca7;
  font-size: 15px;
}

.r2-client-page .energy-charge {
  display: inline-flex;
  min-width: 250px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  direction: ltr;
}

.r2-client-page .energy-track {
  display: block;
  width: 190px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e6f1;
}

.r2-client-page .energy-fill {
  display: block;
  width: var(--energy-level, 1%);
  height: 100%;
  border-radius: inherit;
  transition: width .62s cubic-bezier(.2, .75, .22, 1), filter .24s ease, opacity .24s ease;
  animation: energy-flow 1.25s ease-in-out infinite alternate;
}

.r2-client-page .energy-purple .energy-fill {
  background: var(--energy-purple);
  box-shadow: 0 0 11px rgba(130, 104, 220, .42);
}

.r2-client-page .energy-percent {
  width: 40px;
  color: #514a6e;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.r2-client-page .energy-charge.is-completing .energy-fill {
  animation: energy-complete .52s ease-out both;
}

@keyframes energy-flow {
  from { filter: brightness(.92); }
  to { filter: brightness(1.18); }
}

@keyframes energy-complete {
  0% { filter: brightness(1); opacity: 1; }
  55% { filter: brightness(1.55); opacity: 1; }
  100% { filter: brightness(1.18); opacity: .88; }
}

.r2-client-page .down-btn,
.r2-client-page .del-btn {
  display: none;
  min-width: 74px;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  color: #6359cc;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 620;
}

.r2-client-page .down-btn.show,
.r2-client-page .del-btn {
  display: inline-flex;
}

.r2-client-page .down-btn:hover,
.r2-client-page .del-btn:hover {
  color: #5547c7;
  background: #f4f1fd;
}

.r2-client-page .del-btn {
  color: #746e8c;
}

.r2-client-page .down-btn .layui-icon,
.r2-client-page .del-btn .layui-icon {
  font-size: 17px;
}

.r2-client-page .energy-download-enter {
  animation: energy-download-enter .32s ease-out both;
}

@keyframes energy-download-enter {
  from { opacity: 0; transform: translateX(6px); }
  to { opacity: 1; transform: translateX(0); }
}

/* The controls stay compact, while a long announcement gets a full-width row. */
.r2-client-page .top-bar {
  display: block;
  padding-block: 12px;
}

.r2-client-page .top-main {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.r2-client-page .top-main .top-left {
  width: auto;
  flex: 1;
  flex-basis: auto;
}

.r2-client-page .top-main .top-right {
  width: auto;
  flex: none;
}

.r2-client-page .notice-row {
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f0edf5;
  text-align: start;
}

.r2-client-page .notice-text {
  display: block;
  max-width: none;
  overflow: visible;
  color: #7c768f;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: pre-wrap;
}

/* Information remains together on the left; only status and actions stay right. */
.r2-client-page .file-info {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  gap: 7px;
  overflow: visible;
  text-align: start;
  white-space: normal;
}

.r2-client-page .history-meta-row,
.r2-client-page .history-source-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: baseline;
  justify-content: flex-start;
  text-align: start;
}

.r2-client-page .history-meta-row {
  flex-wrap: wrap;
  gap: 7px 10px;
}

.r2-client-page .history-meta-row .filename {
  display: inline;
  min-width: 0;
  overflow-wrap: anywhere;
}

.r2-client-page .history-meta-row .file-size {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
}

.r2-client-page .history-meta-row.has-file-name .file-size::before {
  color: #c0bbcc;
  content: "·";
}

.r2-client-page .history-content {
  display: block;
  width: 100%;
  overflow: visible;
  color: #918da3;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.r2-client-page .history-extract-code {
  display: inline-block;
  margin-inline-start: 10px;
  color: #756f89;
  white-space: nowrap;
}

.r2-client-page .member-result-links {
  width: 100%;
  justify-content: flex-start;
}

.r2-client-page .down-area {
  align-self: center;
  justify-content: flex-end;
}

@media (max-width: 1040px) {
  .r2-client-page .hero-panel {
    min-height: 0;
    padding: 56px 28px 40px;
  }

  .r2-client-page .tag-box {
    margin-bottom: 40px;
  }

  .r2-client-page .form-row {
    grid-template-columns: minmax(240px, 1fr) 190px;
  }

  .r2-client-page .submit-btn,
  .r2-client-page .reset-btn {
    min-height: 58px;
  }

  .r2-client-page .history-wrap {
    width: min(100% - 48px, 1360px);
  }
}

@media (max-width: 700px) {
  .r2-client-page .top-bar {
    padding: 12px 14px;
  }

  .r2-client-page .top-main {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .r2-client-page .top-main .top-left,
  .r2-client-page .top-main .top-right {
    width: 100%;
  }

  .r2-client-page .top-main .top-left {
    display: flex;
    justify-content: space-between;
  }

  .r2-client-page .notice-text {
    max-width: 100%;
  }

  .r2-client-page .hero-panel {
    padding: 40px 14px 28px;
  }

  .r2-client-page .supported-disk-title {
    margin-bottom: 22px;
  }

  .r2-client-page .tag-box {
    display: grid;
    width: 100%;
    grid-auto-columns: 90px;
    grid-auto-flow: column;
    grid-template-columns: none;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 30px;
    overflow-x: auto;
  }

  .r2-client-page .request-form {
    padding: 10px;
  }

  .r2-client-page .link-safety-note {
    align-items: flex-start;
    margin-top: 14px;
    padding: 0 4px;
    font-size: 11px;
  }

  .r2-client-page .form-row {
    grid-template-columns: 1fr;
  }

  .r2-client-page .aurora-field,
  .r2-client-page .submit-btn,
  .r2-client-page .reset-btn {
    min-height: 60px;
  }

  .r2-client-page .history-wrap {
    width: min(100% - 28px, 1360px);
    padding-top: 28px;
  }

  .r2-client-page .history-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .r2-client-page .file-info {
    white-space: normal;
  }

  .r2-client-page .history-content {
    display: inline;
    white-space: normal;
    word-break: break-all;
  }

  .r2-client-page .down-area {
    width: 100%;
    min-width: 0;
    justify-content: flex-end;
  }

  .r2-client-page .energy-charge {
    min-width: 0;
    flex: 1;
  }

  .r2-client-page .fallback-countdown {
    min-width: 0;
    flex: 1;
  }

  .r2-client-page .energy-track {
    width: min(190px, 100%);
  }
}

/* Gentle motion polish. These hooks are intentionally separate from the
   member privilege frame and transfer energy animations below. */
.r2-client-page .page-shell.r2-auth-session-settle {
  animation: r2-auth-session-settle .22s cubic-bezier(.22, .61, .36, 1) both;
}

.r2-client-page .user-box {
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.r2-client-page .user-box.r2-auth-trigger-settle {
  animation: r2-auth-trigger-settle .26s ease-out both;
}

.r2-client-page .aurora-field {
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.r2-client-page .aurora-field:focus-within {
  border-color: rgba(141, 118, 216, .52);
  box-shadow: 0 0 0 2px rgba(141, 118, 216, .055);
}

.r2-client-page .submit-btn,
.r2-client-page .reset-btn,
.r2-client-page .down-btn,
.hero-auth-layer .login-submit,
.account-action-layer .account-action-btn,
.account-action-layer .account-close-btn,
.account-action-layer .account-change-btn {
  transition:
    transform .16s cubic-bezier(.22, .61, .36, 1),
    filter .16s ease,
    box-shadow .16s ease,
    background-color .16s ease,
    border-color .16s ease;
}

.r2-client-page .submit-btn:active:not(:disabled),
.r2-client-page .reset-btn:active:not(:disabled),
.r2-client-page .down-btn:active,
.hero-auth-layer .login-submit:active:not(:disabled),
.account-action-layer .account-action-btn:active:not(:disabled),
.account-action-layer .account-close-btn:active:not(:disabled),
.account-action-layer .account-change-btn:active:not(:disabled) {
  transform: translateY(1px) scale(.995);
  filter: brightness(.985);
  transition-duration: .08s;
}

.hero-auth-layer input:focus {
  box-shadow: 0 0 0 2px rgba(141, 118, 216, .06) !important;
}

.hero-auth-layer.r2-auth-layer-enter .login-card {
  animation: r2-auth-dialog-enter .18s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-auth-layer.r2-auth-layer-leave,
.hero-auth-layer.r2-register-layer-leave,
.account-action-layer.r2-account-layer-leave {
  pointer-events: none;
}

.hero-auth-layer.r2-auth-layer-leave .login-card {
  animation: r2-auth-dialog-leave .16s cubic-bezier(.4, 0, 1, 1) both;
}

.hero-auth-layer.r2-register-layer-enter .register-card {
  animation: r2-register-dialog-enter .18s cubic-bezier(.22, .61, .36, 1) both;
}

.hero-auth-layer.r2-register-layer-leave .register-card {
  animation: r2-register-dialog-leave .16s cubic-bezier(.4, 0, 1, 1) both;
}

.account-action-layer.r2-account-layer-enter .account-action-panel {
  animation: r2-account-dialog-enter .18s cubic-bezier(.22, .61, .36, 1) both;
}

.account-action-layer.r2-account-layer-leave .account-action-panel {
  animation: r2-account-dialog-leave .16s cubic-bezier(.4, 0, 1, 1) both;
}

.windfiles-mirror-layer {
  overflow: hidden !important;
  border: 1px solid rgba(29, 33, 39, .55);
  border-radius: 10px !important;
  background: #17191d !important;
  box-shadow: 0 28px 80px rgba(12, 14, 18, .36) !important;
}

.windfiles-mirror-layer .layui-layer-content {
  height: 100% !important;
  overflow: hidden !important;
  background: #e4e5e7;
}

.windfiles-mirror-layer .layui-layer-close {
  top: 17px !important;
  right: 18px !important;
  z-index: 8;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  color: #d7dade;
  background: rgba(255, 255, 255, .08) none !important;
  filter: none;
  font-size: 0;
}

.windfiles-mirror-layer .layui-layer-close::before {
  content: "×";
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
}

.windfiles-mirror-shell {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  color: #25282d;
  background: #e4e5e7;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.windfiles-mirror-header {
  height: 62px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 58px 0 20px;
  color: #e7e9ec;
  background: #1d2025;
  border-bottom: 1px solid #353940;
}

.windfiles-mirror-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .13em;
}

.windfiles-mirror-brand > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid #71767e;
  border-radius: 5px;
  color: #f5f6f7;
  background: #30343a;
  font-size: 15px;
  font-weight: 800;
}

.windfiles-mirror-brand > b {
  font-size: 12px;
  font-weight: 700;
}

.windfiles-mirror-header nav {
  height: 100%;
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.windfiles-mirror-header nav button {
  position: relative;
  min-width: 62px;
  padding: 0 10px;
  border: 0;
  color: #92979f;
  background: transparent;
  font-size: 12px;
}

.windfiles-mirror-header nav button:nth-child(2) {
  color: #e3e5e8;
}

.windfiles-mirror-header nav button:nth-child(2)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background: #b9bdc3;
}

.windfiles-mirror-tools {
  display: flex;
  gap: 7px;
  margin-left: auto;
}

.windfiles-mirror-tools span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #737981;
}

.windfiles-mirror-body {
  min-height: 0;
  flex: 1;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
}

.windfiles-mirror-sidebar {
  display: flex;
  flex-direction: column;
  padding: 20px 12px;
  background: #d7d8da;
  border-right: 1px solid #c5c7ca;
}

.windfiles-mirror-sidebar > button {
  height: 39px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  color: #777b81;
  background: transparent;
  text-align: left;
  font-size: 12px;
}

.windfiles-mirror-sidebar > button.is-active {
  color: #30343a;
  background: #c7c9cc;
  box-shadow: inset 3px 0 0 #5f646b;
}

.windfiles-mirror-sidebar > button i {
  width: 17px;
  color: #666b72;
}

.windfiles-mirror-side-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 9px 2px;
  color: #757980;
  border-top: 1px solid #c3c5c8;
  font-size: 10px;
  letter-spacing: .03em;
}

.windfiles-mirror-main {
  min-width: 0;
  overflow: auto;
  padding: 24px 28px 20px;
  background:
    linear-gradient(rgba(255,255,255,.36), rgba(255,255,255,.36)),
    repeating-linear-gradient(0deg, rgba(38,41,46,.025) 0, rgba(38,41,46,.025) 1px, transparent 1px, transparent 25px),
    #e1e2e4;
}

.windfiles-mirror-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: #7c8086;
  font-size: 11px;
}

.windfiles-mirror-breadcrumb b {
  color: #383c42;
  font-weight: 600;
}

.windfiles-mirror-file {
  min-height: 94px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 17px 19px;
  border: 1px solid #bfc2c6;
  border-radius: 7px;
  background: rgba(242, 243, 244, .82);
  box-shadow: 0 8px 22px rgba(37, 40, 45, .07);
}

.windfiles-mirror-file-icon {
  width: 46px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #50545b;
  border: 1px solid #b5b8bc;
  border-radius: 5px;
  background: #d7d9dc;
}

.windfiles-mirror-file-icon i {
  font-size: 24px;
}

.windfiles-mirror-file-copy {
  min-width: 0;
}

.windfiles-mirror-file-copy h2 {
  overflow: hidden;
  color: #292d32;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.windfiles-mirror-file-copy p {
  margin-top: 5px;
  color: #7a7e84;
  font-size: 11px;
}

.windfiles-mirror-ready {
  padding: 5px 8px;
  color: #4a4f55;
  border: 1px solid #aeb2b7;
  border-radius: 3px;
  background: #d9dbde;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
}

.windfiles-mirror-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 23px 0 11px;
}

.windfiles-mirror-section-title > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.windfiles-mirror-section-title b {
  color: #34383e;
  font-size: 12px;
}

.windfiles-mirror-section-title span {
  color: #878b91;
  font-size: 9px;
  letter-spacing: .06em;
}

.windfiles-mirror-download {
  width: 100%;
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  padding: 0 18px 0 14px;
  color: #34383d;
  border: 1px solid #aeb2b7;
  border-radius: 6px;
  background: rgba(246, 247, 248, .82);
  cursor: pointer;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.windfiles-mirror-download:hover:not(:disabled),
.windfiles-mirror-download:focus-visible:not(:disabled) {
  border-color: #686d74;
  background: #f8f9fa;
  box-shadow: 0 5px 14px rgba(35, 38, 43, .09);
  transform: translateY(-1px);
  outline: 0;
}

.windfiles-mirror-download:disabled {
  cursor: default;
  opacity: .58;
}

.windfiles-mirror-download.is-loading {
  opacity: 1;
  border-color: #62676e;
  background: #eceeef;
}

.windfiles-mirror-download-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #b3b6ba;
  border-radius: 5px;
  color: #666a70;
  background: #dcdde0;
}

.windfiles-mirror-download-icon i {
  font-size: 21px;
}

.windfiles-mirror-download-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.windfiles-mirror-download-copy b {
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.windfiles-mirror-download-copy small {
  color: #8a8e94;
  font-size: 10px;
}

.windfiles-mirror-download > i {
  color: #656a71;
  font-size: 15px;
}

.windfiles-mirror-footer {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: #85898f;
  font-size: 9px;
}

@media (max-width: 560px) {
  .windfiles-mirror-header {
    gap: 12px;
    padding-left: 14px;
  }

  .windfiles-mirror-header nav,
  .windfiles-mirror-tools,
  .windfiles-mirror-sidebar {
    display: none;
  }

  .windfiles-mirror-body {
    display: block;
  }

  .windfiles-mirror-main {
    height: 100%;
    padding: 18px 14px;
  }

  .windfiles-mirror-file {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px;
  }

  .windfiles-mirror-file-icon {
    width: 40px;
    height: 46px;
  }

  .windfiles-mirror-ready {
    display: none;
  }

}

@keyframes r2-auth-session-settle {
  from { opacity: .98; }
  to { opacity: 1; }
}

@keyframes r2-auth-trigger-settle {
  0% { box-shadow: 0 0 0 0 rgba(141, 118, 216, 0); }
  38% { box-shadow: 0 0 0 2px rgba(141, 118, 216, .10); }
  100% { box-shadow: 0 0 0 4px rgba(141, 118, 216, 0); }
}

@keyframes r2-auth-dialog-enter {
  from { opacity: .94; filter: blur(1px); transform: translateY(2px) scale(.992); }
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes r2-auth-dialog-leave {
  from { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
  to { opacity: 0; filter: blur(1px); transform: translateY(-2px) scale(.988); }
}

@keyframes r2-register-dialog-enter {
  from { opacity: .94; filter: blur(1px); transform: translateY(2px) scale(.992); }
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

@keyframes r2-register-dialog-leave {
  from { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
  to { opacity: 0; filter: blur(1px); transform: translateY(-2px) scale(.988); }
}

@keyframes r2-account-dialog-enter {
  from { opacity: .96; transform: translateY(-2px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes r2-account-dialog-leave {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  body.privilege-energy-active .privilege-energy-overlay,
  body.privilege-energy-active .privilege-energy-sweep {
    animation-duration: .8s !important;
    animation-iteration-count: 1 !important;
  }

  .r2-client-page .energy-fill,
  .r2-client-page .energy-charge.is-completing .energy-fill,
  .r2-client-page .energy-download-enter {
    animation: none;
  }

  .r2-client-page .page-shell.r2-auth-session-settle,
  .r2-client-page .user-box.r2-auth-trigger-settle,
  .hero-auth-layer.r2-auth-layer-enter .login-card,
  .hero-auth-layer.r2-auth-layer-leave .login-card,
  .hero-auth-layer.r2-register-layer-enter .register-card,
  .hero-auth-layer.r2-register-layer-leave .register-card,
  .account-action-layer.r2-account-layer-enter .account-action-panel,
  .account-action-layer.r2-account-layer-leave .account-action-panel {
    animation: none;
  }
}
