/* replica-crud.css - 需求原型与PRD复刻管理系统样式 */

.crud-manage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  margin-right: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  vertical-align: middle;
}
.crud-manage-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35);
  filter: brightness(1.08);
}
.crud-manage-pill:active {
  transform: translateY(0);
}

/* Modal Drawer Overlay */
.crud-drawer-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.crud-drawer-mask.active {
  opacity: 1;
  pointer-events: auto;
}

.crud-drawer-panel {
  width: 720px;
  max-width: 95vw;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.crud-drawer-mask.active .crud-drawer-panel {
  transform: translateX(0);
}

.crud-drawer-header {
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}
.crud-drawer-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.crud-drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 18px;
  line-height: 1;
}
.crud-drawer-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.crud-tabs {
  display: flex;
  padding: 0 24px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  gap: 8px;
}
.crud-tab-btn {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.crud-tab-btn.active {
  color: #7c3aed;
  border-bottom-color: #7c3aed;
  font-weight: 600;
}

.crud-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Forms & Tables */
.crud-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 16px;
}
.crud-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
.crud-table th {
  background: #f8fafc;
  padding: 10px 14px;
  font-weight: 600;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}
.crud-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
}
.crud-table tr:hover td {
  background: #f8fafc;
}

.crud-form-group {
  margin-bottom: 16px;
}
.crud-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 6px;
}
.crud-form-input, .crud-form-select, .crud-form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.crud-form-input:focus, .crud-form-select:focus, .crud-form-textarea:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.crud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.crud-btn-primary {
  background: #7c3aed;
  color: #fff;
}
.crud-btn-primary:hover {
  background: #6d28d9;
}
.crud-btn-secondary {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}
.crud-btn-secondary:hover {
  background: #e2e8f0;
}
.crud-btn-danger {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}
.crud-btn-danger:hover {
  background: #fecaca;
}

/* Toast */
.crud-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #fff;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 999999;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s;
  opacity: 0;
  pointer-events: none;
}
.crud-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* In-Page Password Gate */
.auth-gate-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-gate-card {
  width: 400px;
  max-width: 90vw;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: authFadeIn 0.3s ease;
}
@keyframes authFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.auth-gate-logo {
  width: 48px;
  height: 48px;
  background: #ede9fe;
  color: #7c3aed;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.auth-gate-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}
.auth-gate-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 24px;
}
.auth-gate-hint {
  background: #f1f5f9;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 16px;
  text-align: left;
}

/* H5 / 移动端原型区始终紧贴左侧目录左对齐，切换【查看原型】/【查看PRD】无居中跳动 */
body.end-h5 .doc-canvas,
body.end-web .doc-canvas {
  text-align: left;
}

