:root {
  --ecr-ink: #111a2e;
  --ecr-muted: #647087;
  --ecr-blue: #2563eb;
  --ecr-blue-dark: #1e4fc1;
  --ecr-navy: #0d1738;
  --ecr-line: #e1e7f0;
  --ecr-bg: #f6f8fc;
  --ecr-amber: #f4b52e;
  --ecr-green: #128366;
  --ecr-red: #bd3948;
}

.ecr-section, .ecr-dialog, .ecr-profile-review, .ecr-admin-drawer, .ecr-admin-trigger, .ecr-toast { box-sizing: border-box; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ecr-section *, .ecr-dialog *, .ecr-profile-review *, .ecr-admin-drawer * { box-sizing: border-box; }
.ecr-section { position: relative; overflow: clip; contain: paint; padding: 88px 24px; color: #fff; background: var(--ecr-navy); }
.ecr-section::after { content: ""; position: absolute; right: -220px; top: -250px; width: 620px; height: 620px; border: 1px solid rgba(112,145,255,.13); border-radius: 50%; box-shadow: 0 0 0 85px rgba(112,145,255,.025), 0 0 0 170px rgba(112,145,255,.02); pointer-events: none; }
.ecr-shell { position: relative; z-index: 1; width: min(1120px, 100%); margin: 0 auto; }
.ecr-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.ecr-kicker { display: block; margin-bottom: 10px; color: #8eabff; font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.ecr-heading h2 { max-width: 690px; margin: 0; color: #fff; font-size: clamp(34px, 4.3vw, 56px); line-height: 1.02; letter-spacing: -.055em; }
.ecr-heading p { max-width: 670px; margin: 17px 0 0; color: #aeb9d1; font-size: 15px; line-height: 1.65; }
.ecr-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-size: 13px; font-weight: 760; transition: transform .16s ease, background .16s ease, border .16s ease; }
.ecr-button:hover { transform: translateY(-1px); }
.ecr-button:focus-visible, .ecr-tab:focus-visible, .ecr-stars button:focus-visible, .ecr-icon-button:focus-visible, .ecr-status:focus-visible, .ecr-admin-action:focus-visible, .ecr-admin-invite button:focus-visible, .ecr-admin-invite input:focus-visible { outline: 3px solid rgba(100,145,255,.4); outline-offset: 3px; }
.ecr-button-light { flex: none; color: var(--ecr-navy); background: #fff; }
.ecr-button-primary { color: #fff; background: var(--ecr-blue); }
.ecr-button-primary:hover { background: var(--ecr-blue-dark); }
.ecr-button:disabled { cursor: wait; opacity: .65; transform: none; }
.ecr-button-ghost { color: var(--ecr-ink); border-color: var(--ecr-line); background: #fff; }
.ecr-tabs { width: fit-content; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 38px; padding: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.055); }
.ecr-tab { min-width: 235px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 0; border-radius: 11px; color: #b9c4da; background: transparent; text-align: left; cursor: pointer; }
.ecr-tab[aria-selected="true"] { color: var(--ecr-navy); background: #fff; }
.ecr-tab-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: none; border-radius: 9px; color: #fff; background: var(--ecr-blue); font-size: 10px; font-weight: 850; }
.ecr-tab-icon.game { background: var(--ecr-navy); }
.ecr-tab span:last-child { display: grid; }
.ecr-tab b { font-size: 12px; }
.ecr-tab small { opacity: .65; font-size: 9px; }
.ecr-board { display: grid; grid-template-columns: 230px 1fr; gap: 16px; margin-top: 18px; }
.ecr-score { position: relative; min-height: 310px; display: flex; flex-direction: column; overflow: hidden; padding: 19px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); }
.ecr-score::before { content: "AV • 001 • EC"; position: absolute; right: -13px; bottom: 38px; color: rgba(255,255,255,.035); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; font-weight: 800; letter-spacing: .08em; transform: rotate(-90deg); }
.ecr-score-head { display: flex; align-items: center; gap: 11px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ecr-score-head > div:last-child { display: grid; gap: 2px; }
.ecr-score-head small { color: #7f91b8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.ecr-score-head b { font-size: 12px; letter-spacing: -.01em; }
.ecr-balance-icon { position: relative; width: 54px; height: 32px; flex: none; color: #9bb3ff; }
.ecr-balance-icon::before { content: ""; position: absolute; left: 29px; top: 2px; width: 4px; height: 29px; border-radius: 4px; background: currentColor; }
.ecr-balance-icon::after { content: ""; position: absolute; left: 16px; bottom: 3px; width: 31px; height: 4px; border-radius: 5px; background: currentColor; }
.ecr-balance-icon i { position: absolute; left: 8px; top: 8px; width: 46px; height: 3px; border-radius: 3px; background: currentColor; }
.ecr-balance-icon span { position: absolute; top: 8px; width: 20px; height: 16px; border-right: 1px solid currentColor; border-bottom: 3px solid currentColor; border-left: 1px solid currentColor; border-radius: 0 0 12px 12px; }
.ecr-balance-icon span:first-of-type { left: 0; }
.ecr-balance-icon span:last-of-type { right: 0; }
.ecr-score-value { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 4px; margin-top: 18px; }
.ecr-score-value > span { grid-column: 1/-1; color: #91a0c0; font-size: 8px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.ecr-score strong { font-size: 55px; line-height: .94; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.ecr-score-value em { margin-bottom: 7px; color: #7483a4; font-size: 11px; font-style: normal; font-weight: 750; }
.ecr-star-line { color: var(--ecr-amber); letter-spacing: 2px; }
.ecr-score > .ecr-star-line { margin-top: 10px; font-size: 16px; }
.ecr-score-control { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin-top: 16px; padding: 11px 0; border-top: 1px dashed rgba(255,255,255,.13); border-bottom: 1px dashed rgba(255,255,255,.13); }
.ecr-score-control span { color: #7f8eae; font-size: 8px; }
.ecr-score-control p, .ecr-score-control b { margin: 0; color: #c4cee2; font-size: 8px; font-weight: 780; text-align: right; }
.ecr-score-control b { color: #7dd7b8; text-transform: uppercase; }
.ecr-verified { align-self: start; margin-top: 14px; padding: 6px 9px; border: 1px solid rgba(74,204,158,.14); border-radius: 7px; color: #bfe3d6; background: rgba(48,183,138,.08); font-size: 8px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ecr-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.ecr-card { position: relative; min-width: 0; min-height: 310px; display: flex; flex-direction: column; overflow: hidden; padding: 0 21px 19px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; color: var(--ecr-ink); background: #fff; }
.ecr-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--ecr-blue) 0 52%, var(--ecr-green) 52% 100%); }
.ecr-document-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -21px 15px; padding: 12px 17px 12px 24px; border-bottom: 1px solid #dfe5ee; background: #f7f9fc; }
.ecr-document-meta { display: grid; gap: 3px; min-width: 0; }
.ecr-document-meta span { color: #6b7790; font-size: 7px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.ecr-document-meta b { overflow: hidden; color: #25314a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.ecr-approval-stamp { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border: 1px solid #9ed9c4; border-radius: 5px; color: #0e765b; background: #f0faf6; transform: rotate(-1.5deg); }
.ecr-approval-stamp i { width: 14px; height: 14px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ecr-green); font-size: 8px; font-style: normal; }
.ecr-approval-stamp b { font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.ecr-card-top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 10px; padding: 0 0 13px; border-bottom: 1px dashed #d4dce8; }
.ecr-score-label { color: #778399; font-size: 7px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.ecr-card-top > .ecr-star-line { grid-column: 1; font-size: 16px; }
.ecr-card-score { grid-column: 2; grid-row: 1/3; display: flex; align-items: baseline; gap: 3px; color: #1d2941; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.ecr-card-score b { font-size: 24px; line-height: 1; }
.ecr-card-score small { color: #8390a6; font-size: 8px; }
.ecr-card h3 { margin: 16px 0 7px; color: var(--ecr-ink); font-size: 15px; line-height: 1.25; }
.ecr-card blockquote { flex: 1; margin: 0; color: var(--ecr-muted); font-size: 12px; line-height: 1.65; }
.ecr-featured { padding: 4px 7px; border-radius: 7px; color: #7b5b13; background: #fff3d3; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.ecr-author { display: flex; align-items: center; gap: 9px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ecr-line); }
.ecr-avatar { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ecr-blue); font-size: 10px; font-weight: 800; }
.ecr-author span:last-child { display: grid; }
.ecr-author b { font-size: 11px; }
.ecr-author small { color: #7c879a; font-size: 9px; }
.ecr-visa { margin-left: auto; padding: 5px 7px; border: 1px solid #d8e0ec; border-radius: 5px; color: #7f8ba0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 7px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ecr-empty { grid-column: 1/-1; min-height: 270px; display: grid; place-items: center; padding: 30px; border: 1px dashed rgba(255,255,255,.2); border-radius: 18px; color: #b0bbd1; text-align: center; }

.ecr-dialog {
  position: fixed;
  inset: 0;
  width: min(620px, calc(100% - 24px));
  max-width: 620px;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 20px;
  color: var(--ecr-ink);
  background: #fff;
  box-shadow: 0 30px 100px rgba(3,9,24,.35);
}
.ecr-dialog::backdrop { background: rgba(5,11,27,.68); backdrop-filter: blur(5px); }
.ecr-dialog form { padding: 27px; }
.ecr-dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 22px; }
.ecr-dialog h2 { margin: 4px 0 0; font-size: 29px; letter-spacing: -.045em; }
.ecr-dialog .ecr-kicker { color: var(--ecr-blue); }
.ecr-icon-button { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border: 1px solid var(--ecr-line); border-radius: 10px; color: var(--ecr-muted); background: #fff; cursor: pointer; font-size: 22px; }
.ecr-field { display: grid; gap: 6px; margin-bottom: 15px; }
.ecr-field label, .ecr-rating legend { color: #303a4e; font-size: 11px; font-weight: 750; }
.ecr-field input, .ecr-field select, .ecr-field textarea { width: 100%; border: 1px solid #dce2ec; border-radius: 10px; color: var(--ecr-ink); background: #fbfcfe; }
.ecr-field input, .ecr-field select { height: 44px; padding: 0 12px; }
.ecr-field textarea { min-height: 110px; padding: 11px 12px; resize: vertical; }
.ecr-field input:focus, .ecr-field select:focus, .ecr-field textarea:focus { border-color: var(--ecr-blue); box-shadow: 0 0 0 4px rgba(37,99,235,.09); outline: 0; }
.ecr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.ecr-rating { margin: 0 0 16px; padding: 0; border: 0; }
.ecr-stars { display: flex; gap: 3px; margin-top: 5px; }
.ecr-stars button { padding: 0 2px; border: 0; color: #d5dbe6; background: transparent; cursor: pointer; font-size: 28px; line-height: 1; }
.ecr-stars button.selected { color: var(--ecr-amber); }
.ecr-consent { display: grid; grid-template-columns: 17px 1fr; gap: 9px; align-items: start; color: var(--ecr-muted); font-size: 10px; line-height: 1.5; }
.ecr-consent input { width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--ecr-blue); }
.ecr-form-error { margin-top: 12px; padding: 9px 11px; border: 1px solid #efc8ce; border-radius: 9px; color: #a72d3a; background: #fff5f6; font-size: 10px; }
.ecr-dialog-actions { display: flex; justify-content: end; gap: 8px; margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--ecr-line); }

.ecr-profile-review { margin-top: 24px; overflow: hidden; border: 1px solid var(--ecr-line); border-radius: 16px; color: var(--ecr-ink); background: #fff; }
.ecr-profile-review-head { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding: 22px 24px; border-bottom: 1px solid var(--ecr-line); }
.ecr-profile-review .ecr-kicker { margin-bottom: 6px; color: var(--ecr-blue); }
.ecr-profile-review h3 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.ecr-profile-review-head p { max-width: 650px; margin: 8px 0 0; color: var(--ecr-muted); font-size: 12px; line-height: 1.6; }
.ecr-profile-shield { flex: none; padding: 7px 10px; border-radius: 999px; color: #0d6c53; background: #eaf7f2; font-size: 10px; font-weight: 750; }
.ecr-profile-review-list { display: grid; }
.ecr-profile-option { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 18px 24px; }
.ecr-profile-option + .ecr-profile-option { border-top: 1px solid var(--ecr-line); }
.ecr-profile-option-copy { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ecr-profile-option h4 { width: 100%; margin: 0; font-size: 14px; }
.ecr-profile-option p { width: 100%; margin: 0; color: var(--ecr-muted); font-size: 11px; line-height: 1.5; }
.ecr-own-status { padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 780; }
.ecr-own-status.empty { color: #657087; background: #f1f4f8; }
.ecr-own-status.pending { color: #805d12; background: #fff4d5; }
.ecr-own-status.approved { color: #0d6c53; background: #eaf7f2; }
.ecr-own-status.rejected, .ecr-own-status.hidden { color: #a32e3c; background: #fff0f2; }
.ecr-own-rating { color: var(--ecr-amber); font-size: 13px; letter-spacing: 1px; }
.ecr-profile-loading, .ecr-profile-error { margin: 0; padding: 20px 24px; color: var(--ecr-muted); font-size: 11px; }
.ecr-profile-error { color: var(--ecr-red); }

.ecr-admin-trigger { position: fixed; right: 18px; bottom: 18px; z-index: 2147483000; min-height: 46px; display: none; align-items: center; gap: 9px; padding: 0 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 13px; color: #fff; background: var(--ecr-navy); box-shadow: 0 14px 40px rgba(5,12,30,.28); cursor: pointer; font-size: 12px; font-weight: 780; }
.ecr-admin-trigger.visible { display: flex; }
.ecr-admin-count { min-width: 21px; height: 21px; display: grid; place-items: center; padding: 0 5px; border-radius: 20px; color: #fff; background: var(--ecr-red); font-size: 10px; }
.ecr-admin-drawer { position: fixed; inset: 0 0 0 auto; z-index: 2147483100; width: min(620px, 100%); display: none; flex-direction: column; color: var(--ecr-ink); background: var(--ecr-bg); box-shadow: -20px 0 70px rgba(5,12,30,.25); }
.ecr-admin-drawer.open { display: flex; }
.ecr-admin-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 25px; border-bottom: 1px solid var(--ecr-line); background: #fff; }
.ecr-admin-head h2 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.04em; }
.ecr-admin-head .ecr-kicker { color: var(--ecr-blue); }
.ecr-admin-invite { display: grid; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--ecr-line); background: #fff; }
.ecr-admin-invite h3 { margin: 0; color: var(--ecr-ink); font-size: 13px; }
.ecr-admin-invite p { margin: 4px 0 0; color: var(--ecr-muted); font-size: 10px; line-height: 1.5; }
.ecr-admin-invite-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.ecr-admin-invite-actions button, .ecr-admin-invite-output button { min-height: 36px; padding: 0 11px; border: 1px solid #cedcff; border-radius: 9px; color: var(--ecr-blue-dark); background: #edf3ff; cursor: pointer; font-size: 9px; font-weight: 780; }
.ecr-admin-invite-actions button:disabled { cursor: wait; opacity: .65; }
.ecr-admin-invite-output { display: grid; gap: 6px; padding-top: 3px; }
.ecr-admin-invite-output label { color: #303a4e; font-size: 9px; font-weight: 750; }
.ecr-admin-invite-output > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 7px; }
.ecr-admin-invite-output input { min-width: 0; height: 36px; padding: 0 9px; border: 1px solid var(--ecr-line); border-radius: 9px; color: var(--ecr-muted); background: #f9fbfe; font-size: 9px; }
.ecr-admin-statuses { display: flex; gap: 4px; padding: 12px 20px; overflow-x: auto; border-bottom: 1px solid var(--ecr-line); background: #fff; }
.ecr-admin-help { margin: 14px 18px 0; padding: 11px 13px; border: 1px solid #d8e3ff; border-radius: 10px; color: #41516f; background: #f4f7ff; font-size: 10px; line-height: 1.55; }
.ecr-admin-help strong { color: var(--ecr-blue-dark); }
.ecr-status { flex: none; padding: 8px 11px; border: 1px solid transparent; border-radius: 9px; color: var(--ecr-muted); background: transparent; cursor: pointer; font-size: 10px; font-weight: 750; }
.ecr-status.active { color: var(--ecr-blue-dark); border-color: #cedcff; background: #edf3ff; }
.ecr-admin-list { display: grid; gap: 10px; padding: 18px; overflow-y: auto; }
.ecr-admin-card { padding: 17px; border: 1px solid var(--ecr-line); border-radius: 14px; background: #fff; }
.ecr-admin-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--ecr-muted); font-size: 9px; }
.ecr-admin-card h3 { margin: 10px 0 5px; font-size: 14px; }
.ecr-admin-card p { margin: 0; color: var(--ecr-muted); font-size: 11px; line-height: 1.6; }
.ecr-admin-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ecr-line); }
.ecr-admin-action { min-height: 34px; padding: 0 10px; border: 1px solid var(--ecr-line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 9px; font-weight: 780; }
.ecr-admin-action.approve { color: #fff; border-color: var(--ecr-green); background: var(--ecr-green); }
.ecr-admin-action.reject { color: var(--ecr-red); border-color: #efcbd0; background: #fff5f6; }
.ecr-toast { position: fixed; right: 18px; bottom: 76px; z-index: 2147483200; max-width: 340px; padding: 11px 14px; border-radius: 10px; color: #fff; background: var(--ecr-navy); box-shadow: 0 12px 36px rgba(5,12,30,.28); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .18s ease; }
.ecr-toast.visible { opacity: 1; transform: translateY(0); }

.ecr-invite-page { min-height: 100vh; margin: 0; color: var(--ecr-ink); background: var(--ecr-bg); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ecr-invite-page [hidden], .ecr-admin-drawer [hidden] { display: none !important; }
.ecr-invite-page *, .ecr-invite-page *::before, .ecr-invite-page *::after { box-sizing: border-box; }
.ecr-invite-header { height: 74px; display: flex; align-items: center; padding: 0 clamp(18px, 4vw, 56px); border-bottom: 1px solid var(--ecr-line); background: rgba(255,255,255,.93); }
.ecr-invite-header a { display: inline-flex; align-items: center; gap: 10px; color: var(--ecr-ink); text-decoration: none; }
.ecr-invite-header a > span:last-child { display: grid; }
.ecr-invite-header strong { font-size: 13px; }
.ecr-invite-header small { margin-top: 1px; color: var(--ecr-muted); font-size: 8px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.ecr-invite-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--ecr-blue); font-size: 10px; font-weight: 850; }
.ecr-invite-main { width: min(1120px, calc(100% - 36px)); min-height: calc(100vh - 132px); display: grid; grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr); align-items: center; gap: clamp(38px, 7vw, 96px); margin: 0 auto; padding: 56px 0; }
.ecr-invite-intro { max-width: 470px; }
.ecr-invite-intro .ecr-kicker, .ecr-invite-form-head .ecr-kicker { color: var(--ecr-blue); }
.ecr-invite-intro h1 { margin: 10px 0 18px; color: var(--ecr-navy); font-size: clamp(42px, 5.2vw, 68px); line-height: .98; letter-spacing: -.06em; }
.ecr-invite-intro > p { margin: 0; color: var(--ecr-muted); font-size: 15px; line-height: 1.7; }
.ecr-invite-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.ecr-invite-trust span { padding: 7px 10px; border: 1px solid #d7e0ed; border-radius: 999px; color: #40506b; background: rgba(255,255,255,.7); font-size: 9px; font-weight: 750; }
.ecr-invite-panel { min-height: 560px; overflow: hidden; border: 1px solid var(--ecr-line); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(13,23,56,.10); }
.ecr-invite-panel form { padding: clamp(23px, 4vw, 36px); }
.ecr-invite-form-head { margin-bottom: 24px; }
.ecr-invite-form-head h2 { margin: 5px 0 7px; font-size: 29px; letter-spacing: -.045em; }
.ecr-invite-form-head p { margin: 0; color: var(--ecr-muted); font-size: 11px; }
.ecr-review-choice { margin: 0 0 22px; padding: 0; border: 0; }
.ecr-review-choice > legend { margin-bottom: 10px; color: var(--ecr-ink); font-size: 10px; font-weight: 780; }
.ecr-review-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ecr-review-choice-grid label { position: relative; cursor: pointer; }
.ecr-review-choice-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ecr-review-choice-card { min-height: 86px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px; border: 1px solid var(--ecr-line); border-radius: 13px; background: #fbfcff; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.ecr-review-choice-card b { display: flex; align-items: center; gap: 7px; color: var(--ecr-navy); font-size: 10px; line-height: 1.25; }
.ecr-review-choice-card small { color: var(--ecr-muted); font-size: 8px; line-height: 1.35; }
.ecr-review-choice-grid label:hover .ecr-review-choice-card { transform: translateY(-1px); border-color: #b8c9f6; }
.ecr-review-choice-grid input:checked + .ecr-review-choice-card { border-color: var(--ecr-blue); background: #f3f7ff; box-shadow: 0 0 0 3px rgba(37,99,235,.10); }
.ecr-review-choice-grid input:focus-visible + .ecr-review-choice-card { outline: 3px solid rgba(37,99,235,.28); outline-offset: 2px; }
.ecr-choice-icon { width: 25px; height: 25px; flex: none; display: inline-grid; place-items: center; border-radius: 8px; color: #fff; background: var(--ecr-blue); font-size: 7px; font-weight: 850; }
.ecr-choice-icon.game { background: var(--ecr-navy); }
.ecr-choice-icon.both { background: linear-gradient(135deg, var(--ecr-blue) 0 50%, var(--ecr-navy) 50%); }
.ecr-invite-name { margin-bottom: 16px; }
.ecr-review-block { margin: 0 0 16px; padding: 18px; border: 1px solid #dce4f2; border-radius: 15px; background: #fbfcff; }
.ecr-review-block-head { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.ecr-review-block-head h3 { margin: 0 0 3px; color: var(--ecr-navy); font-size: 14px; letter-spacing: -.02em; }
.ecr-review-block-head p { margin: 0; color: var(--ecr-muted); font-size: 9px; }
.ecr-review-block .ecr-rating { margin-bottom: 12px; }
.ecr-review-block .ecr-field { margin-bottom: 11px; }
.ecr-review-block .ecr-field:last-child { margin-bottom: 0; }
.ecr-review-block textarea { min-height: 112px; }
.ecr-invite-page input, .ecr-invite-page textarea, .ecr-invite-page button { font: inherit; }
.ecr-invite-submit { width: 100%; margin-top: 20px; }
.ecr-invite-state { min-height: 560px; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 42px; color: var(--ecr-muted); text-align: center; }
.ecr-invite-state h2 { margin: 0; color: var(--ecr-navy); font-size: 27px; letter-spacing: -.04em; }
.ecr-invite-state p { max-width: 390px; margin: 0; font-size: 12px; line-height: 1.65; }
.ecr-invite-state.error h2 { color: #8f2735; }
.ecr-success-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--ecr-green); font-size: 22px; font-weight: 850; }
.ecr-invite-state .ecr-button { margin-top: 8px; text-decoration: none; }
.ecr-invite-footer { min-height: 58px; display: grid; place-items: center; padding: 16px; border-top: 1px solid var(--ecr-line); color: var(--ecr-muted); background: #fff; font-size: 9px; text-align: center; }

@media (max-width: 900px) {
  .ecr-board { grid-template-columns: 1fr; }
  .ecr-score { min-height: auto; display: grid; grid-template-columns: minmax(175px,1fr) auto minmax(170px,1fr); grid-template-rows: auto auto; align-items: center; gap: 5px 22px; }
  .ecr-score strong { font-size: 46px; }
  .ecr-score-head { grid-column: 1; grid-row: 1; align-self: stretch; }
  .ecr-score-value { grid-column: 2; grid-row: 1; margin: 0; }
  .ecr-score > .ecr-star-line { grid-column: 2; grid-row: 2; margin: 0; }
  .ecr-score-control { grid-column: 3; grid-row: 1/3; width: 100%; margin: 0; }
  .ecr-score .ecr-verified { grid-column: 1; grid-row: 2; margin: 0; }
  .ecr-list { grid-template-columns: repeat(3, minmax(220px,1fr)); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .ecr-card { scroll-snap-align: start; }
  .ecr-invite-main { grid-template-columns: 1fr; align-items: start; }
  .ecr-invite-intro { max-width: 650px; }
}

@media (max-width: 680px) {
  .ecr-section { padding: 68px 15px; }
  .ecr-heading { align-items: start; flex-direction: column; }
  .ecr-heading .ecr-button { width: 100%; }
  .ecr-tabs { width: 100%; }
  .ecr-tab { min-width: 0; padding: 9px; }
  .ecr-tab small { display: none; }
  .ecr-list { grid-template-columns: repeat(3, 82vw); }
  .ecr-score { display: flex; padding: 18px; }
  .ecr-score-head { width: 100%; }
  .ecr-score-value { width: 100%; margin-top: 16px; }
  .ecr-score > .ecr-star-line { margin-top: 9px; }
  .ecr-score-control { width: 100%; margin-top: 14px; }
  .ecr-score .ecr-verified { margin-top: 13px; }
  .ecr-form-grid { grid-template-columns: 1fr; gap: 0; }
  .ecr-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
  .ecr-dialog form { padding: 22px 18px; }
  .ecr-dialog-actions { flex-direction: column-reverse; }
  .ecr-dialog-actions .ecr-button { width: 100%; }
  .ecr-profile-review-head { flex-direction: column; padding: 19px 18px; }
  .ecr-profile-option { grid-template-columns: 1fr; padding: 17px 18px; }
  .ecr-profile-option .ecr-button { width: 100%; }
  .ecr-admin-trigger { right: 12px; bottom: 12px; }
  .ecr-toast { right: 12px; bottom: 70px; left: 12px; }
  .ecr-admin-invite-output > div { grid-template-columns: 1fr; }
  .ecr-invite-header { height: 66px; }
  .ecr-invite-main { width: min(100% - 24px, 620px); min-height: 0; gap: 30px; padding: 38px 0; }
  .ecr-invite-intro h1 { font-size: 43px; }
  .ecr-invite-panel { min-height: 0; border-radius: 16px; }
  .ecr-invite-state { min-height: 430px; padding: 28px 20px; }
  .ecr-review-choice-grid { grid-template-columns: 1fr; }
  .ecr-review-choice-card { min-height: 70px; }
  .ecr-review-block { padding: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .ecr-button, .ecr-admin-drawer, .ecr-toast { transition-duration: .01ms !important; }
}
