/* 亲密关系服从性测试报告样式：深海钴蓝档案封面 + 8维花瓣图 + 领奖台 + 便签 + 对话气泡 + 剧本分镜 */

/* 1. 深海钴蓝情绪档案封面卡（全居中排版） */
.obey-cover {
  padding: 13px 14px 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, #16264c 0%, #203b76 54%, #2b59c3 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px -16px rgba(22, 38, 76, 0.55);
  text-align: center;
}

.obey-cover__tag {
  display: inline-block;
  padding: 2.5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffe3a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.obey-cover__score-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-top: 6px;
}

.obey-cover__num {
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.obey-cover__unit {
  color: rgba(228, 238, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
}

.obey-cover__level {
  margin-left: 7px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(242, 165, 65, 0.24);
  border: 1px solid rgba(255, 214, 140, 0.42);
  color: #ffebc2;
  font-size: 12px;
  font-weight: 800;
  align-self: center;
}

.obey-cover__meter {
  width: 74%;
  height: 6px;
  margin: 7px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.obey-cover__meter i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe09a 0%, #f2a541 100%);
}

.obey-cover__primary {
  margin: 6px 0 0;
  color: rgba(228, 238, 255, 0.92);
  font-size: 11.5px;
  font-weight: 600;
}

.obey-cover__quote {
  margin: 8px 0 0;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff4dc;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.obey-cover__desc {
  margin: 7px 0 0;
  padding-top: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(244, 248, 255, 0.92);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

/* 通用卡片容器 */
.obey-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #dce5f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px -20px rgba(23, 35, 59, 0.2);
}

.obey-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.obey-panel__head h3 {
  margin: 0;
  color: #17233b;
  font-size: 14.5px;
  font-weight: 800;
}

.obey-panel__pill {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef3fc, #fdf4e4);
  color: #2349a3;
  font-size: 10px;
  font-weight: 700;
}

.obey-panel__pill--soft {
  background: #eef3fc;
  color: #2b59c3;
}

/* 2. 花瓣玫瑰图 + 2×4 胶囊条 */
.obey-rose-svg {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 8px;
}

.obey-meter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 7px;
  padding-top: 8px;
  border-top: 1px dashed #dce4f2;
}

.obey-meter {
  padding: 6px 8px;
  border-radius: 10px;
  background: #f6f9fe;
}

.obey-meter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.obey-meter__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #1b2842;
  font-size: 11px;
  font-weight: 700;
}

.obey-meter__val {
  flex: none;
  color: var(--meter-color, #2b59c3);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.obey-meter__track {
  height: 5px;
  margin-top: 4px;
  border-radius: 999px;
  background: #e4ebf6;
  overflow: hidden;
}

.obey-meter__track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--meter-color, #2b59c3);
}

/* 3. TOP 3 横向领奖台徽章卡 */
.obey-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.obey-podium__card {
  padding: 9px 8px;
  border: 1px solid #dce5f3;
  border-radius: 13px;
  background: #f6f9fe;
  text-align: center;
}

.obey-podium__card:first-child {
  border-color: rgba(229, 146, 53, 0.45);
  background: linear-gradient(180deg, #fff8ec 0%, #f6f9fe 100%);
}

.obey-podium__badge {
  display: inline-block;
  padding: 1.5px 6px;
  border-radius: 999px;
  background: #2b59c3;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 800;
}

.obey-podium__card:first-child .obey-podium__badge {
  background: #d9822b;
}

.obey-podium__pct {
  display: block;
  margin-top: 5px;
  color: #17233b;
  font-size: 17px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.obey-podium__card:first-child .obey-podium__pct {
  color: #c26f1a;
}

.obey-podium__card h4 {
  margin: 2px 0 4px;
  color: #17233b;
  font-size: 12px;
  font-weight: 800;
}

.obey-podium__card p {
  margin: 0;
  color: #4f5e7a;
  font-size: 10.5px;
  line-height: 1.45;
  text-align: left;
}

/* 4. 2×2 恋爱观察便签 */
.obey-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.obey-note {
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid #dce5f3;
  background: linear-gradient(160deg, #f8faff 0%, #fffaf2 100%);
}

.obey-note__idx {
  display: inline-block;
  margin-bottom: 4px;
  color: #2b59c3;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.obey-note p {
  margin: 0;
  color: #263552;
  font-size: 11px;
  line-height: 1.52;
}

/* 5. 左右错位聊天气泡 */
.obey-bubbles {
  display: grid;
  gap: 10px;
}

.obey-bubble {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.obey-bubble--self {
  align-self: start;
  align-items: flex-start;
}

.obey-bubble--partner {
  justify-self: end;
  align-items: flex-end;
}

.obey-bubble__who {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
}

.obey-bubble--self .obey-bubble__who {
  color: #2b59c3;
}

.obey-bubble--partner .obey-bubble__who {
  color: #c26f1a;
}

.obey-bubble__box {
  padding: 10px 12px;
  font-size: 11.5px;
  line-height: 1.58;
  color: #1f2d47;
}

.obey-bubble--self .obey-bubble__box {
  border: 1px solid rgba(43, 89, 195, 0.22);
  border-radius: 4px 14px 14px 14px;
  background: linear-gradient(135deg, #eef4fd 0%, #f8fbff 100%);
}

.obey-bubble--partner .obey-bubble__box {
  border: 1px solid rgba(229, 146, 53, 0.28);
  border-radius: 14px 4px 14px 14px;
  background: linear-gradient(135deg, #fff6e8 0%, #fffcf6 100%);
}

/* 6. 剧本分镜大水印卡片 */
.obey-scenes {
  display: grid;
  gap: 8px;
}

.obey-scene {
  position: relative;
  overflow: hidden;
  padding: 10px 12px 10px 14px;
  border: 1px solid #dce5f3;
  border-left: 3.5px solid #2b59c3;
  border-radius: 12px;
  background: #f8faff;
}

.obey-scene__wm {
  position: absolute;
  top: 4px;
  right: 10px;
  color: rgba(43, 89, 195, 0.11);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.obey-scene h4 {
  position: relative;
  margin: 0 28px 4px 0;
  color: #17233b;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.38;
}

.obey-scene p {
  position: relative;
  margin: 0;
  color: #3d4d6b;
  font-size: 11.5px;
  line-height: 1.56;
}