body.end-h5 .stage,
body.end-web .stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.end-h5 .stage .app,
body.end-h5 .stage #h365,
body.end-h5 .stage #h366,
body.end-h5 .stage #h5-340,
body.end-h5 .stage #m336,
body.end-h5 .stage #h349,
body.end-web .stage .app,
body.end-web .stage #h365,
body.end-web .stage #h366,
body.end-web .stage #h5-340,
body.end-web .stage #m336,
body.end-web .stage #h349,
body.req-365-mobile-hold .stage #h365.is-mobile-hold,
body.req-340-mobile-hold .stage #h5-340.is-mobile-hold,
body.req-367-mobile-hold .stage #h5-340.is-mobile-hold,
body.end-h5 .h365-expand-zone,
body.end-web .h365-expand-zone,
body.end-h5 .h349-plan,
body.end-web .h349-plan {
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* 349 OTHER -> Google Play 商店真实移动端原型样式 */
.h349.is-other-store {
  background: #ffffff;
  color: #202124;
}
.h349-gp {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  font-family: Roboto, "Google Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #202124;
}
.h349-gp-bar {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 12px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #eceff1;
}
.h349-gp-bar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.h349-gp-back {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.h349-gp-back:hover {
  background: #f1f3f4;
}
.h349-gp-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 500;
  color: #5f6368;
  letter-spacing: -0.01em;
}
.h349-gp-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5f6368;
  padding-right: 4px;
}
.h349-gp-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 18px 28px;
  -webkit-overflow-scrolling: touch;
}
.h349-gp-hero {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.h349-gp-icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}
.h349-gp-meta {
  flex: 1;
  min-width: 0;
}
.h349-gp-meta h1 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: #202124;
}
.h349-gp-dev {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 500;
  color: #01875f;
}
.h349-gp-sub {
  margin: 0;
  font-size: 11px;
  color: #5f6368;
}
.h349-gp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 10px 0 16px;
  text-align: center;
}
.h349-gp-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.h349-gp-stat + .h349-gp-stat:before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #e8eaed;
}
.h349-gp-stat b {
  font-size: 13px;
  font-weight: 600;
  color: #202124;
}
.h349-gp-stat span {
  font-size: 11px;
  color: #5f6368;
}
.h349-gp-age {
  display: inline-block;
  padding: 0 4px;
  border: 1.2px solid #202124;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}
.h349-gp-cta {
  position: relative;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 20px;
  background: #01875f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.h349-gp-cta:hover {
  background: #017350;
}
.h349-gp-cta span {
  position: relative;
  z-index: 1;
}
.h349-gp-cta i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--p, 0) * 1%);
  background: rgba(255, 255, 255, 0.25);
}
.h349-gp-cta.is-open {
  background: #e6f4ea;
  color: #01875f;
}
.h349-gp-shots {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 18px;
  scrollbar-width: none;
}
.h349-gp-shots::-webkit-scrollbar {
  display: none;
}
.h349-gp-shots img {
  flex: 0 0 auto;
  width: 136px;
  height: 242px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e8eaed;
  background: #f8f9fa;
}
.h349-gp-about-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.h349-gp-about-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #202124;
}
.h349-gp-about p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: #5f6368;
}
.h349-gp-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.h349-gp-tags span {
  padding: 5px 12px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 12px;
  color: #5f6368;
  background: #ffffff;
}
.h349-gp-tip {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f1f8f5;
  border: 1px solid #cce8db;
  font-size: 11.5px;
  line-height: 1.55;
  color: #1e4635;
}
.h349-gp-tip b {
  color: #01875f;
}

/* 349 Safari跳转优化：嵌入真实报错截图原型样式 */
.h349-safari-proto {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.h349-safari-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 5px 10px;
  border-radius: 8px;
}
.h349-safari-shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  background: #000;
}
.h349-safari-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.h349-safari-meta {
  background: #ffffff;
  border: 1px solid #e6e8ef;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #334155;
}
.h349-safari-meta strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: #0f172a;
}
.h349-safari-meta ul {
  margin: 0 0 8px;
  padding-left: 16px;
}
.h349-safari-meta li {
  margin: 3px 0;
}
.h349-plan-phone img {
  background: #fff !important;
}

