/* The Standard Cup (js/standard-cup-view.js, cup.html). */
.cup-hero { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 28px; align-items: start; }
.cup-score { text-align: center; } .cup-ring { width: 100%; max-width: 220px; color: var(--ink); } .cup-season { margin: 6px 0 0; color: var(--muted); font-weight: 600; }
.cup-ranks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cup-rank { background: var(--mist); border-radius: 12px; padding: 12px; display: grid; gap: 2px; text-align: center; }
.cup-rank span { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); } .cup-rank b { font-size: 1.7rem; } .cup-rank small { color: var(--muted); }
.cup-why { background: #fff6e0; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; } .cup-why ul { margin: 6px 0 0; padding-left: 18px; }
.cup-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cup-pillars li > div:first-child { display: flex; justify-content: space-between; gap: 10px; } .cup-pillars small { color: var(--muted); }
.cup-bar { height: 10px; background: var(--line); border-radius: 6px; overflow: hidden; margin: 4px 0 3px; } .cup-bar i { display: block; height: 100%; background: linear-gradient(90deg, #3952a4, #80287e); border-radius: 6px; }
.cup-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .cup-tips li { display: flex; gap: 10px; align-items: baseline; } .cup-tips .pill { flex: none; }
.cup-board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; } .cup-board-head h2 { margin: 0; }
.cup-seg { display: inline-flex; background: var(--mist); border-radius: 10px; padding: 3px; }
.cup-seg button { border: 0; background: none; font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 8px; min-height: 40px; cursor: pointer; color: var(--muted); }
.cup-seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(27, 37, 80, .15); }
.cup-board { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.cup-board li { display: grid; grid-template-columns: 32px 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); }
.cup-board li.me { border-color: #80287e; background: #f7eef7; }
.cup-board li:nth-child(1) .cup-pos { background: #e0a800; color: #fff; } .cup-board li:nth-child(2) .cup-pos { background: #a7adbb; color: #fff; } .cup-board li:nth-child(3) .cup-pos { background: #b5733b; color: #fff; }
.cup-pos { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--mist); }
.cup-face img, .cup-face span { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #3952a4; color: #fff; font-weight: 800; }
.cup-who { display: grid; min-width: 0; } .cup-who small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .cup-total { font-weight: 800; font-size: 1.15rem; }
.cup-rules ul { padding-left: 18px; line-height: 1.6; } .cup-rules summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; }
@media (max-width: 700px) { .cup-hero { grid-template-columns: 1fr; } .cup-ring { max-width: 170px; } .cup-ranks { gap: 6px; } .cup-rank b { font-size: 1.35rem; } }
/* The Hall of the Standard (cup.html) */
.hall { max-width: 1080px; margin: 0 auto; padding: 28px 16px 60px; }
.hall-hero { text-align: center; padding: 40px 16px 24px; } .hall-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin: 0 0 10px; } .hall-hero p { max-width: 680px; margin: 0 auto; font-size: 1.1rem; color: var(--muted); }
.hall-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 10px; margin: 24px 0 36px; }
.hall-pillars div { background: var(--mist); border-radius: 12px; padding: 14px; } .hall-pillars b { display: block; } .hall-pillars small { color: var(--muted); }
.hall-season h2 { border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
.hall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 12px; margin: 12px 0 24px; }
.hall-card { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #fff; }
.hall-card .cup-face img, .hall-card .cup-face span { width: 56px; height: 56px; } .hall-card div { display: grid; min-width: 0; } .hall-card small { color: var(--muted); }
.hall-card .hall-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #80287e; }
.hall-empty { text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--line); border-radius: 14px; }
/* Client care (js/client-care-view.js) and Mentors (js/mentor-view.js) */
.cc-list, .mt-sug, .mt-pairs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.cc-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; flex-wrap: wrap; }
.cc-row > div:first-child { display: grid; min-width: 0; flex: 1 1 220px; } .cc-row small { color: var(--muted); } .cc-alert { border-color: #c8102e; background: #fdf1f2; }
.cc-note { margin: 6px 0 0; font-style: italic; } .cc-ans { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .cc-ans small { color: var(--muted); } .cc-sum { margin: 4px 0 0; font-size: 1.05rem; }
.mt-h { margin: 6px 0 0; } .mt-pair { display: grid; gap: 10px; } .mt-pair-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; } .mt-pair-head > div { display: grid; } .mt-pair-head small { color: var(--muted); }
.mt-note { margin: 0; font-style: italic; } .mt-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.mt-log ol { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; } .mt-log li { background: var(--mist); border-radius: 10px; padding: 8px 12px; } .mt-log li p { margin: 2px 0 0; } .mt-log small { color: var(--muted); }
.mt-logf { display: grid; gap: 6px; } .mt-logf textarea, .mt-prof textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.mt-sug li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mt-sug .cup-face img, .mt-sug .cup-face span { width: 52px; height: 52px; } .mt-who { display: grid; min-width: 0; } .mt-who small { color: var(--muted); } .mt-who p { margin: 4px 0 0; }
.mt-focus { border: 0; padding: 0; margin: 8px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 0 10px; } .mt-focus legend { font-weight: 700; margin-bottom: 4px; }
.mt-prof .check { display: flex; gap: 8px; align-items: center; min-height: 40px; }
@media (max-width: 560px) { .mt-sug li { grid-template-columns: 44px 1fr; } .mt-sug li .btn { grid-column: 1 / -1; } }
.cup-practice { background: #f7eef7; border: 1px solid #e3c8e2; border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.cc-mail .cf-addr { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .cc-mail code { font-size: 1rem; background: var(--mist); padding: 8px 10px; border-radius: 8px; overflow-wrap: anywhere; user-select: all; }
.cc-steps { padding-left: 18px; line-height: 1.55; } .cc-steps li { margin: 6px 0; } .cc-mail summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.cc-ans select { min-height: 40px; max-width: 100%; }
