/* Subway Surfers world theme shared across the authenticated system. */
:root {
  --v1-blue: #157da5;
  --v1-yellow: #ffd34e;
  --v1-coral: #f16c4d;
  --v1-green: #27816b;
  --v1-ink: #153247;
  --v1-muted: #617683;
  --v1-line: #d3e0e3;
  --v1-bg: #edf2ef;
  --el-color-primary: #157da5;
  --el-color-primary-light-3: #51a2be;
  --el-color-primary-light-5: #88bfd0;
  --el-color-primary-light-7: #bedce5;
  --el-color-primary-light-8: #d9eaf0;
  --el-color-primary-light-9: #eff6f7;
  --el-color-primary-dark-2: #0e6282;
  --primary: #157da5;
  --primary-light: #eff6f7;
  --success: #27816b;
  --warning: #a97712;
  --danger: #cc4c45;
  --border: #d3e0e3;
  --text: #153247;
  --text-secondary: #617683;
  --bg: #edf2ef;
  --runner-gold: #ffd34e;
  --runner-orange: #f16c4d;
}

body {
  color: var(--v1-ink) !important;
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif !important;
}

body:not(.v1-login) {
  overflow-x: hidden;
  background-color: #a9e6f3 !important;
  background-image: url('/static/subway/world/graffiti-room.webp') !important;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body .v1-btn,
body .v1-icon-btn,
body .el-button {
  border-radius: 7px;
  font-weight: 700;
  transition: transform .22s cubic-bezier(.2,.85,.35,1.35), background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

body .v1-btn.primary,
body .el-button--primary:not(.is-plain):not(:disabled) {
  border-color: #f2b63f !important;
  background: #ffd34e !important;
  color: #17344a !important;
  box-shadow: 0 3px 0 #d79c31;
}

body .v1-btn.primary:hover,
body .el-button--primary:not(.is-plain):not(:disabled):hover {
  border-color: #f5be45 !important;
  background: #ffe078 !important;
  box-shadow: 0 4px 0 #d79c31, 0 8px 16px #17344a20;
  transform: translateY(-1px);
}

body .el-button--success { border-color: #27816b !important; background: #27816b !important; }
body .el-button--danger { border-color: #cc4c45 !important; background: #cc4c45 !important; }
body .v1-btn:focus-visible,
body .v1-icon-btn:focus-visible,
body .el-button:focus-visible { outline: 3px solid #157da566; outline-offset: 2px; }
body .v1-page { max-width: 1200px; padding: 20px 24px 34px; }

body .v1-page > h1 {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 152px;
  margin: 0 0 18px;
  padding: 24px 175px 30px 82px;
  overflow: hidden;
  border: 1px solid #12334a;
  border-radius: 8px;
  color: #ffe45b;
  font-size: 25px;
  font-weight: 850;
  text-shadow: 0 3px 0 #184a74, 1px 0 #184a74, -1px 0 #184a74;
  background: url('/static/subway/semantic/profile.webp') right 18px center / 138px auto no-repeat, url('/static/subway/world/graffiti-room.webp') center 20% / cover no-repeat;
  box-shadow: 0 8px 22px #183b4d29;
}

body .v1-page > h1::before {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 46px;
  height: 46px;
  content: '';
  transform: translateY(-50%);
  border: 2px solid var(--runner-gold);
  border-radius: 8px;
  background: #fff url('/static/subway/game-icon.webp') center / cover no-repeat;
  box-shadow: 0 3px 9px #09233a78;
}

body .v1-page > h1::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  content: '';
  background: repeating-linear-gradient(112deg, #ffd34e 0 26px, #fff 26px 31px, #f16c4d 31px 56px, #fff 56px 61px);
}

body .v1-view-head {
  max-width: 1200px;
  padding: 12px 24px 10px;
  border-bottom: 1px solid #cbdde1;
  background: #f5f8f2e8;
}

body .v1-view-head h1 { color: #153247; font-size: 19px; font-weight: 800; }
body .v1-shell-header { height: 66px; border-bottom: 4px solid var(--runner-gold); background: #167cb5 url('/static/subway/world/graffiti-room.webp') center 18% / cover; color: #fff; box-shadow: 0 4px 16px #102c3b30; }
body .v1-shell-logo { color: #fff; }
body .v1-shell-logo img { width: 38px; height: 38px; border: 2px solid var(--runner-gold); border-radius: 7px; object-fit: cover; }
body .v1-shell-tools .v1-icon-btn { position: relative; border-color: #ffffff30; background: #ffffff16; color: #fff; }
body .v1-shell-tools .v1-icon-btn:hover { background: #ffffff2b; }

body .v1-home { max-width: 1160px; padding: 16px 24px 124px; }
body .v1-quote {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin: 0 0 12px;
  padding: 9px 13px;
  border: 1px solid #bdd2d7;
  border-inline-start: 4px solid var(--runner-gold);
  border-radius: 7px;
  background: #fff9e8;
  color: #3b4f54;
  box-shadow: 0 3px 10px #213d4d12;
}

body .v1-quote > .v1-icon { width: 20px; height: 20px; color: #d88132; }
body .v1-quote p { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
body .v1-quote .v1-icon-btn { width: 34px; height: 34px; border: 0; background: transparent; color: var(--v1-blue); }

body .v1-gallery {
  position: relative;
  min-height: 220px;
  margin: 0 0 16px;
  overflow: hidden;
  border: 2px solid #f2c64a;
  border-radius: 8px;
  background: #163a50;
  box-shadow: 0 7px 20px #102f4533;
}

body .v1-gallery-track { align-items: stretch; gap: 9px; animation-duration: 40s; }
body .v1-gallery-image { display: block; width: 380px; height: 216px; flex: 0 0 380px; border: 0; border-radius: 5px; object-fit: cover; background: #173e56; }
body .v1-gallery-track-shot { object-position: center 78%; }
body .v1-gallery-scene { object-position: center 62%; }
body .v1-gallery-game-banner { object-position: center 46%; }
body .v1-gallery-game-icon { padding: 48px; object-fit: contain; background: #177ba1; }
body .v1-gallery-crew { padding: 12px 48px; object-fit: contain; background: #53b8db url('/static/subway/world/graffiti-room.webp') center / cover; }
body .v1-gallery-toggle { position: absolute; top: 9px; right: 9px; z-index: 2; border-color: #fff9; background: #15374fe8; color: #fff; }
body .v1-gallery-unavailable { display: grid; min-height: 216px; place-items: center; color: #fff; }

body .v1-profile.v1-basic-info {
  position: relative;
  grid-template-columns: 72px minmax(0, 1fr) 205px;
  gap: 13px;
  margin: 0 0 20px;
  padding: 18px 158px 18px 18px;
  overflow: hidden;
  border: 1px solid #173d53;
  border-radius: 8px;
  color: #fff;
  background: #237cb4 url('/static/subway/world/graffiti-room.webp') center 16% / cover;
  box-shadow: 0 7px 18px #14394d29;
}

body .v1-profile-avatar { width: 68px; height: 68px; border: 3px solid var(--runner-gold); border-radius: 10px; object-fit: cover; box-shadow: 0 3px 10px #071d2b60; }
body .v1-profile h1 { margin: 0 0 7px; color: #fff; font-size: 21px; font-weight: 850; }
body .v1-profile-details { gap: 8px; color: #e4f0f2; }
body .v1-profile-details strong { color: #fff; }
body .v1-profile-details .v1-badge { border: 0; background: var(--runner-gold); color: #263b46; }
body .v1-profile .v1-permission-summary { grid-column: 1 / -1; gap: 6px; margin: 0; padding: 10px 0 0; border-top: 1px solid #ffffff3a; background: transparent; }
body .v1-profile .v1-permission-summary .v1-badge { background: #ffffff1e; color: #f7fbfa; }
body .v1-profile .v1-permission-summary .v1-badge.green { background: #237b66; color: #fff; }
body .v1-balance { min-width: 0; padding: 12px 16px; border: 1px solid #ffc748; border-radius: 7px; background: #ffcd45; color: #19384b; box-shadow: 0 3px 0 #d99c31; }
body .v1-balance span { color: #385260; font-size: 12px; font-weight: 700; }
body .v1-balance strong { color: #17374c; font-size: 27px; font-weight: 850; }

body .v1-home-functions { margin: 0 0 24px; padding: 0; background: transparent; }
body .v1-home-functions > h2,
body .v1-announcements h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: #153247; font-size: 21px; font-weight: 850; }
body .v1-home-functions > h2::before,
body .v1-announcements h2::before { width: 10px; height: 22px; border-radius: 2px; background: var(--runner-orange); content: ''; }
body .v1-function-group,
body .v1-function-group.v1-tone-1,
body .v1-function-group.v1-tone-2,
body .v1-function-group.v1-tone-3,
body .v1-function-group.v1-tone-4 {
  --entry-color: #157da5;
  --entry-bg: #e8f4f6;
  margin: 0 0 15px;
  padding: 0 0 13px;
  border: 0;
  background: transparent !important;
}

body .v1-function-group.v1-tone-1 { --entry-color: #27816b; --entry-bg: #e4f2e9; }
body .v1-function-group.v1-tone-2 { --entry-color: #cf5648; --entry-bg: #fff0e8; }
body .v1-function-group.v1-tone-3 { --entry-color: #9a700e; --entry-bg: #fff4cf; }
body .v1-function-group.v1-tone-4 { --entry-color: #645b9a; --entry-bg: #efecfa; }
body .v1-function-group h3 { display: flex; align-items: center; gap: 8px; min-height: 36px; margin: 0 0 9px; padding: 0; border: 0; color: #173f60; font-size: 16px; font-weight: 850; }
body .v1-function-group h3 > .v1-icon { width: 18px; height: 18px; color: var(--entry-color); }
body .v1-function-grid { gap: 9px; }
body .v1-function-entry { min-height: 88px; padding: 10px; border: 2px solid #fff; border-bottom: 4px solid var(--entry-color); border-radius: 7px; background: #f8fdff; color: #253f4e; font-size: 13px; font-weight: 800; box-shadow: 0 4px 0 #19567632; }
body .v1-function-icon { width: 46px; height: 46px; border-radius: 7px; background: transparent; color: var(--entry-color); }
body .v1-function-icon img { width: 100%; height: 100%; object-fit: contain; }
body .v1-function-entry:hover { border-color: var(--entry-color); border-bottom-color: var(--runner-gold); background: #fff; box-shadow: 0 6px 13px #163d501c; transform: translateY(-2px); }
body .v1-function-character { display: none !important; }
body .v1-profile-character { display: block !important; position: absolute; width: 122px; height: 128px; right: 14px; top: 12px; object-fit: contain; pointer-events: none; }
body .v1-world-heading { width: 66px; height: 60px; object-fit: contain; }
body .v1-world-icon { width: 38px; height: 38px; object-fit: contain; }
body .v1-home-functions > h2::before { display: none; }

body .v1-announcements { padding: 12px 0 20px; background: transparent; }
body .v1-announcement { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 9px; padding: 13px 15px; border: 1px solid #d1dedf; border-inline-start: 4px solid #f0b941; border-radius: 7px; background: #fffdf5; box-shadow: 0 3px 9px #183a4a0d; }
body .v1-announcement > .v1-icon { margin-top: 3px; color: #ce6b32; }
body .v1-announcement h3 { margin: 0 0 6px; color: #16394c; font-size: 14px; font-weight: 800; }
body .v1-announcement p { margin: 0; color: #526873; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }

body .v1-metrics { gap: 10px; margin-bottom: 14px; }
body .v1-metric { position: relative; isolation: isolate; min-height: 96px; padding: 12px 14px; overflow: hidden; border: 2px solid #fff; border-bottom: 4px solid #56a8bc; border-radius: 7px; background: #f4fcff; box-shadow: 0 4px 0 #19567632; }
body .v1-metric:nth-child(2) { border-bottom-color: #f1be3c; background: #fff8db; }
body .v1-metric:nth-child(3) { border-bottom-color: #ed775a; background: #fff0e7; }
body .v1-metric::after { position: absolute; right: 10px; top: 12px; z-index: -1; width: 58px; height: 60px; background: url('/static/subway/semantic/account_records.webp') center / contain no-repeat; content: ''; }
body .v1-metric:nth-child(2)::after { background-image: url('/static/subway/semantic/card.webp'); }
body .v1-metric:nth-child(3)::after { background-image: url('/static/subway/semantic/SPlb.webp'); }
body .v1-metric > span { color: #526a73; font-weight: 700; }
body .v1-metric strong { position: relative; width: max-content; max-width: 100%; margin-top: 8px; padding-right: 4px; background: inherit; color: #173a4e; font-size: 24px; font-weight: 850; overflow-wrap: anywhere; }

body .v1-page > .v1-basic-info {
  position: relative;
  margin: 0 0 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #173d53;
  border-radius: 8px;
  color: #fff;
  background: #237cb4 url('/static/subway/world/graffiti-room.webp') center 18% / cover no-repeat;
  box-shadow: 0 7px 18px #14394d29;
}

body .v1-page > .v1-basic-info .v1-console-head { min-height: 66px; margin-bottom: 13px; padding-right: 75px; background: url('/static/subway/semantic/user_list.webp') right 8px center / 65px auto no-repeat; }
body .v1-page > .v1-basic-info .v1-console-head h1 { color: #fff; font-size: 19px; font-weight: 850; }
body .v1-page > .v1-basic-info .v1-info-grid { gap: 0 16px; }
body .v1-page > .v1-basic-info .v1-info-grid > div { padding: 10px 0; border-bottom: 1px solid #ffffff32; }
body .v1-page > .v1-basic-info .v1-info-grid small { color: #c7dfe3; }
body .v1-page > .v1-basic-info .v1-info-grid strong { color: #fff; }
body .v1-page > .v1-basic-info .v1-permissions { gap: 12px; padding: 14px 0 0; }
body .v1-page > .v1-basic-info .v1-permission { padding: 6px 9px; border: 1px solid #ffffff38; border-radius: 6px; background: #ffffff16; }
body .v1-page > .v1-basic-info .v1-permission .v1-game-img { width: 34px; height: 34px; border: 1px solid #ffd34e; border-radius: 6px; }
body .v1-page > .v1-basic-info .v1-permission strong { color: #fff; }
body .v1-page > .v1-basic-info .v1-permission span { color: #a9e2c9; }
body .v1-page > .v1-basic-info .v1-permission span.off { color: #e2edf0; }

body .v1-row { grid-template-columns: minmax(150px, 1.2fr) minmax(150px, 1fr) auto; min-height: 84px; gap: 10px; padding: 10px 12px; border: 2px solid #fff; border-bottom: 3px solid #48a4c8; border-radius: 7px; background: #f5fcff; box-shadow: 0 3px 0 #19567632; }
body .v1-row:hover { border-color: #70adbb; border-bottom-color: var(--runner-gold); box-shadow: 0 6px 14px #15394a1b; }
body .v1-row-title { gap: 9px; }
body .v1-row-title .v1-game-img { width: 44px; height: 44px; border: 2px solid #e4c85d; border-radius: 7px; background: #e8f3f5; }
body .v1-row-title strong { color: #183c4e; font-size: 14px; font-weight: 800; line-height: 1.35; }
body .v1-row-title > div { min-width: 0; }
body .v1-row-title strong { overflow-wrap: anywhere; }
body .v1-row-kind { display: block; margin-bottom: 2px; color: #4d748b; font-size: 10px; font-weight: 700; }
body .v1-row-title small { margin-top: 3px; color: #36667d; font-size: 11px; }
body .v1-row-title .v1-game-tag { display: inline-flex; width: max-content; max-width: 100%; padding: 2px 6px; border-radius: 4px; background: #d8eff8; color: #185d80; line-height: 1.4; }
body .v1-row-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
body .v1-use-tag { padding: 2px 6px; border-radius: 4px; background: #def4e2; color: #267146 !important; }
body .v1-use-tag.exhausted { background: #ffe6df; color: #a24833 !important; }
body .v1-row-meta em { font-style: normal; font-weight: 600; font-size: 10px; opacity: .8; }
body .v1-row-meta time { overflow-wrap: anywhere; }
body .v1-row-meta { align-items: center; gap: 6px; color: #60747d; font-size: 12px; line-height: 1.35; text-align: center; }
body .v1-row-meta > span:first-child { padding: 3px 8px; border: 1px solid #efcf62; border-radius: 5px; background: #fff6d6; color: #574a24; font-size: 13px; font-weight: 800; }
body .v1-row-meta .v1-icon { padding: 0; border: 0; border-radius: 0; background: transparent; color: #157da5; }
body .v1-row-actions { gap: 5px; }
body .v1-row-actions .v1-btn { min-height: 35px; padding: 6px 9px; font-size: 12px; }
body .v1-row-actions .v1-btn.primary { background: #ffd34e; }
body .v1-row-actions .v1-btn.danger { border-color: #f2d2ce; background: #fff3f1; color: #ba4844; box-shadow: none; }
body .v1-empty { min-height: 160px; padding-top: 108px; background: url('/static/subway/semantic/group_game.webp') center 10px / 90px 90px no-repeat; color: #265770; }
body .v1-empty .empty-title { display: block; color: #1b526d; font-size: 15px; font-weight: 850; line-height: 1.4; }
body .v1-empty small { display: block; max-width: 420px; margin: 6px auto 0; color: #6a8995; font-size: 11px; font-weight: 600; line-height: 1.7; }
body .account-record-empty { min-height: 210px; padding: 112px 18px 26px; border: 2px dashed #acd5df; border-radius: 8px; background-color: #f6fcfd; background-position: center 14px; }
body .shared-empty { margin: 18px 20px 24px; min-height: 210px; border: 2px dashed #acd5df; border-radius: 8px; background-color: #f6fcfd; }
body.zw-records .account-record-empty { border-color: #acd5df; background-color: #f6fcfd; }
body.zw-records .account-record-list .mobile-card:hover { transform: translateY(-2px); box-shadow: 0 7px 15px #1956761a !important; }
body.zw-records .account-record-list .toolbar { background: #f4fbfd; border: 1px solid #cde5ec; border-radius: 7px; padding: 10px; }
body .v1-badge { border-radius: 4px; background: #fff0c3; color: #765613; font-weight: 750; }
body .v1-badge.blue { background: #dcedf1; color: #155f7a; }
body .v1-badge.green { background: #deefe4; color: #236950; }
body .v1-badge.gray { background: #e9eeed; color: #586a70; }

body .v1-categories { gap: 5px; padding: 4px; border: 1px solid #cadae0; border-radius: 7px; background: #dfeaed; }
body .v1-categories button { border-radius: 5px; color: #536b75; font-weight: 750; }
body .v1-categories button.active,
body .tab-item.active { background: #176f91 !important; color: #fff !important; box-shadow: 0 2px 0 #10536f; }
body .item-card.active { border: 2px solid #157da5 !important; background: #e2f2f5 !important; color: #135b73 !important; box-shadow: 0 3px 0 #157da555; }
body .item-card.active .el-checkbox__label { color: #135b73 !important; font-weight: 800; }

body.v1-tools-page .container { max-width: 1060px; margin: 0 auto; padding: 18px 24px !important; }
body.v1-tools-page .v1-tool-stack { display: flex; flex-direction: column; gap: 13px; }
body.v1-tools-page .v1-tool-card { overflow: hidden; border: 1px solid #bfd2d8; border-radius: 8px; background: #fbfcf8; box-shadow: 0 5px 15px #14394c14; }
body.v1-tools-page .v1-tool-head { display: flex; align-items: center; gap: 10px; min-height: 82px; padding: 12px 90px 12px 16px; border-bottom: 3px solid var(--runner-gold); background: url('/static/subway/semantic/group_game.webp') right 12px center / 60px auto no-repeat, url('/static/subway/world/graffiti-room.webp') center 18% / cover; color: #fff; }
body.v1-tools-page .v1-tool-card:first-child .v1-tool-head { background: url('/static/subway/semantic/profile.webp') right 12px center / 67px auto no-repeat, url('/static/subway/world/graffiti-room.webp') center 18% / cover; }
body.v1-tools-page .v1-tool-head > img { width: 38px; height: 38px; border: 2px solid var(--runner-gold); border-radius: 7px; object-fit: cover; }
body.v1-tools-page .v1-tool-head > .v1-icon { width: 22px; height: 22px; color: var(--runner-gold); }
body.v1-tools-page .v1-tool-head h2 { margin: 0; color: #fff; font-size: 17px; font-weight: 850; }
body.v1-tools-page .v1-tool-head::after { display: none; }
body.v1-tools-page .form-card,
body.v1-tools-page .result-card { margin: 0 !important; padding: 17px 19px !important; border: 0 !important; border-radius: 0 !important; background: #fbfcf8 !important; box-shadow: none !important; }
body.v1-tools-page .tips { margin: 0 !important; padding: 11px 16px !important; border: 0 !important; border-inline-start: 4px solid #e7b642 !important; border-radius: 0 !important; background: #fff6d8 !important; color: #5f552f; }
body.v1-tools-page .el-form-item { margin-bottom: 13px; }
body.v1-tools-page .el-form-item:last-child { margin-bottom: 0; }

body .el-overlay { background: #102b3db3 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body .el-overlay-dialog { display: flex !important; align-items: center !important; justify-content: center !important; padding: 18px !important; }
body .el-dialog { max-width: calc(100vw - 28px) !important; max-height: calc(100dvh - 32px) !important; margin: 0 !important; padding: 21px !important; overflow: auto !important; border: 1px solid #bdd1d6 !important; border-top: 6px solid var(--runner-gold) !important; border-radius: 8px !important; box-shadow: 0 20px 56px #09223559 !important; animation: v1-fade .24s cubic-bezier(.22,1,.36,1); }
body .el-dialog__header { min-height: 70px; margin-bottom: 15px !important; padding: 20px 76px 15px 0 !important; border-bottom: 2px solid #d8e3e3 !important; background: url('/static/subway/semantic/group_game.webp') right 30px center / 40px auto no-repeat; }
body .el-dialog__title { color: #17394c !important; font-size: 18px !important; font-weight: 850 !important; }
body .el-dialog__body { padding: 0 !important; }
body .el-message-box { max-width: calc(100vw - 28px) !important; border: 1px solid #bdd1d6 !important; border-top: 6px solid var(--runner-gold) !important; border-radius: 8px !important; box-shadow: 0 20px 56px #09223559 !important; }
body .el-input__wrapper,
body .el-select__wrapper,
body .el-textarea__inner { border-radius: 6px !important; background: #fff !important; box-shadow: 0 0 0 1px #bfced2 inset !important; }
body .el-input__wrapper.is-focus,
body .el-select__wrapper.is-focused { box-shadow: 0 0 0 2px #157da5 inset !important; }
body .el-form-item__label { color: #385461 !important; font-weight: 700 !important; }
body .el-tabs--border-card { border: 0 !important; box-shadow: none !important; }
body .el-tabs__header { background: transparent !important; }
body .el-tabs__nav-wrap::after { background: #cbdade !important; }
body .el-tabs__item { color: #667a81 !important; font-weight: 700; }
body .el-tabs__item.is-active { color: #126a88 !important; }
body .el-tabs__item.is-active::after { height: 3px; background: var(--runner-gold); content: ''; }
body .el-table th { background: #e9f1ee !important; color: #294957; }
body .el-loading-mask { background: #f4f7f1e8 !important; }
body .el-drawer { border-left: 4px solid var(--runner-gold) !important; box-shadow: -12px 0 36px #102c3b30 !important; }
body .card,
body .mobile-card,
body .mobile-gen-card,
body .stat-card,
body .tab-nav { border-radius: 7px !important; box-shadow: 0 4px 12px #17394a12 !important; border-color: #ccdadc !important; }
body .admin-row,
body .super-admin-row,
body .system-admin-row { border-left: 0 !important; background: transparent !important; }
body .el-alert,
body .el-message,
body .v1-tip { border-inline-start: 4px solid #157da5 !important; }
body .el-alert--warning,
body .el-message--warning { border-inline-start-color: #d29a27 !important; }
body .el-alert--error,
body .el-message--error { border-inline-start-color: #cc4c45 !important; }
body .el-alert--success,
body .el-message--success { border-inline-start-color: #27816b !important; }

body.v1-login .login-scene { align-items: center; padding: 34px 18px; }
body.v1-login .login-surface { border: 1px solid #a9c6ce; border-top: 7px solid var(--runner-gold); border-radius: 8px; background: #fbfcf6; box-shadow: 0 20px 64px #0a263d65; }
body.v1-login .login-brand { position: relative; min-height: 128px; margin: -28px -28px 20px; padding: 18px 112px 17px 24px; border-radius: 7px 7px 0 0; border-bottom: 5px solid var(--runner-gold); background: url('/static/subway/semantic/profile.webp') right 8px center / 100px auto no-repeat, url('/static/subway/world/graffiti-room.webp') center 18% / cover; }
body.v1-login .login-brand h1 { color: #fff; font-size: 22px; font-weight: 850; }
body.v1-login .login-brand small { color: #e8f2ef; }
body.v1-login .login-brand > img { display: block !important; width: 58px; height: 58px; border: 2px solid var(--runner-gold); border-radius: 7px; object-fit: cover; }
body.v1-login .login-submit { min-height: 48px; border: 1px solid #e6ac34; border-bottom-width: 4px; background: var(--runner-gold); color: #17364a; }
body.v1-login .login-submit:hover { background: #ffe078; }
body.v1-login .login-note { border: 0; border-inline-start: 4px solid #157da5; border-radius: 5px; background: #e8f3f4; }
body.v1-login .login-support { border-top: 1px solid #d5e0df; }
body.v1-login .login-links button { color: #126c8c; font-weight: 750; }
body.v1-login .login-support > .v1-badge { background: #fff0c3; color: #765613; }
body .v1-official-group { border-color: #156e92; background: #156e92; color: #fff !important; }

@media (min-width: 1000px) {
  body .v1-function-entry { min-height: 72px; flex-direction: row; justify-content: flex-start; gap: 10px; padding: 9px 12px; }
  body .v1-function-entry > span:last-child { text-align: left; }
}

@media (max-width: 1000px) {
  body .v1-function-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  body:not(.v1-login) { background-position: center top; }
  body .v1-page { padding: 12px 12px 24px; }
  body .v1-page > h1 { min-height: 112px; margin-bottom: 13px; padding: 17px 106px 23px 65px; font-size: 21px; background-size: 90px auto, cover; background-position: right 7px center, center 18%; }
  body .v1-page > h1::before { left: 13px; width: 39px; height: 39px; }
  body .v1-view-head { padding: 10px 12px; }
  body .v1-shell-header { height: 58px; }
  body .v1-home { padding: 12px 12px 116px; }
  body .v1-gallery { min-height: 174px; }
  body .v1-gallery-image { width: 300px; height: 170px; flex-basis: 300px; }
  body .v1-gallery-unavailable { min-height: 170px; }
  body .v1-profile.v1-basic-info { grid-template-columns: 56px minmax(0, 1fr); gap: 9px; padding: 13px; margin-bottom: 16px; background-position: center 18%; background-size: cover; }
  body .v1-profile-identity { padding-right: 76px; }
  body .v1-profile-character { width: 78px; height: 84px; right: 9px; top: 12px; }
  body .v1-profile-avatar { width: 54px; height: 54px; }
  body .v1-profile h1 { font-size: 18px; }
  body .v1-profile-details { gap: 5px; font-size: 11px; }
  body .v1-balance { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 11px; }
  body .v1-balance strong { font-size: 23px; }
  body .v1-function-group { margin-bottom: 11px; padding-bottom: 9px; }
  body .v1-function-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  body .v1-function-entry { min-height: 82px; padding: 7px 5px; font-size: 12px; }
  body .v1-function-icon { width: 38px; height: 38px; }
  body .v1-function-group h3 { min-height: 27px; margin-bottom: 7px; font-size: 13px; }
  body .v1-announcements h2,
  body .v1-home-functions > h2 { font-size: 19px; }
  body .v1-metrics { gap: 7px; margin-bottom: 11px; }
  body .v1-metric { min-height: 94px; padding: 9px 8px; }
  body .v1-metric::after { width: 34px; height: 38px; right: 5px; top: 6px; opacity: .85; }
  body .v1-metric > span { position: relative; width: max-content; max-width: 100%; padding: 2px; background: inherit; }
  body .v1-metric > span { gap: 4px; font-size: 10px; }
  body .v1-metric strong { margin-top: 19px; font-size: 18px; }
  body .v1-page > .v1-basic-info { padding: 13px; }
  body .v1-page > .v1-basic-info .v1-permissions { gap: 7px; }
  body .v1-page > .v1-basic-info .v1-permission { gap: 6px; padding: 5px 6px; }
  body .v1-page > .v1-basic-info .v1-permission .v1-game-img { width: 29px; height: 29px; }
  body .v1-row { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 6px; padding: 9px 10px; }
  body .v1-row-title { min-width: 0; gap: 7px; }
  body .v1-row-title { flex-direction: row; align-items: center; }
  body .v1-row-title .v1-game-img { width: 44px; height: 44px; }
  body .v1-row-title strong { font-size: 14px; }
  body .v1-row-title small { font-size: 10px; }
  body .v1-row-meta { grid-column: 1; grid-row: 2; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 5px; padding-top: 0; font-size: 10px; }
  body .v1-row-actions { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  body .link-card .v1-row-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body .v1-row-actions .v1-btn { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; min-height: 34px; height: auto; padding: 5px 3px; font-size: 11px; }
  body .link-card .v1-row-actions .v1-btn { width: 100%; }
  body .v1-row-actions .v1-icon { width: 15px; height: 15px; }
  body .v1-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
  body .v1-toolbar .el-select { width: 100%; min-width: 0; }
  body .v1-toolbar .el-input { width: 100%; min-width: 0; }
  body .v1-toolbar .v1-btn { min-height: 34px; padding: 5px 8px; }
  body .v1-tools-page .container { padding: 12px 10px !important; }
  body.v1-tools-page .form-card,
  body.v1-tools-page .result-card { padding: 14px !important; }
  body .el-dialog { padding: 17px !important; }
  body.v1-login .login-scene { align-items: center; padding: 22px 14px; }
  body.v1-login .login-surface { max-width: 420px; padding: 22px; }
  body.v1-login .login-brand { margin: -22px -22px 18px; padding: 16px 102px 15px 18px; }
  body.v1-login .login-brand > img { width: 52px; height: 52px; }
  body.v1-login .login-brand h1 { font-size: 20px; }
}

@media (max-width: 360px) {
  body .v1-row-actions .v1-btn { font-size: 10px; gap: 3px; }
  body .v1-metric strong { font-size: 15px; }
  body .v1-profile h1 { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  body .v1-gallery-track { animation: none !important; max-width: 100%; overflow-x: auto; }
}