/* 365 Filter Selected State + Balanced One-Screen Modal Fit */
.h365.is-funds-filter .h365-gf-panel {
  top: 12% !important;
  max-height: 82% !important;
  padding: 12px 12px 13px !important;
  border-radius: 13px !important;
}
.h365.is-game-filter .h365-gf-panel {
  top: 8% !important;
  max-height: 88% !important;
  padding: 11px 12px 12px !important;
  border-radius: 13px !important;
}
.h365-gf-search {
  height: 34px !important;
  margin-bottom: 9px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
}
.h365-gf-search input {
  font-size: 12.5px !important;
}
.h365-gf-section {
  margin-bottom: 9px !important;
}
.h365-gf-section h4 {
  margin: 0 0 6px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
.h365-gf-list {
  gap: 4px !important;
}
.h365-gf-status-grid {
  gap: 5px !important;
}
.h365-gf-item,
.h365-gf-status {
  min-height: 33px !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}
.h365-gf-box,
.h365-gf-check {
  width: 17px !important;
  height: 17px !important;
  border-radius: 4px !important;
}
.h365-gf-check:after {
  left: 5px !important;
  top: 1px !important;
  width: 4.5px !important;
  height: 8.5px !important;
  border-width: 0 2px 2px 0 !important;
}
.h365-gf-actions {
  gap: 10px !important;
  padding-top: 4px !important;
}
.h365-gf-reset,
.h365-gf-apply {
  height: 38px !important;
  border-radius: 9px !important;
  font-size: 13.5px !important;
}
.h365-gf-item.is-on,
.h365-gf-status.is-on {
  background: #fff6ee !important;
  color: #ff5800 !important;
}
.h365-gf-status.is-on {
  border-color: #ffe3cf !important;
}

/* =========================================================
   367 Sports Landing Page — Admin Only Layout, PRD & UI
   ========================================================= */
body.req-367-admin #admin-banner {
  display: block !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #eef0f4;
  isolation: isolate;
  z-index: 1;
}
body.req-367-admin .admin-frame {
  display: none !important;
}
body.req-367-admin .ap-side {
  flex: 0 0 200px;
  width: 200px;
}
body.req-367-admin .workspace-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: start;
  min-width: 1180px;
}
body.req-367-admin .doc-outline {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  flex-basis: 200px;
}
body.req-367-admin.outline-collapsed .workspace-body {
  grid-template-columns: 36px minmax(0, 1fr);
}
body.req-367-admin .doc-pending {
  width: min(1440px, calc(100vw - 240px));
}
body.req-367-admin.outline-collapsed .doc-pending {
  width: min(1440px, calc(100vw - 56px));
}
body.req-367-admin .doc-prd {
  display: block !important;
  grid-column: 2;
  grid-row: 2;
  width: auto;
  min-width: 0;
  max-width: min(1440px, calc(100vw - 240px));
  margin: 0 20px 28px;
  padding: 18px 22px 32px;
  max-height: none;
  position: static;
  top: auto;
  overflow: visible;
  border-left: 0;
  border-top: 1px solid #e8e8e8;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 0 0 1px #0000000a;
}
body.req-367-admin.outline-collapsed .doc-prd {
  max-width: min(1440px, calc(100vw - 56px));
}
body.req-367-admin.mode-proto .doc-prd,
body.req-367-admin.prd-panel-hidden .doc-prd {
  display: none !important;
}
body.req-367-admin .anno-layer {
  display: block !important;
  pointer-events: none;
}
body.req-367-admin.mode-proto .anno-layer {
  display: none !important;
}
body.req-367-admin .anno-layer .anno i[data-prd-jump],
body.req-367-admin .prd-no[data-prd-jump] {
  pointer-events: auto;
  cursor: pointer;
}
body.req-367-admin .prd-point.prd-flash,
body.req-367-admin .anno.prd-flash {
  animation: prd-flash-pulse 1s ease-in-out 2;
  border-radius: 6px;
}
body.req-367-admin .prd-point.prd-flash {
  background: #7c3aed14;
}

