/* Star Isle theme. Tabler supplies the component foundation; these rules shape the product. */
:root {
  --blue: #1677f2;
  --deep: #075ecb;
  --line: #e5eaf2;
  --muted: #718096;
  --card: #fff;
  --soft: #f3f6fb;
  --tblr-primary: #1677f2;
  --tblr-primary-rgb: 22, 119, 242;
  --tblr-body-color: #202b3c;
  --tblr-border-radius: 12px;
  color: #202b3c;
  background: #f4f7fb;
}
html { background: #f4f7fb; }
body {
  color: #202b3c;
  background: #f4f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(22, 119, 242, .26);
  outline-offset: 2px;
}
.primary-btn, .btn-primary {
  background: #1677f2;
  border: 1px solid #1677f2;
  color: #fff;
  border-radius: 12px;
  font-weight: 680;
  box-shadow: 0 5px 13px rgba(22, 119, 242, .14);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.primary-btn:hover, .btn-primary:hover {
  background: #0967df;
  border-color: #0967df;
  color: #fff;
  box-shadow: 0 8px 18px rgba(22, 119, 242, .2);
  transform: translateY(-1px);
}
.primary-btn:active, .btn-primary:active { transform: translateY(0); }
.outline-btn, .btn-outline-primary {
  background: #fff;
  color: #1768cf;
  border: 1px solid #d6e1f0;
  border-radius: 11px;
  font-weight: 650;
  box-shadow: none;
}
.outline-btn:hover, .btn-outline-primary:hover { background: #eef5ff; color: #075ecb; border-color: #aacdfb; }
.eyebrow { color: #7c8ba0; font-size: 11px; letter-spacing: .035em; font-weight: 720; }

/* Public share page */
.site-header {
  height: 66px;
  padding: 0 max(22px, calc((100vw - 1120px) / 2));
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #e9eef5;
  box-shadow: 0 2px 12px rgba(28, 50, 81, .025);
}
.brand { gap: 11px; font-size: 15px; color: #273247; }
.brand:hover { color: #1677f2; }
.brand-mark, .login-mark {
  background: #1677f2;
  color: #fff;
  box-shadow: none;
  border-radius: 11px;
}
.brand-mark { width: 34px; height: 34px; }
.brand img { width: 34px; height: 34px; border-radius: 11px; }
.header-label { color: #9aa6b7; font-size: 12px; font-weight: 580; }
.share-shell { max-width: 704px; padding: 34px 22px 90px; }
.unlock-card.card {
  width: min(100%, 446px);
  margin: 53px auto 0;
  padding: 31px 31px 27px;
  border-radius: 25px;
  border: 1px solid #e6ebf2;
  box-shadow: 0 20px 48px rgba(30, 52, 88, .075);
  background: #fff;
}
.unlock-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2a374d;
  font-size: 13px;
  font-weight: 740;
  margin-bottom: 35px;
}
.unlock-brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }
.unlock-card .eyebrow { color: #1677f2; }
.unlock-card h1 {
  font-size: clamp(25px, 6vw, 29px);
  font-weight: 760;
  letter-spacing: -.035em;
  color: #1e2b3e;
  margin: 9px 0 7px;
}
.unlock-card p { color: #79879a; font-size: 13px; margin-bottom: 31px; }
.unlock-card label { font-weight: 660; color: #46556c; font-size: 12px; }
.input-with-action input {
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  background: #f7f9fc;
  height: 49px;
  padding-left: 14px;
  font-size: 15px;
  letter-spacing: .02em;
}
.input-with-action input:focus { border-color: #8dbcf8; background: #fff; box-shadow: 0 0 0 3px rgba(22,119,242,.09); }
.input-action { color: #1677f2; font-weight: 690; }
.unlock-card .primary-btn { height: 48px; margin-top: 16px; }
.unlock-card small { color: #a4adba; margin-top: 19px; }
.share-hero {
  position: relative;
  margin-bottom: 20px;
  padding: 24px 26px 22px;
  border: 1px solid #e4eaf2;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(31, 56, 90, .045);
}
.hero-top { margin-bottom: 15px; }
.hero-top .eyebrow { color: #1677f2; font-size: 12px; font-weight: 710; }
.text-button { color: #8b98a9; font-size: 12px; }
.text-button:hover { color: #1677f2; }
.share-hero h1 {
  color: #202c3d;
  font-weight: 780;
  font-size: clamp(28px, 6vw, 35px);
  letter-spacing: -.045em;
  margin-bottom: 8px;
}
.share-hero p { color: #738197; margin-bottom: 18px; font-size: 13px; }
.access-line {
  display: inline-flex;
  max-width: 100%;
  gap: 8px;
  border-radius: 10px;
  background: #edf5ff;
  color: #2160a6;
  border: 0;
  padding: 8px 10px;
  font-size: 11px;
}
.access-line strong { border-left: 1px solid #cbdff6; padding-left: 8px; margin-left: 1px; }
.access-dot { background: #2283fa; }
.module.card {
  border-radius: 23px;
  border: 1px solid #e5eaf2;
  padding: 23px 24px;
  background: #fff;
  box-shadow: 0 7px 23px rgba(31, 56, 90, .035);
  margin-bottom: 15px;
}
.module-header { margin-bottom: 15px; }
.module-header h2 { font-size: 17px; font-weight: 760; color: #253146; letter-spacing: -.015em; }
.module p { color: #59687d; font-size: 13px; line-height: 1.82; }
.notice-module { border-left: 3px solid #1677f2 !important; }
.notice-module .module-header h2 { color: #1b5fae; }
.plain-module { padding: 2px 0 0; }
.plain-module .module-header { padding: 0 3px; margin-bottom: 13px; }
.count-label { color: #8995a7; font-size: 12px; }
.guide-image {
  background: #f2f5f9;
  border-radius: 16px;
  border: 1px solid #e9eef4;
  overflow: hidden;
}
.guide-image img { width: 100%; max-height: 720px; object-fit: contain; }
.guide-image span { right: 12px; bottom: 12px; background: rgba(18,30,47,.86); border-radius: 9px; }
.account-list { gap: 13px; }
.account-card.card {
  border-radius: 23px;
  background: #fff;
  padding: 21px 22px 19px;
  border: 1px solid #e4eaf3;
  box-shadow: 0 8px 24px rgba(29, 55, 90, .06);
  transition: box-shadow .24s ease, transform .24s ease, border-color .24s ease;
}
.account-card.card:hover {
  transform: translateY(-2px);
  border-color: #cddff5;
  box-shadow: 0 16px 32px rgba(26, 63, 108, .1);
}
.account-card.card:before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: #1677f2;
  margin-bottom: 17px;
}
.account-card-header { margin-bottom: 15px; }
.account-card h3 { font-size: 15px; font-weight: 740; color: #243248; }
.credential-row {
  background: #f4f6fa;
  border: 1px solid transparent;
  border-radius: 14px;
  min-height: 68px;
  padding: 11px 12px 11px 14px;
  gap: 12px;
}
.credential-icon { color: #1677f2; }
.credential-main { min-width: 0; }
.credential-main small { color: #8e9aab; font-size: 11px; }
.credential-main strong { color: #28364c; font-weight: 610; font-size: 13px; overflow-wrap: anywhere; }
.credential-main strong.mask { letter-spacing: .18em; }
.copy-btn {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #1677f2;
  color: #fff;
  box-shadow: none;
  transition: transform .18s, background .18s;
}
.copy-btn:hover { background: #0967df; transform: scale(1.05); }
.copy-btn svg { width: 17px; height: 17px; }
.account-note { color: #6c7a8f; font-size: 12px; margin-top: 14px; }
.faq-list details { border-top-color: #edf0f5; padding: 14px 0; }
.faq-list summary { font-size: 13px; color: #2a374a; }
.site-footer { color: #a7b1bf; }
.support-fab {
  background: #1677f2;
  padding: 12px 17px;
  box-shadow: 0 9px 22px rgba(22,119,242,.22);
}
.support-fab:hover { background: #0967df; }

/* Admin */
.admin-body { background: #f3f6fa; }
.admin-layout { grid-template-columns: 244px minmax(0,1fr); }
.admin-sidebar {
  padding: 27px 17px 19px;
  border-right: 1px solid #e5eaf1;
  box-shadow: 2px 0 16px rgba(32,54,84,.02);
}
.admin-brand { padding: 0 8px; margin-bottom: 37px; }
.admin-brand .brand-mark { width: 40px; height: 40px; border-radius: 13px; font-size: 17px; }
.admin-brand strong { color: #253349; font-size: 15px; }
.admin-brand small { color: #a0abb9; font-size: 11px; }
.nav-caption {
  padding: 0 15px;
  margin-bottom: 9px;
  color: #9ca9b9;
  font-size: 10px;
  font-weight: 730;
  letter-spacing: .09em;
}
.admin-nav { gap: 3px; }
.admin-nav button {
  width: 100%;
  text-align: left;
  border-radius: 11px;
  color: #67768b;
  height: 42px;
  font-size: 13px;
  font-weight: 620;
  padding: 0 14px;
  transition: background .18s, color .18s, transform .18s;
}
.admin-nav button:hover { background: #f1f5fa; color: #255b9e; transform: translateX(2px); }
.admin-nav button.active { background: #ebf3ff; color: #096bdc; font-weight: 740; }
.sidebar-bottom { border-top: 1px solid #edf0f4; padding: 17px 11px 0; }
.sidebar-bottom a, .sidebar-bottom button { color: #7c8ba0; font-size: 12px; }
.admin-main { max-width: 1330px; padding: 37px 42px 75px; }
.admin-header { margin-bottom: 26px; }
.admin-header .eyebrow { color: #9aa6b6; font-size: 11px; }
.admin-header h1 { color: #243247; font-size: 27px; font-weight: 770; letter-spacing: -.03em; margin-top: 5px; }
.admin-header .outline-btn { height: 37px; font-size: 12px; }
.admin-grid { gap: 14px; margin-bottom: 27px; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 15px; }
.overview-spotlight {
  min-height: 291px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px 29px;
  border-radius: 20px;
  background: #176fed;
  color: #fff;
}
.overview-kicker { font-size: 11px; font-weight: 740; opacity: .78; letter-spacing: .03em; }
.overview-spotlight h2 { margin: 24px 0 8px; color: #fff; font-size: 22px; font-weight: 760; letter-spacing: -.02em; }
.overview-spotlight p { max-width: 440px; color: rgba(255,255,255,.85); font-size: 12px; line-height: 1.7; }
.overview-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 15px 0 24px; }
.overview-actions button {
  min-height: 37px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  font-weight: 670;
}
.overview-actions button:first-child { background: #fff; border-color: #fff; color: #1464ce; }
.overview-actions button:hover { background: rgba(255,255,255,.23); }
.overview-actions button:first-child:hover { background: #f1f6ff; }
.overview-meta { margin-top: auto; width: 100%; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.76); font-size: 11px; }
.overview-operations { margin: 0; padding: 23px 25px; }
.overview-operations h2 { margin-bottom: 15px; }
.overview-operations button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 1px;
  border: 0;
  border-top: 1px solid #edf1f5;
  background: transparent;
  text-align: left;
  color: #6f8095;
}
.overview-operations button:hover { color: #176fed; }
.overview-operations strong { display: block; color: #28364a; font-size: 12px; }
.overview-operations small { display: block; margin-top: 3px; color: #9aa6b5; font-size: 11px; }
.stat-card, .admin-card, .login-card.card {
  border: 1px solid #e5eaf2;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(31, 55, 87, .035);
}
.stat-card { padding: 21px 23px; }
.stat-card small { color: #8c99ab; font-size: 12px; }
.stat-card strong { color: #253247; font-size: 30px; font-weight: 750; }
.stat-card:first-child { border-top: 3px solid #1677f2; }
.admin-card { padding: 24px 26px; margin-bottom: 17px; }
.admin-card h2 { color: #253248; font-weight: 740; font-size: 16px; }
.admin-card p.card-help, .card-help { color: #8391a4; font-size: 12px; }
.admin-section-head { margin: 0 0 12px; }
.admin-section-head h2 { color: #253247; font-size: 17px; font-weight: 740; }
.admin-section-head .primary-btn, .admin-section-head .outline-btn { font-size: 12px; }
.notice-box {
  background: #f2f7ff;
  color: #44678f;
  border: 1px solid #e1ecfb;
  border-radius: 12px;
  font-size: 12px;
}
.form-grid { gap: 18px; }
.form-field { color: #4d5b70; font-size: 12px; font-weight: 680; }
.form-field input, .form-field textarea, .form-field select,
.login-card input, .chat-form textarea {
  background: #f8fafc;
  border-color: #e0e7ef;
  border-radius: 11px;
  color: #26364b;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus,
.login-card input:focus, .chat-form textarea:focus {
  background: #fff;
  border-color: #8dbcf8;
  box-shadow: 0 0 0 3px rgba(22,119,242,.09);
}
.form-field input, .form-field select { min-height: 44px; }
.form-hint { color: #9aa5b3; font-size: 11px; line-height: 1.5; }
.form-actions { gap: 9px; }
.form-actions .primary-btn, .form-actions .outline-btn, .form-actions .mini-button { min-height: 38px; }
.admin-table th {
  background: #f8fafc;
  color: #8290a2;
  font-size: 11px;
  font-weight: 690;
  border-bottom-color: #e9eef4;
}
.admin-table td { font-size: 12px; }
.admin-table tr:hover td { background: #fbfcfe; }
.admin-table td strong { color: #26354a; }
.table-wrap { padding: 6px 13px 13px; }
.mini-button { border-radius: 9px; color: #2468b9; }
.badge { border-radius: 8px; font-weight: 670; }
.sort-row { border-radius: 10px; }
.switch-row { color: #3b4d64; }
.login-shell { background: #f3f6fa; }
.login-card.card {
  width: min(100%, 420px);
  padding: 36px 36px 27px;
  box-shadow: 0 21px 58px rgba(32, 55, 90, .09);
}
.login-mark { width: 43px; height: 43px; margin-bottom: 28px; border-radius: 13px; }
.login-card h1 { color: #243147; font-size: 27px; font-weight: 770; }
.login-card p { color: #8492a4; }
.login-card label { color: #4a5a70; font-size: 12px; font-weight: 670; }
.login-card input { height: 46px; }
.login-card .primary-btn { height: 45px; }
.login-footnote { margin-top: 22px; color: #a2adba; text-align: center; font-size: 11px; }
.security-card { max-width: 720px; }
.security-card-head { display: flex; align-items: center; gap: 13px; padding-bottom: 19px; margin-bottom: 20px; border-bottom: 1px solid #edf0f5; }
.security-card-head h2 { margin: 0 0 3px; }
.security-card-head p { margin: 0; color: #8492a4; font-size: 12px; }
.security-card-head p strong { color: #33445c; }
.security-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: #eaf3ff;
  color: #1677f2;
  font-size: 14px;
  font-weight: 760;
}
.support-panel, .admin-dialog { border-radius: 22px; }
.admin-chat .chat-messages { background: #f8fafc; }
.toast { border-radius: 12px; }

@media (max-width: 760px) {
  .admin-layout { display: block; }
  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    padding: 11px 16px 0;
    border-right: 0;
    border-bottom: 1px solid #e5eaf1;
  }
  .admin-brand { margin: 1px 2px 10px; padding: 0; }
  .admin-brand .brand-mark { width: 31px; height: 31px; border-radius: 10px; font-size: 13px; }
  .admin-brand strong { font-size: 13px; }
  .nav-caption { display: none; }
  .admin-nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 0 2px;
    scrollbar-width: none;
  }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav button {
    flex: none;
    width: auto;
    height: 39px;
    padding: 0 11px;
    font-size: 12px;
    border-radius: 9px 9px 0 0;
    white-space: nowrap;
  }
  .admin-nav button:hover { transform: none; }
  .admin-nav button.active { background: #eaf3ff; }
  .admin-main { padding: 23px 16px 85px; }
  .admin-header { margin-bottom: 20px; }
  .admin-header h1 { font-size: 23px; }
  .admin-grid { gap: 9px; margin-bottom: 23px; }
  .overview-grid { grid-template-columns: 1fr; gap: 12px; }
  .overview-spotlight { min-height: 258px; padding: 24px; border-radius: 17px; }
  .overview-spotlight h2 { font-size: 20px; margin-top: 17px; }
  .overview-operations { padding: 19px; }
  .stat-card { border-radius: 15px; padding: 14px 11px; }
  .stat-card small { font-size: 10px; }
  .stat-card strong { font-size: 23px; }
  .admin-card { border-radius: 17px; padding: 19px; }
  .table-wrap { padding: 4px 9px 9px; }
  .ticket-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header { height: 58px; padding: 0 17px; }
  .share-shell { padding: 23px 15px 84px; }
  .unlock-card.card { margin-top: 31px; padding: 27px 23px 24px; border-radius: 23px; }
  .unlock-brand { margin-bottom: 31px; }
  .share-hero { margin-bottom: 16px; padding: 22px 21px; border-radius: 23px; }
  .share-hero h1 { font-size: 29px; }
  .module.card { border-radius: 21px; padding: 21px 20px; }
  .plain-module { padding: 2px 0 0; }
  .account-card.card { border-radius: 21px; padding: 19px 19px 17px; }
  .credential-row { min-height: 67px; }
  .admin-header .outline-btn { font-size: 11px; }
  .support-fab { right: 15px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .support-panel { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .primary-btn, .btn-primary, .account-card.card, .copy-btn, .admin-nav button { transition: none; }
}
