/* Ranking and expanded cards follow the approved November 2026 design. */
:root {
  --ink: #344655;
  --muted: #788894;
  --line: #e3edf2;
  --accent: #9acfe5;
  --accent-strong: #4b7a91;
  --accent-soft: #f2fafc;
  --stat-bar: #a4d5e9;
  --stat-bar-height: 6px;
  --page: #f7fbfd;
}
body { background: var(--page); color: var(--ink); font-family: "Noto Sans JP", "Yu Gothic UI", "Hiragino Sans", sans-serif; -webkit-font-smoothing: antialiased; }
/* One original, lettering-free symbol stays behind the page content. */
body::before {
  content: "";
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background: url("/img/chiyuri-symbol-white.png") no-repeat right -120px top 100px;
  background-size: clamp(620px, 82vw, 1120px) auto;
}
button, select, a { -webkit-tap-highlight-color: transparent; }
button, select { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.rk-guide-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: -3px 0 19px; }
.rk-guide-links button { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 64px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 13px; background: #ffffffd9; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.rk-guide-links button:hover { border-color: var(--accent); background: #fff; }
.rk-guide-link-icon { display: grid; place-items: center; flex-shrink: 0; width: 35px; height: 35px; border-radius: 11px; background: #f0f8fc; color: #83b8d0; }
.rk-guide-links button:first-child .rk-guide-link-icon { background: #fff2f7; color: #d88caa; }
.rk-guide-links strong { display: block; font-size: 13px; font-weight: 750; line-height: 1.6; }
.rk-guide-links small { display: block; color: var(--muted); font-size: 10px; line-height: 1.6; }
.rk-guide-links button > .rk-icon { width: 13px; height: 13px; margin-left: auto; color: #9ab2bf; }
.rk-guide-dialog { width: 800px; max-width: calc(100% - 36px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid #e3edf2; border-radius: 23px; background: #fff; color: var(--ink); box-shadow: 0 24px 100px #34465526; }
.rk-guide-dialog[open] { display: flex; flex-direction: column; }
.rk-guide-dialog::backdrop { background: #34465566; backdrop-filter: blur(4px); }
.rk-guide-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 16px; padding: 25px 28px 17px; border-top: 4px solid #c7e5f2; background: linear-gradient(110deg,#f9fdff,#fff 70%,#fff8fb); }
.rk-guide-header .rk-eyebrow { font-size: 10px; }
.rk-guide-header h2 { margin: 0; font-size: 26px; line-height: 1.5; letter-spacing: .025em; }
.rk-guide-close { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 25px; line-height: 1; cursor: pointer; }
.rk-guide-close:hover { color: var(--accent-strong); background: var(--accent-soft); }
.rk-guide-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 0 28px 25px; scrollbar-width: thin; }
.rk-exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.rk-exp-card { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #f8fcfe; }
.rk-exp-heart { background: #fff9fc; border-color: #f3e5ec; }
.rk-exp-icon { position: absolute; top: 18px; right: 17px; color: #b4d7e7; }
.rk-exp-icon .rk-icon { width: 27px; height: 27px; }
.rk-exp-heart .rk-exp-icon { color: #e4adc3; }
.rk-exp-card h3 { margin: 0; font-size: 13px; font-weight: 700; }
.rk-exp-card p { margin: 12px 0 7px; font-size: 12px; white-space: nowrap; }
.rk-exp-card p strong { font-size: 24px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.rk-exp-card small { color: var(--muted); font-size: 11px; line-height: 1.7; }
.rk-exp-evolution { display: grid; grid-template-columns: 130px minmax(0,1fr) 20px minmax(0,1fr); align-items: center; gap: 12px; padding: 19px 16px; margin-top: 18px; border-radius: 13px; background: linear-gradient(105deg,#f2fafd,#fff8fc); }
.rk-exp-evolution > span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; }
.rk-exp-evolution .rk-icon { color: #9fcade; }
.rk-exp-evolution p { margin: 0; text-align: center; }
.rk-exp-evolution strong { display: block; font-size: 20px; color: var(--accent-strong); }
.rk-exp-evolution p span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.rk-guide-note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.9; }
.rk-book-tools { position: sticky; top: 0; z-index: 1; padding: 2px 0 12px; background: #fff; }
.rk-book-search { display: flex; align-items: center; gap: 10px; padding: 0 13px; min-height: 45px; border: 1px solid var(--line); border-radius: 11px; background: #f8fcfe; color: #8eb5c7; }
.rk-book-search:focus-within { border-color: var(--accent); }
.rk-book-search input { width: 100%; min-width: 0; padding: 11px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; }
.rk-book-search input::placeholder { color: #94a8b2; }
.rk-book-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.rk-book-filters button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 34px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 11px; cursor: pointer; }
.rk-book-filters button .rk-icon { width: 14px; height: 14px; }
.rk-book-filters button[aria-pressed="true"] { border-color: #b5d8e7; background: #edf7fc; color: var(--accent-strong); font-weight: 750; }
.rk-book-howto { margin: 1px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.rk-book-count { margin: 12px 0; color: #8b9fa9; font-size: 11px; font-variant-numeric: tabular-nums; }
.rk-book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.rk-book-grid > .rk-empty { grid-column: 1 / -1; }
.rk-book-card { --book-tint: #f5f9fc; --book-line: #d7e7f0; display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid var(--book-line); border-radius: 15px; background: linear-gradient(135deg,var(--book-tint),#fff 65%); }
.rk-book-tulip { --book-tint: #fff7fa; --book-line: #efdde6; }
.rk-book-heart { --book-tint: #f2faff; --book-line: #dcebf3; }
.rk-book-wing { --book-tint: #f8f7fe; --book-line: #e5e1f1; }
.rk-book-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rk-book-number { color: #a1b2bd; font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.rk-book-type { display: flex; align-items: center; gap: 2px; color: #839ba7; font-size: 10px; }
.rk-book-type .rk-icon { width: 16px; height: 16px; }
.rk-book-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 12px 0 3px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.rk-book-special { padding: 2px 5px; border-radius: 4px; background: #f7edf2; color: #bd819a; font-size: 8px; letter-spacing: .06em; }
.rk-book-acquisition { margin: 0; color: #8a9ba4; font-size: 10px; line-height: 1.7; }
.rk-book-effect { flex: 1; margin: 12px 0 15px; color: #647d8b; font-size: 12px; line-height: 1.85; }
.rk-book-specs { display: flex; gap: 22px; margin: 0; padding-top: 11px; border-top: 1px solid var(--line); }
.rk-book-specs dt { color: #99aab4; font-size: 9px; }
.rk-book-specs dd { margin: 3px 0 0; color: var(--accent-strong); font-size: 13px; font-weight: 750; line-height: 1.5; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .rk-guide-links { gap: 8px; margin: -2px 0 15px; }
  .rk-guide-links button { gap: 8px; padding: 10px; min-height: 61px; border-radius: 11px; }
  .rk-guide-link-icon { width: 27px; height: 31px; border-radius: 9px; }
  .rk-guide-link-icon .rk-icon { width: 18px; height: 18px; }
  .rk-guide-links strong { font-size: 11px; }
  .rk-guide-links small { font-size: 8px; }
  .rk-guide-links button > .rk-icon { display: none; }
  .rk-guide-dialog { max-width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .rk-guide-header { padding: 17px 17px 12px; gap: 8px; }
  .rk-guide-header h2 { font-size: 21px; }
  .rk-guide-header .rk-eyebrow { font-size: 8px; }
  .rk-guide-close { width: 36px; height: 36px; }
  .rk-guide-scroll { padding: 0 17px 19px; }
  .rk-exp-grid { gap: 9px; }
  .rk-exp-card { padding: 15px 12px; }
  .rk-exp-icon { top: 13px; right: 11px; }
  .rk-exp-icon .rk-icon { width: 20px; height: 20px; }
  .rk-exp-card h3 { font-size: 12px; }
  .rk-exp-card p { margin-top: 17px; font-size: 10px; }
  .rk-exp-card p strong { font-size: 18px; }
  .rk-exp-card small { font-size: 9px; }
  .rk-exp-evolution { display: grid; grid-template-columns: 1fr 20px 1fr; gap: 10px; padding: 15px; text-align: center; }
  .rk-exp-evolution > span { grid-column: 1 / -1; justify-content: center; }
  .rk-guide-note { font-size: 10px; }
  .rk-book-search input { font-size: 16px; }
  .rk-book-filters { gap: 6px; }
  .rk-book-filters button { min-height: 34px; padding: 5px 9px; font-size: 10px; }
  .rk-book-grid { grid-template-columns: 1fr; gap: 11px; }
}
.rk-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.rk-icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.rk-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(900px, calc(100% - 48px)); padding: 26px 0 36px; }
body.is-ranking .hero { display: none; }
#summarySection:empty { display: none; }
body.is-ranking #contentSection { padding: 0; margin: 0; background: none; box-shadow: none; border: 0; border-radius: 0; backdrop-filter: none; }
.rk-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 10px 24px; margin-bottom: 22px; }
.rk-heading-title { min-width: 0; }
.rk-eyebrow { margin: 0 0 4px; color: var(--accent-strong); font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.rk-title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 36px; line-height: 1.4; letter-spacing: .035em; color: var(--ink); text-shadow: none; }
.rk-title::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #f576a5; }
.rk-month { position: relative; display: flex; align-items: center; justify-self: end; margin-bottom: 3px; }
.rk-month select { appearance: none; border: 1px solid #e6eff4; background: #fdfeff; border-radius: 10px; min-height: 48px; padding: 0 43px 0 18px; font-size: 17px; font-weight: 750; cursor: pointer; }
.rk-month > .rk-icon { position: absolute; right: 13px; pointer-events: none; width: 18px; }
.rk-meta { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: 12px; }
.rk-search { display: flex; align-items: center; gap: 8px; width: 250px; max-width: 100%; margin-left: auto; padding: 0 11px; border: 1px solid #e6eff4; border-radius: 10px; background: #fdfeff; }
.rk-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px #87bed91a; }
.rk-search > .rk-icon { width: 16px; height: 16px; }
.rk-search input { min-width: 0; width: 100%; min-height: 36px; padding: 6px 0; border: 0; outline: none; background: transparent; color: var(--ink); font: inherit; font-size: 13px; }
.rk-search input::placeholder { color: #8799a2; }
.rk-search-status { margin: -10px 0 14px; color: var(--muted); font-size: 12px; }
.rk-search-status:empty { display: none; }
.rk-ranking-footer[hidden] { display: none; }
.rk-count { padding-right: 12px; border-right: 1px solid #e5eff3; color: inherit; font-size: inherit; font-variant-numeric: tabular-nums; }
.rk-count small { margin-left: 2px; font-size: inherit; }
.rk-updated { margin: 0; font-size: inherit; color: inherit; }
.list { gap: 12px; }
.monsterRow.rk-card { --medal: #5e727c; --ribbon: #8a9ea8; position: relative; border-radius: 17px; border: 1px solid #eaf1f5; background: #fff; box-shadow: 0 2px 3px #385b6d05; overflow: hidden; }
.monsterRow.rk-card.rk-place-1 { --medal: #98600a; --ribbon: #efb746; border-color: #ecc570; background: #fffcf3; }
.monsterRow.rk-card.rk-place-2 { --medal: #657c88; --ribbon: #aabfc9; border-color: #ccdde5; background: #fbfdfe; }
.monsterRow.rk-card.rk-place-3 { --medal: #975c45; --ribbon: #cb987f; border-color: #dfb19c; background: #fffaf8; }
.rk-ribbon { position: absolute; left: 15px; top: -1px; display: grid; place-items: start center; padding-top: 7px; width: 24px; height: 35px; background: var(--ribbon); color: #fff; clip-path: polygon(0 0,100% 0,100% 100%,50% 81%,0 100%); pointer-events: none; }
.rk-ribbon .rk-icon { width: 14px; height: 14px; fill: currentColor; stroke-width: 0; }
.rk-summary { position: relative; display: grid; grid-template-columns: 52px 112px minmax(0, 1fr) 190px 74px 18px; grid-template-rows: auto; align-items: center; gap: 18px; padding: 16px 19px; min-height: 140px; cursor: pointer; }
.monsterToggle { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 118px; height: 100%; border: 0; border-radius: 16px; background: transparent; cursor: pointer; }
.monsterToggle:focus-visible { outline-offset: -4px; }
.monsterToggle:hover { background: #87bed903; }
.rk-rank { grid-column: 1; grid-row: 1; color: var(--medal); font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 40px; line-height: 1; text-align: center; font-variant-numeric: lining-nums tabular-nums; }
.rk-rank-long { font-size: 30px; }
.rk-rank-longer { font-size: 22px; }
.rk-art { grid-column: 2; grid-row: 1; width: 112px; height: 108px; display: flex; align-items: center; justify-content: center; }
.rk-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rk-art[data-monster-type="all"] img { transform: scale(1.25); }
.rk-identity { grid-column: 3; grid-row: 1; min-width: 0; }
.rk-owner { position: relative; z-index: 2; display: block; width: fit-content; max-width: 100%; font-size: 18px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.rk-owner:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.rk-nickname { display: flex; gap: 7px; align-items: center; min-width: 0; margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.rk-nickname > span { min-width: 0; overflow-wrap: anywhere; }
.rk-type { color: var(--accent); width: 19px; height: 19px; }
.rk-type-tulip { color: #ef82a6; }
.rk-level { grid-column: 5; grid-row: 1; justify-self: end; text-align: left; min-width: 64px; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.rk-level span { display: block; font-size: 14px; font-weight: 600; margin: 0 0 3px 2px; }
.rk-level strong { display: block; font-size: 42px; letter-spacing: -.045em; font-weight: 800; }
.rk-arrow { grid-column: 6; grid-row: 1; width: 18px; height: 18px; color: #738a96; transition: transform .15s; }
.rk-card.is-open .rk-arrow { transform: rotate(-90deg); }
.rk-stats { grid-column: 4; grid-row: 1; display: grid; grid-template-columns: 1fr; align-items: center; justify-self: stretch; width: 100%; gap: 8px; margin: 0; padding: 0; background: transparent; font-variant-numeric: tabular-nums; }
.rk-stat { display: grid; grid-template-columns: 34px 39px minmax(0, 1fr); align-items: center; gap: 6px; min-width: 0; height: 18px; line-height: 18px; }
.rk-stat dt { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #778c96; white-space: nowrap; }
.rk-stat dt .rk-icon { height: 12px; width: 12px; }
.rk-stat dd { margin: 0; font-size: 12px; font-weight: 750; text-align: right; white-space: nowrap; }
.rk-stat-bar { height: var(--stat-bar-height); min-width: 0; max-width: 96px; border-radius: 999px; background: #e8f0f5; }
.rk-stat-bar span { display: block; height: var(--stat-bar-height); border-radius: inherit; background: var(--stat-bar); }
.rk-card .monsterDetail { padding: 0 19px; background: transparent; }
.rk-card .monsterDetail[hidden] { display: none; }
.rk-detail { border-top: 1px solid #e7eff3; padding: 17px 0 0; }
.rk-detail-title { display: flex; align-items: baseline; gap: 9px; margin: 0 0 12px; font-size: 19px; font-weight: 800; }
.rk-detail-title small { font-size: 13px; color: var(--muted); font-weight: 500; }
.rk-skill-list { display: grid; gap: 10px; }
.rk-skill { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px 16px; padding: 13px 14px; border-radius: 12px; border: 1px solid #e9f1f5; background: #ffffffb8; }
.rk-skill-heading { display: flex; gap: 9px; align-items: start; min-width: 0; }
.rk-skill-heading > .rk-icon { margin-top: 2px; color: var(--accent); width: 23px; height: 23px; }
.rk-skill-name { margin: 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.rk-skill-coin { margin-top: 2px; color: var(--muted); font-size: 11px; }
.rk-skill-specs { display: flex; align-items: center; gap: 18px; font-variant-numeric: tabular-nums; }
.rk-skill-specs span { display: flex; align-items: baseline; gap: 6px; font-size: 11px; color: var(--muted); white-space: nowrap; }
.rk-skill-specs strong { font-size: 16px; font-weight: 750; color: var(--ink); }
.rk-skill-effect { grid-column: 1 / -1; margin: 0; padding: 5px 9px; border-radius: 6px; background: var(--accent-soft); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.rk-skill-effect span { margin-right: 9px; color: #5c7c8c; font-weight: 600; }
.rk-skill-meta { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.rk-growth { margin-top: 17px; padding: 14px 0 0; border-top: 1px solid #e7eff3; }
.rk-growth dl { margin: 0; }
.rk-growth-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 7px; border-bottom: 1px solid #ebf1f5; font-size: 13px; }
.rk-growth-row dt { flex-shrink: 0; }
.rk-growth-row dd { margin: 0; text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.rk-growth-row dd strong { color: var(--accent-strong); font-size: 17px; }
.rk-evolution { display: flex; align-items: center; gap: 8px; margin: 12px 7px 16px; color: #678b9d; font-size: 12px; line-height: 1.6; }
.rk-evolution .rk-icon { border-radius: 50%; color: #fff; background: #a7ccde; padding: 3px; width: 20px; height: 20px; }
.monsterClose { display: flex; justify-content: center; align-items: center; gap: 7px; width: 100%; min-height: 46px; padding: 10px; border: 0; border-top: 1px solid #e7eff3; background: transparent; color: #728994; font-size: 13px; font-weight: 700; cursor: pointer; }
.monsterClose:hover { color: var(--accent); }
.monsterClose .rk-icon { width: 16px; height: 16px; transform: rotate(180deg); }
.rk-ranking-footer { margin-top: 22px; }
.showAllButton { min-height: 61px; padding: 12px 24px; border: 1.5px solid var(--accent); border-radius: 999px; background: #fff; color: var(--accent-strong); box-shadow: none; font-size: 16px; font-weight: 750; }
.showAllButton:hover { background: #f5fbfd; box-shadow: none; transform: none; }
.showAllButton small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 500; }
.rk-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 27px; color: var(--muted); text-align: center; font-size: 11px; letter-spacing: .08em; }
.rk-footer-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rk-history-month { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--muted); font-family: inherit; font-size: 14px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rk-history-month small { font-size: 10px; font-weight: 500; }
.rk-history-month > span { display: flex; align-items: baseline; gap: 2px; }
.rk-history-month strong { font-size: 18px; font-weight: 750; color: var(--ink); }
.rk-month-unit { font-size: 11px; }
.rk-empty { padding: 30px 16px; border: 1px solid #e7f0f4; border-radius: 14px; background: #fff; text-align: center; color: var(--muted); font-size: 13px; }
body.is-user .hero { border: 1px solid #e8f1f6; padding: 19px 28px 22px; background: #fff; box-shadow: 0 8px 28px #385b6d08; border-radius: 22px; }
body.is-user .hero::before, body.is-user .hero::after { display: none; }
body.is-user .hero::before { display: block; inset: 0 0 auto; width: auto; height: 4px; border-radius: 0; background: linear-gradient(90deg,#a7d1e6,#dceef6 65%,#f5bad0); }
body.is-user .hero h1 { margin: 0; color: var(--ink); font-size: 30px; line-height: 1.5; letter-spacing: .02em; text-shadow: none; overflow-wrap: anywhere; }
.rk-profile-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rk-profile-topbar > span { color: #8ba4b0; font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.rk-profile-topbar .backLink { min-height: 34px; padding: 0; background: none; border: 0; border-radius: 5px; box-shadow: none; font-size: 11px; gap: 3px; color: #7e939d; }
.rk-profile-topbar .backLink:hover { color: var(--accent); }
.rk-profile-topbar .backLink .rk-icon { width: 14px; height: 14px; transform: rotate(180deg); }
.rk-profile-main { display: grid; grid-template-columns: minmax(0,1fr) 182px; grid-template-rows: 1fr auto; align-items: center; gap: 12px 24px; margin: 9px 0 17px; }
.rk-profile-identity { grid-column: 1; grid-row: 1; min-width: 0; align-self: end; }
.rk-profile-kicker { margin: 0 0 7px; color: #7f9cab; font-size: 11px; letter-spacing: .09em; font-weight: 500; }
.rk-profile-userid { margin: 5px 0 0; color: var(--muted); font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.rk-profile-partner { grid-column: 2; grid-row: 1 / 3; margin: 0; min-width: 0; text-align: center; }
.rk-profile-stage { position: relative; display: grid; place-items: center; isolation: isolate; height: 160px; }
.rk-profile-stage::before { content: ""; position: absolute; z-index: -1; width: 156px; height: 140px; bottom: 1px; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%,#f0f8fc,#f7fcfe 68%,#fbfdfe); }
.rk-profile-stage::after { content: ""; position: absolute; z-index: -1; bottom: 5px; width: 98px; height: 14px; border-radius: 50%; background: #daeaf24d; filter: blur(3px); }
.rk-profile-stage > img { width: 144px; height: 144px; object-fit: contain; }
.rk-profile-stage[data-monster-type="all"] > img { transform: scale(1.18); }
.rk-profile-partner-level { position: absolute; right: 4px; bottom: 9px; display: flex; align-items: baseline; gap: 2px; padding: 4px 9px; border: 2px solid #fff; border-radius: 999px; background: #eff8fc; color: var(--accent-strong); font-size: 10px; box-shadow: 0 2px 4px #577e9112; }
.rk-profile-partner-level strong { font-size: 17px; }
.rk-profile-partner figcaption { display: grid; gap: 3px; margin: 4px 0 0; color: #839aa6; font-size: 10px; line-height: 1.5; }
.rk-profile-partner figcaption strong { color: var(--ink); font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.rk-profile-twinkle { position: absolute; color: #a6cfe4; }
.rk-profile-twinkle-one { top: 30px; left: 4px; transform: rotate(-10deg); }
.rk-profile-twinkle-one .rk-icon { width: 22px; height: 22px; }
.rk-profile-twinkle-two { top: 15px; right: 11px; color: #e8b968; transform: rotate(10deg); }
.rk-profile-twinkle-two .rk-icon { width: 12px; height: 12px; }
.rk-profile-partner-pending .rk-profile-stage > .rk-icon { width: 58px; height: 58px; color: #d8eaf3; }
.rk-profile-partner-pending > span { font-size: 9px; color: #a0b7c3; letter-spacing: .14em; }
.rk-profile-stats { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: end; gap: 10px; margin: 0 0 6px; }
.rk-profile-stats > div + div { border-left: 1px solid #eaf2f6; padding-left: 12px; }
.rk-profile-stats dt { font-size: 10px; color: var(--muted); font-weight: 500; }
.rk-profile-stats dd { margin: 4px 0 0; color: var(--ink); font-size: 22px; font-weight: 750; line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: -.025em; overflow-wrap: anywhere; }
.rk-profile-stats dd small { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--muted); }
.rk-profile-record-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; }
.rk-profile-record-heading > span { font-size: 12px; font-weight: 750; }
.rk-profile-record-heading small { color: #8fa4ae; font-size: 10px; font-weight: 500; }
.rk-boss-record { width: 100%; margin: 9px 0 0; text-align: left; }
.rk-boss-record dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.rk-boss-record dl > div { position: relative; min-width: 0; padding: 12px 14px; border: 1px solid #e6d19d; border-radius: 13px; background: linear-gradient(115deg,#fffbec,#fffdf6); }
.rk-boss-record .rk-boss-right { border: 1px dashed #bcdae9; background: #f6fbfd; }
.rk-boss-record dt { display: flex; align-items: center; min-height: 18px; padding-left: 46px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.rk-boss-record dt .rk-icon { position: absolute; left: 13px; top: calc(50% - 19px); width: 38px; height: 38px; padding: 8px; color: #ba8a29; border: 1px solid #e9cf86; border-radius: 50%; background: #fff4c9; box-shadow: inset 0 0 0 3px #fffbec; }
.rk-boss-right dt .rk-icon { color: #80b5cf; border-color: #dfeff6; background: #eff8fc; box-shadow: inset 0 0 0 3px #f8fcfe; }
.rk-boss-record dd { display: flex; align-items: baseline; gap: 5px; margin: 3px 0 0 46px; font-size: 12px; font-variant-numeric: tabular-nums; }
.rk-boss-record dd strong { font-size: 28px; font-weight: 800; line-height: 1.2; color: var(--ink); }
.rk-boss-record dd small { font-size: 10px; font-weight: 500; color: var(--muted); }
.rk-boss-record > p { margin: 7px 0 0; font-size: 9px; font-weight: 400; color: #8a9ea8; line-height: 1.7; text-align: center; }
.rk-profile-bottom { margin-top: 15px; border-top: 1px solid #eaf2f6; padding-top: 13px; }
.rk-profile-next { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 11px; background: linear-gradient(100deg,#f4fafd,#f8fbfd 65%,#fff5f9); }
.rk-profile-next > .rk-icon:first-child { color: #98c5db; width: 25px; height: 25px; }
.rk-profile-next > .rk-icon:last-child { margin-left: auto; width: 24px; height: 24px; opacity: .7; }
.rk-profile-next small { color: #95b4c3; font-size: 8px; letter-spacing: .13em; font-weight: 700; }
.rk-profile-next p { margin: 3px 0 0; font-size: 11px; color: #839aa6; }
.rk-profile-next strong { margin-left: 6px; font-size: 14px; font-weight: 750; color: var(--ink); }
.rk-profile-favorite { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 10px 0 0; color: #8fa2ab; font-size: 10px; font-weight: 400; line-height: 1.7; }
.rk-profile-favorite > .rk-icon { width: 13px; height: 13px; color: #d794ac; }
.rk-profile-favorite strong { margin-left: 3px; color: #7a94a1; font-weight: 600; }
body.is-user #contentSection { background: transparent; border: 0; padding: 0; box-shadow: none; backdrop-filter: none; }
body.is-user .sectionTitle { color: var(--ink); }
@media (min-width: 1000px) { .rk-summary { grid-template-columns: 60px 120px minmax(0,1fr) 190px 80px 20px; column-gap: 20px; } .rk-art { width: 120px; height: 112px; } .rk-rank { font-size: 45px; } .rk-rank-long { font-size: 34px; } .rk-rank-longer { font-size: 25px; } .rk-level strong { font-size: 46px; } }
@media (min-width: 641px) and (max-width: 780px) { .rk-summary { grid-template-columns: 36px 96px minmax(0,1fr) 136px 64px 14px; column-gap: 10px; padding: 15px; } .rk-art { width: 96px; height: 96px; } .rk-owner { font-size: 16px; } .rk-stat { grid-template-columns: 31px 33px minmax(0,1fr); gap: 5px; } }
@media (max-width: 640px) {
  .shell { width: calc(100% - 24px); padding: 22px 0 28px; }
  .rk-heading { margin: 0 3px 18px; gap: 9px 12px; }
  .rk-eyebrow { font-size: 10px; letter-spacing: .17em; }
  .rk-title { font-size: 28px; gap: 10px; }
  .rk-title::after { width: 7px; height: 7px; }
  .rk-month select { min-height: 40px; font-size: 14px; padding-left: 12px; padding-right: 35px; }
  .rk-month > .rk-icon { right: 10px; width: 15px; }
  .rk-meta { gap: 4px 10px; font-size: 10px; }
  .rk-search { width: 100%; margin-top: 6px; }
  .rk-search input { font-size: 16px; min-height: 38px; }
  .rk-count { padding-right: 10px; }
  .list { gap: 10px; }
  .monsterRow.rk-card { border-radius: 14px; }
  .rk-summary { grid-template-columns: 32px 75px minmax(0,1fr) 56px 11px; grid-template-rows: auto auto; gap: 8px; padding: 14px 11px; min-height: 132px; }
  .monsterToggle { width: 82px; }
  .rk-rank { grid-row: 1 / 3; font-size: 28px; }
  .rk-rank-long { font-size: 20px; }
  .rk-rank-longer { font-size: 15px; }
  .rk-ribbon { left: 10px; width: 19px; height: 27px; padding-top: 5px; }
  .rk-ribbon .rk-icon { width: 12px; height: 12px; }
  .rk-art { grid-row: 1 / 3; width: 75px; height: 84px; }
  .rk-owner { font-size: 14px; line-height: 1.5; }
  .rk-nickname { font-size: 11px; gap: 4px; margin-top: 3px; }
  .rk-type { width: 15px; height: 15px; }
  .rk-level { grid-column: 4; grid-row: 1 / 3; min-width: 54px; }
  .rk-level span { font-size: 11px; margin-left: 1px; }
  .rk-level strong { font-size: 32px; }
  .rk-arrow { grid-column: 5; grid-row: 1 / 3; width: 13px; height: 13px; }
  .rk-stats { grid-column: 3; grid-row: 2; gap: 4px; max-width: 210px; }
  .rk-stat { grid-template-columns: 21px 30px minmax(0,1fr); gap: 5px; height: 16px; line-height: 16px; }
  .rk-stat dt { font-size: 9px; gap: 3px; }
  .rk-stat dt .rk-icon { display: none; }
  .rk-stat dd { font-size: 10px; }
  .rk-card .monsterDetail { padding: 0 12px; }
  .rk-detail { padding-top: 13px; }
  .rk-detail-title { font-size: 17px; margin-bottom: 10px; }
  .rk-detail-title small { font-size: 12px; }
  .rk-skill { padding: 11px; gap: 8px; }
  .rk-skill-heading { grid-column: 1 / -1; gap: 8px; }
  .rk-skill-name { font-size: 14px; }
  .rk-skill-heading > .rk-icon { width: 20px; height: 20px; }
  .rk-skill-specs { grid-column: 1 / -1; justify-content: space-between; padding-left: 28px; gap: 10px; }
  .rk-skill-specs span { font-size: 10px; }
  .rk-skill-specs strong { font-size: 14px; }
  .rk-skill-effect { font-size: 11px; }
  .rk-skill-meta { font-size: 10px; }
  .rk-growth-row { padding: 9px 2px; font-size: 12px; }
  .rk-growth-row dd strong { font-size: 16px; }
  .rk-evolution { margin-left: 2px; font-size: 11px; }
  .rk-ranking-footer { margin-top: 20px; }
  .showAllButton { min-height: 60px; font-size: 15px; }
  body.is-user .hero { padding: 13px 17px 17px; border-radius: 18px; }
  body.is-user .hero h1 { font-size: 22px; line-height: 1.5; }
  .rk-profile-topbar > span { font-size: 8px; letter-spacing: .12em; }
  .rk-profile-topbar .backLink { font-size: 10px; }
  .rk-profile-main { grid-template-columns: minmax(0,1fr) 116px; grid-template-rows: auto auto; gap: 16px 10px; margin: 9px 0 16px; }
  .rk-profile-identity { align-self: center; }
  .rk-profile-kicker { font-size: 9px; letter-spacing: .02em; margin-bottom: 6px; }
  .rk-profile-userid { font-size: 10px; margin-top: 6px; }
  .rk-profile-partner { grid-row: 1; }
  .rk-profile-stage { height: 118px; }
  .rk-profile-stage > img { width: 108px; height: 108px; }
  .rk-profile-stage::before { width: 112px; height: 103px; }
  .rk-profile-stage::after { width: 74px; height: 11px; bottom: 4px; }
  .rk-profile-partner-level { right: -3px; bottom: 3px; padding: 3px 6px; font-size: 8px; }
  .rk-profile-partner-level strong { font-size: 14px; }
  .rk-profile-partner figcaption { font-size: 9px; }
  .rk-profile-twinkle-one { top: 23px; left: -1px; }
  .rk-profile-twinkle-one .rk-icon { width: 15px; height: 15px; }
  .rk-profile-twinkle-two { top: 4px; right: 3px; }
  .rk-profile-twinkle-two .rk-icon { width: 9px; height: 9px; }
  .rk-profile-stats { grid-column: 1 / -1; gap: 10px; padding-top: 13px; border-top: 1px solid #ecf4f8; margin: 0; }
  .rk-profile-stats dd { font-size: 21px; }
  .rk-profile-record-heading > span { font-size: 11px; }
  .rk-profile-record-heading small { font-size: 9px; }
  .rk-boss-record { margin-top: 8px; }
  .rk-boss-record dl { gap: 7px; }
  .rk-boss-record dl > div { padding: 10px 9px; border-radius: 10px; }
  .rk-boss-record dt { font-size: 9px; padding-left: 0; }
  .rk-boss-record dt .rk-icon { position: static; flex-shrink: 0; width: 17px; height: 17px; padding: 2px; margin-right: 4px; border: 0; box-shadow: none; }
  .rk-boss-record dd { margin-left: 21px; gap: 3px; }
  .rk-boss-record dd strong { font-size: 25px; }
  .rk-boss-record > p { font-size: 8px; text-align: left; }
  .rk-profile-bottom { margin-top: 12px; padding-top: 11px; }
  .rk-profile-next { padding: 10px; gap: 8px; }
  .rk-profile-next > .rk-icon:first-child { width: 21px; height: 21px; }
  .rk-profile-next strong { font-size: 13px; }
  .rk-history-month { grid-row: 1 / 3; }
  .rk-history-month strong { font-size: 16px; }
  .rk-history-month small { font-size: 9px; }
}
@media (max-width: 390px) {
  .rk-heading { column-gap: 10px; }
  .rk-eyebrow { font-size: 8px; letter-spacing: .14em; }
  .rk-title { font-size: 24px; gap: 8px; }
  .rk-month select { font-size: 13px; min-height: 38px; padding-left: 10px; padding-right: 32px; }
  .rk-summary { grid-template-columns: 28px 49px minmax(0,1fr) 51px 10px; grid-template-rows: auto auto; gap: 8px 6px; padding: 13px 9px; min-height: 144px; }
  .rk-art { width: 49px; height: 84px; grid-row: 1 / 3; }
  .rk-rank { grid-row: 1 / 3; }
  .rk-level { grid-column: 4; }
  .rk-arrow { grid-column: 5; }
  .rk-stat { grid-template-columns: 21px 30px minmax(0,1fr); gap: 4px; }
  .rk-owner { font-size: 13px; }
  .rk-rank-long { font-size: 18px; }
  .rk-rank-longer { font-size: 13px; }
  .rk-level { min-width: 50px; }
  .rk-level strong { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