/* 367 Prototype Inner Page */
.p367-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 14px 16px;
  min-height: 0;
  flex: 1;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.p367-search-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p367-search-row {
  display: grid;
  gap: 10px 12px;
  align-items: end;
}
.p367-row-1 {
  grid-template-columns: 1.3fr 1fr 0.95fr 0.95fr 0.85fr;
}
.p367-row-2 {
  grid-template-columns: 1.45fr 1.45fr 1fr 1fr auto;
}
.p367-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.p367-field label {
  font-size: 11.5px;
  font-weight: 500;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.p367-field input[type="text"],
.p367-field select {
  height: 31px;
  padding: 0 9px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #1f2937;
  font-size: 12px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.p367-field input[type="text"]:focus,
.p367-field select:focus,
.p367-range-box:focus-within {
  border-color: #1e3a6e;
  box-shadow: 0 0 0 2px rgba(30, 58, 110, 0.1);
}
.p367-range-box {
  display: flex;
  align-items: center;
  height: 31px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  padding: 0 6px;
  gap: 4px;
  box-sizing: border-box;
}
.p367-range-box input[type="date"] {
  border: 0;
  outline: none;
  background: transparent;
  font-size: 11.5px;
  color: #1f2937;
  flex: 1;
  min-width: 0;
  padding: 0;
  height: 28px;
}
.p367-range-sep {
  color: #9ca3af;
  font-size: 12px;
  flex: 0 0 auto;
}
.p367-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  padding-bottom: 1px;
}
.p367-btn-search {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 31px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #1e3a6e;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.p367-btn-search:hover {
  background: #162d57;
}
.p367-btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 31px;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.p367-btn-reset:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.p367-new-tag {
  display: inline-block;
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 14px;
  padding: 0 5px;
  border-radius: 3px;
  background: #ef4444;
  color: #fff;
  letter-spacing: 0.3px;
  vertical-align: middle;
}
.p367-table-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.p367-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.p367-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.p367-total {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}
.p367-active-chip {
  font-size: 11px;
  font-weight: 600;
  color: #6d28d9;
  background: #f3e8ff;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  padding: 2px 8px;
}
.p367-btn-create {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  background: #1890ff;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  cursor: default;
}
.p367-table-wrap {
  max-height: 410px;
  overflow: auto;
  border: 1px solid #ebeef5;
  border-radius: 4px;
}
.p367-table {
  border-collapse: collapse;
  table-layout: auto !important;
  width: max-content !important;
  min-width: 100% !important;
  font-size: 12px;
  background: #fff;
}
.p367-table th,
.p367-table td {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: left;
  vertical-align: middle;
}
.p367-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8fafc !important;
  color: #374151 !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-bottom: 1px solid #e5e7eb !important;
}
.p367-table td {
  padding: 9px 14px !important;
  color: #1f2937;
  border-bottom: 1px solid #f1f5f9 !important;
}
.p367-table tbody tr:hover td {
  background: #f8fafc;
}
.p367-col-no {
  text-align: center !important;
  color: #6b7280 !important;
}
.p367-col-name {
  font-weight: 600;
  color: #111827 !important;
}
.p367-col-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.p367-col-num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
}
.p367-col-time {
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: #4b5563;
}
.p367-col-user {
  font-size: 11.5px;
}
.p367-plat {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: #eff6ff;
  color: #1d4ed8;
}
.p367-status {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.p367-status.is-online {
  background: #ecfdf5;
  color: #059669;
}
.p367-status.is-offline {
  background: #f3f4f6;
  color: #6b7280;
}
.p367-status.is-draft {
  background: #fff7ed;
  color: #d97706;
}
.p367-col-ops {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
}
.p367-op {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 11px;
  border: 1px solid transparent;
  cursor: default;
}
.p367-op.is-blue { color: #2563eb; background: #eff6ff; border-color: #bfdbfe; }
.p367-op.is-green { color: #16a34a; background: #f0fdf4; border-color: #bbf7d0; }
.p367-op.is-amber { color: #d97706; background: #fffbeb; border-color: #fde68a; }
.p367-op.is-cyan { color: #0891b2; background: #ecfeff; border-color: #a5f3fc; }
.p367-op.is-red { color: #dc2626; background: #fef2f2; border-color: #fecaca; }
.p367-empty-stage {
  position: sticky;
  left: 0;
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-sizing: border-box;
}
.p367-empty-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 36px;
}
.p367-empty-box strong {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}
.p367-toast {
  position: fixed;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  background: #dc2626;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  z-index: 9999;
}

/* Admin catalog: hide left outline sidebar and use full width */
#cat-outline,
.cat-outline {
  display: none !important;
}
.cat-body {
  display: block;
}
.cat-main {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Bidirectional PRD <-> Prototype annotation badge clickability & flash */
.anno-layer .anno i[data-prd-jump] {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 2;
}
.prd-no[data-prd-jump] {
  cursor: pointer !important;
}
.prd-point.prd-flash,
.anno.prd-flash {
  animation: prd-flash-pulse 0.65s ease-in-out 3;
  border-radius: 6px;
}

/* ===== 366 SABA Promo Landing Page League Filter Carousel (H5) ===== */
body.req-366-h5 .doc-pending,
body.req-366-h5 .stage .app,
body.req-366-h5 .stage #h5-340,
body.req-366-h5 .stage #h349,
body.req-366-h5 .stage #h365,
body.req-366-h5 .stage #m336 {
  display: none !important;
}
body.req-366-h5 .stage #h366 {
  display: flex;
}
body.req-366-h5 .prd-no {
  background: #7c3aed !important;
}
body.req-366-h5 .anno-layer .anno i[data-prd-jump] {
  pointer-events: auto;
  cursor: pointer;
}
body.req-366-h5 .prd-no[data-prd-jump] {
  cursor: pointer;
}
body.req-366-h5 .prd-point.prd-flash,
body.req-366-h5 .anno.prd-flash {
  animation: prd-flash-purple 1.2s ease-out;
}
body.req-366-h5 .prd-point.prd-flash {
  background: #7c3aed14;
}
body.req-366-h5 .anno.prd-flash {
  border-color: #5b21b6;
}
body.req-366-h5 .anno.prd-flash i,
body.req-366-h5 .prd-point.prd-flash .prd-no {
  transform: scale(1.18);
}
.h366 {
  display: none;
  width: 390px;
  height: min(740px, calc(100vh - 110px));
  max-height: min(740px, calc(100vh - 110px));
  margin: 0;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  background: #f4f4f4;
  color: #1f2937;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(15, 23, 42, 0.08);
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}
.h366[hidden] {
  display: none !important;
}
body.req-366-noprd .doc-prd,
body.req-366-noprd .doc-wires,
body.req-366-noprd .anno-layer {
  display: none !important;
}
.h366.is-compare {
  width: min(860px, calc(100vw - 320px));
  max-width: min(860px, calc(100vw - 320px));
  min-width: 660px;
  height: auto;
  max-height: calc(100vh - 96px);
  background: #fff;
  border-radius: 10px;
  overflow-y: auto;
}
body.req-366-h5.mode-proto .h366.is-compare,
body.req-366-noprd .h366.is-compare {
  width: min(880px, calc(100vw - 300px));
  max-width: min(880px, calc(100vw - 300px));
}
.p366-compare {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
}
.p366-compare-head {
  padding: 16px 20px 14px;
  border-bottom: 1px solid #eef0f4;
}
.p366-compare-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.p366-compare-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3e8ff;
  color: #7c3aed;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
.p366-compare-title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.p366-compare-desc {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.65;
  color: #4b5563;
}
.p366-compare-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p366-cmp-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.p366-cmp-pill.is-saba {
  background: #f3f4f6;
  color: #374151;
}
.p366-cmp-pill.is-altenar {
  background: #ecfdf5;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.p366c-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 20px;
  padding: 18px 20px 24px;
  background: #f8fafc;
}
.p366c-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.p366c-col-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
  text-align: center;
}
.p366c-col-title.is-alt {
  color: #15803d;
}
.p366c-phone {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 6px 20px rgba(15, 23, 42, 0.07);
}
.p366c-top {
  background: #fff;
  border-bottom: 1px solid #eceef2;
}
.p366c-title {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  padding: 10px 12px 6px;
}
.p366c-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 36px;
}
.p366c-tabs span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}
.p366c-tabs span img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
}
.p366c-tabs span.is-on {
  color: #111827;
  font-weight: 700;
}
.p366c-tabs span.is-on img {
  opacity: 1;
  filter: none;
}
.p366c-tabs span.is-on::after {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: #ff6a00;
}
.p366c-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.p366c-card {
  background: #fff;
  border-radius: 10px;
  padding: 10px 11px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.p366c-brow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
}
.p366c-brow:first-child {
  padding-top: 0;
}
.p366c-brow:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.p366c-bgift {
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: none;
}
.p366c-gbox {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.p366c-bgift b {
  font-size: 10.5px;
  font-weight: 700;
  color: #111827;
}
.p366c-bmid {
  flex: 1;
  min-width: 0;
}
.p366c-btop {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #1f2937;
}
.p366c-bsub {
  font-size: 10.5px;
  color: #6b7280;
  margin: 1px 0 4px;
}
.p366c-bbar {
  height: 5px;
  border-radius: 999px;
  background: #ebedf0;
}
.p366c-block {
  flex: none;
  padding: 5px 11px;
  border-radius: 6px;
  background: #f1f2f5;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
}
.p366c-no-filter-note {
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  font-size: 11px;
  color: #6b7280;
  text-align: center;
}
.p366c-smatch {
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f6;
}
.p366c-smatch:last-of-type {
  border-bottom: 0;
}
.p366c-shead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.p366c-slg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #111827;
}
.p366c-slive {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: #ef4444;
}
.p366c-slive i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
}
.p366c-steam {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.p366c-steam > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.p366c-steam em {
  font-style: normal;
  font-size: 11.5px;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p366c-steam b {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}
.p366c-sodds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 6px;
}
.p366c-sodds span {
  height: 27px;
  border-radius: 6px;
  background: #f2f3f6;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.p366c-green-box {
  position: relative;
  margin: -2px -3px 10px;
  padding: 6px 6px 6px;
  border: 2.5px solid #22c55e;
  border-radius: 9px;
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}
.p366c-green-tag {
  position: absolute;
  top: -10px;
  right: 8px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}
.p366c-cpills {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  padding-top: 2px;
}
.p366c-cpills span {
  flex: none;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 10.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.p366c-cpills span.is-on {
  background: #fff5ed;
  border-color: #ff6a00;
  color: #ff5800;
  font-weight: 700;
}
.p366c-carrow {
  margin-left: auto;
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  color: #16a34a;
  padding-left: 2px;
}
.p366c-amatch {
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f6;
}
.p366c-amatch:last-of-type {
  border-bottom: 0;
}
.p366c-ahead {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #6b7280;
  margin-bottom: 6px;
}
.p366c-sgp {
  padding: 1px 5px;
  border-radius: 4px;
  background: #ff6a00;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
}
.p366c-alg {
  margin-left: auto;
  font-weight: 600;
  color: #4b5563;
}
.p366c-arow {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 44px 54px 58px;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}
.p366c-arow:last-child {
  margin-bottom: 0;
}
.p366c-ateam {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.p366c-ateam em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p366c-acell {
  height: 30px;
  border-radius: 6px;
  background: #f2f3f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}
.p366c-acell i {
  font-style: normal;
  font-size: 9px;
  color: #6b7280;
}
.p366c-acell b {
  font-size: 11px;
  font-weight: 700;
  color: #111827;
  font-variant-numeric: tabular-nums;
}
.p366c-more {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.p366c-more span {
  height: 26px;
  padding: 0 24px;
  border-radius: 6px;
  background: #eef0f4;
  color: #1f2937;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.p366c-rules {
  flex: 1;
}
.p366c-rules h4 {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
}
.p366c-rules p {
  margin: 0 0 4px;
  font-size: 11px;
  line-height: 1.5;
  color: #4b5563;
}
.p366c-rules p:last-child {
  margin-bottom: 0;
}
.p366c-nav {
  height: 46px;
  background: #fff;
  border-top: 1px solid #eceef2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 4px;
}
.p366c-nav > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #6b7280;
  font-size: 9.5px;
}
.p366c-nav > span i {
  font-style: normal;
}
.p366c-nav > span.is-on {
  color: #ff5800;
  font-weight: 700;
}
.p366c-nav > span.is-fab b {
  width: 38px;
  height: 38px;
  margin-top: -10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a29, #ff5200);
  color: #fff;
  font-size: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(255, 82, 0, 0.35);
}
.p366-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #f4f4f4;
}
.p366-sticky-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}
.p366-phone.is-sticky .p366-sticky-chrome {
  opacity: 1;
  pointer-events: auto;
}
.p366-sticky-title-bar {
  width: 100%;
  aspect-ratio: 445 / 72;
  min-height: 61px;
  line-height: 0;
  background: #fff;
}
.p366-sticky-title-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 445 / 72;
  -webkit-user-select: none;
  user-select: none;
}
.p366-sticky-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 44px;
  background: #fff;
  border-top: 1px solid #f1f2f5;
  border-bottom: 1px solid #eceef2;
}
.p366-stab {
  position: relative;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
}
.p366-stab img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1);
}
.p366-stab.is-on {
  color: #111827;
  font-weight: 700;
}
.p366-stab.is-on img {
  opacity: 1;
  filter: none;
}
.p366-stab.is-on::after {
  content: "";
  position: absolute;
  left: 34%;
  right: 34%;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: #ff6a00;
}
.p366-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #f4f4f4;
  -webkit-overflow-scrolling: touch;
}
.p366-shot-top,
.p366-shot-bottom {
  position: relative;
  width: 100%;
  flex: none;
  line-height: 0;
}
.p366-shot-top > img {
  aspect-ratio: 564 / 1542;
}
.p366-shot-top > img,
.p366-shot-bottom > img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-select: none;
  user-select: none;
}
.p366-inline-tab-hots {
  position: absolute;
  left: 0;
  right: 0;
  top: 37.2%;
  height: 5.2%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  z-index: 4;
}
.p366-inline-tab-hots button {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.p366-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.p366-matches-card {
  margin: 10px 11px 6px;
  padding: 10px 12px 14px;
}
.p366-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2px 0 10px;
  border-bottom: 1px solid #f1f3f6;
  margin-bottom: 10px;
}
.p366-carousel-track {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 26px 2px 2px;
  flex: 1;
  min-width: 0;
  scroll-behavior: smooth;
}
.p366-carousel-track::-webkit-scrollbar {
  display: none;
}
.p366-pill {
  flex: none;
  height: 27px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid #eceef2;
  background: #f2f3f6;
  color: #4b5563;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.p366-pill:hover {
  background: #e9ecf2;
}
.p366-pill.is-on {
  background: #fff5ed;
  border-color: #ff6a00;
  color: #ff5800;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(255, 88, 0, 0.12);
}
.p366-carousel-arrow {
  position: absolute;
  right: 0;
  top: 2px;
  width: 24px;
  height: 29px;
  border: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), #fff 38%);
  color: #6b7280;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2px;
  cursor: pointer;
}
.p366-carousel-arrow:hover {
  color: #111827;
}
.p366-match-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p366-match-card {
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f3f6;
}
.p366-match-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.p366-match-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.p366-match-league {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}
.p366-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: #ef4444;
}
.p366-live-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  display: inline-block;
}
.p366-time-tag {
  font-size: 10.5px;
  color: #9ca3af;
}
.p366-team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.p366-team-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.p366-crest {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.p366-team-name {
  font-size: 12.5px;
  font-weight: 500;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p366-team-score {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  min-width: 20px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.p366-odds-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.p366-odd-btn {
  height: 32px;
  border-radius: 6px;
  border: 1px solid #eceef2;
  background: #f3f4f6;
  color: #111827;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.p366-odd-btn.is-picked {
  background: #fff5ed;
  border-color: #ff6a00;
  color: #ff5800;
}
.p366-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 12px;
}
.p366-more-wrap.is-done span {
  font-size: 11px;
  color: #9ca3af;
}
.p366-more-btn {
  height: 32px;
  padding: 0 32px;
  border-radius: 8px;
  border: 0;
  background: #eef0f4;
  color: #1f2937;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.p366-more-btn:hover {
  background: #e5e7eb;
}


/* === 340 H5: Nested outline hierarchy & unified single-layer reward buttons === */
body.req-340-h5 .outline-nest-row,
body.req-367-h5 .outline-nest-row {
  display: flex;
  align-items: center;
  gap: 2px;
}
body.req-340-h5 .outline-nest-row .outline-nest-parent,
body.req-367-h5 .outline-nest-row .outline-nest-parent {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 4px;
}
body.req-340-h5 .outline-nest-caret,
body.req-367-h5 .outline-nest-caret {
  flex: 0 0 26px;
  width: 26px !important;
  height: 28px;
  margin: 0;
  padding: 0 !important;
  border: 0;
  border-left: 0 !important;
  background: transparent;
  color: #8a8f98;
  font-size: 11px;
  line-height: 28px;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}
body.req-340-h5 .outline-nest.open .outline-nest-caret,
body.req-367-h5 .outline-nest.open .outline-nest-caret {
  color: #2f6fed;
}
body.req-340-h5 .outline-nest-children,
body.req-367-h5 .outline-nest-children {
  position: relative;
  display: flex;
  flex-direction: column;
}
body.req-340-h5 .outline-nest-children[hidden],
body.req-367-h5 .outline-nest-children[hidden] {
  display: none !important;
}
body.req-340-h5 .doc-outline button.outline-child.outline-depth-2,
body.req-367-h5 .doc-outline button.outline-child.outline-depth-2 {
  position: relative;
  padding-left: 52px;
  color: #666;
  font-size: 12px;
}
body.req-340-h5 .doc-outline button.outline-child.outline-depth-2::before,
body.req-367-h5 .doc-outline button.outline-child.outline-depth-2::before {
  content: "";
  position: absolute;
  left: 41px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #a0a7b4;
}
body.req-340-h5 .doc-outline button.outline-child.outline-depth-2.on,
body.req-367-h5 .doc-outline button.outline-child.outline-depth-2.on {
  color: #2f6fed;
  font-weight: 600;
}
body.req-340-h5 .doc-outline button.outline-child.outline-depth-2.on::before,
body.req-367-h5 .doc-outline button.outline-child.outline-depth-2.on::before {
  background: #2f6fed;
}

.h5-340-net-reward-slot {
  position: absolute;
  z-index: 8;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-sizing: border-box;
}
.h5-340-net-reward-slot > .h5-340-net-reward {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px !important;
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  border: 0;
  box-shadow: none;
  box-sizing: border-box;
}


/* === Acceptance Criteria table (365 & 340 PRD) === */
.doc-prd h2.prd-ac-title {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #eceef2;
}
.doc-table.prd-ac-table {
  width: 100%;
  margin: 10px 0 18px;
  border: 1px solid #d9dde5;
  border-collapse: collapse;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.6;
}
.doc-table.prd-ac-table thead th {
  background: #f5f7fa;
  color: #333;
  font-weight: 600;
  border: 1px solid #d9dde5;
  padding: 8px 10px;
  text-align: center;
  white-space: nowrap;
}
.doc-table.prd-ac-table tbody td {
  border: 1px solid #d9dde5;
  padding: 8px 10px;
  color: #333;
  vertical-align: top;
}
.doc-table.prd-ac-table th:first-child,
.doc-table.prd-ac-table td:first-child {
  width: 48px;
  text-align: center;
  white-space: nowrap;
  color: #555;
}
.doc-table.prd-ac-table th:nth-child(2),
.doc-table.prd-ac-table td:nth-child(2) {
  width: 150px;
  font-weight: 500;
  color: #222;
}
.doc-table.prd-ac-table td:last-child {
  min-width: 0;
}
