/* ============================================================
 * rinka-achievements.css — 実績ページ（/achievements/）2026-09-26 作り直し
 * 描画: assets/js/rinka-achievements-view.js（#rinka-achv）
 * ・rinka-world-2026.css（body.rw26）には触らず、ここで上書きする（クラスは achv- で独立）。
 * ・レア度 N/R/SR/SSR ＝ ブロンズ／シルバー／ゴールド／ホロ の金属メダル。
 * ・スマホ縦を最優先。prefers-reduced-motion で動きを止める。
 * ========================================================== */

.rinka-achv {
	--achv-ink: #4a3540;
	--achv-soft: #76606c;
	--achv-line: #f1dbe7;
	--achv-card: #fff;
	--achv-pink: #e0588f;
	--achv-rose-ink: #b83a72;
	--achv-grad: linear-gradient(120deg, #ff8fbf, #c9a2ff 55%, #8fd6ff);
	--achv-bronze: conic-gradient(from 210deg, #d99a74, #fbe0c9, #b8734e, #f3c8a6, #a9653f, #edbb94, #d99a74);
	--achv-silver: conic-gradient(from 210deg, #cfd5e1, #ffffff, #9ea7b8, #eef1f6, #8e97aa, #e3e7ef, #cfd5e1);
	--achv-gold: conic-gradient(from 210deg, #f1c44f, #fff4c2, #cf9a26, #ffe58a, #b98118, #fbd873, #f1c44f);
	--achv-holo: conic-gradient(from var(--achv-a, 0deg), #ff9ccf, #ffd98a, #a8f0c8, #9fd0ff, #c9a2ff, #ff9ccf);
	--achv-infg: conic-gradient(from var(--achv-a, 0deg), #c9a2ff, #ffb3d6, #b7e4ff, #c9a2ff);
	color: var(--achv-ink);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 18px;
	margin: 8px 0 18px;
	min-height: 320px;
}
@property --achv-a { syntax: '<angle>'; inherits: true; initial-value: 0deg; }

.rinka-achv img { max-width: none; }
.rinka-achv > *, .achv-duo > *, .achv-controls > * { min-width: 0; }
.achv-duo, .achv-controls { grid-template-columns: minmax(0, 1fr); }
.rinka-achv ul { list-style: none; margin: 0; padding: 0; }
.rinka-achv button { font: inherit; color: inherit; }

/* 読み込み中の骨組み */
.achv-skeleton { display: grid; gap: 12px; }
.achv-skeleton span { display: block; height: 96px; border-radius: 22px; background: linear-gradient(90deg, #fbeef5, #fff, #fbeef5); background-size: 200% 100%; animation: achvSk 1.4s linear infinite; }
@keyframes achvSk { to { background-position: -200% 0; } }

.achv-broken { margin: 0; padding: 12px 14px; border-radius: 16px; background: #fff7e6; border: 1px solid #f5d79b; color: #7a5a14; font-size: .88rem; line-height: 1.6; }

/* ---------- 見出し ---------- */
.rinka-achv .achv-h {
	display: flex; align-items: center; gap: 8px; margin: 0 0 6px;
	font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; color: var(--achv-ink);
	border: 0; padding: 0; background: none;
}
.rinka-achv .achv-h::before, .rinka-achv .achv-h::after { content: none; }
.achv-h img { width: 28px; height: 28px; }
.achv-lead { margin: 0 0 10px; font-size: .82rem; color: var(--achv-soft); line-height: 1.6; }

/* ---------- ヒーロー（取得率リング） ---------- */
.achv-hero {
	display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center;
	padding: 18px; border-radius: 28px;
	background:
		radial-gradient(120% 90% at 0% 0%, rgba(255, 170, 210, .28), transparent 55%),
		radial-gradient(90% 90% at 100% 100%, rgba(170, 200, 255, .26), transparent 60%),
		#fff;
	border: 1px solid var(--achv-line);
	box-shadow: 0 14px 34px -14px rgba(184, 58, 114, .28);
}
.achv-hero__ring { position: relative; width: 124px; height: 124px; }
.achv-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.achv-ring__bg { fill: none; stroke: #f6e4ee; stroke-width: 11; }
.achv-ring__fg { fill: none; stroke: url(#achvRingG); stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1s cubic-bezier(.22, .8, .24, 1); }
.achv-hero__pct { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; font-weight: 800; color: var(--achv-rose-ink); }
.achv-hero__pct > span { white-space: nowrap; }
.achv-hero__pct b { font-size: 2.1rem; letter-spacing: -.02em; }
.achv-hero__pct small { display: block; margin-top: 4px; font-size: .66rem; font-weight: 700; color: var(--achv-soft); letter-spacing: .08em; }
.achv-hero__stats { min-width: 0; }
.achv-hero__sub { display: grid; gap: 4px; }
.achv-hero__sub li { display: flex; justify-content: space-between; gap: 8px; padding: 4px 10px; border-radius: 10px; background: #fdf6fa; font-size: .76rem; color: var(--achv-soft); }
.achv-hero__sub b { color: var(--achv-ink); font-variant-numeric: tabular-nums; }
.achv-hero__count { margin: 0 0 10px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--achv-soft); }
.achv-hero__count strong { font-size: 1.9rem; line-height: 1; color: var(--achv-ink); font-weight: 800; }
.achv-hero__rar { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.achv-rarstat { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 3px; padding: 7px 4px; text-align: center; border-radius: 12px; background: #fdf6fa; font-size: .8rem; color: var(--achv-soft); }
.achv-rarstat .achv-rar { flex-basis: 100%; margin: 0 auto 3px; max-width: 46px; }
.achv-rarstat b { color: var(--achv-ink); font-size: 1rem; }
.achv-hero__cats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.rinka-achv .achv-catbar {
	width: 100%; display: grid; grid-template-columns: 30px 1fr auto; grid-template-rows: auto auto; align-items: center; gap: 4px 8px;
	padding: 8px 10px; border-radius: 16px; border: 1px solid var(--achv-line); background: rgba(255, 255, 255, .85);
	cursor: pointer; text-align: left; box-shadow: none; min-height: 48px;
	transition: transform .18s ease, box-shadow .18s ease;
}
.rinka-achv .achv-catbar:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(184, 58, 114, .4); }
.achv-catbar img { width: 30px; height: 30px; grid-row: 1 / 3; }
.achv-catbar__name { font-weight: 800; font-size: .84rem; }
.achv-catbar__num { font-size: .74rem; color: var(--achv-soft); font-variant-numeric: tabular-nums; }
.achv-catbar__track { grid-column: 2 / 4; height: 6px; border-radius: 99px; background: #f6e4ee; overflow: hidden; }
.achv-catbar__track span { display: block; height: 100%; border-radius: inherit; background: var(--achv-grad); }
.achv-catbar.is-sleep img { filter: grayscale(.8); opacity: .6; }

/* ---------- レア度チップ（金属の文字） ---------- */
.achv-rar {
	display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 7px; border-radius: 99px;
	font-size: .7rem; font-weight: 900; letter-spacing: .06em; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 1px 3px rgba(80, 40, 60, .2);
}
.achv-rar--n { background: linear-gradient(135deg, #e3a57e, #b8734e 60%, #f0c29f); }
.achv-rar--r { background: linear-gradient(135deg, #b9c1d0, #8d96a9 55%, #e5e9f0); }
.achv-rar--sr { background: linear-gradient(135deg, #f5c84e, #c48a18 55%, #ffe38a); }
.achv-rar--ssr { background: linear-gradient(120deg, #ff8fc4, #ffb86b 30%, #7fdcb0 55%, #7fb8ff 75%, #c49bff); }
.achv-rar--inf { background: linear-gradient(120deg, #b99bff, #ff9ccf); }

/* ---------- メダル（バッジ本体） ---------- */
.achv-medal { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; isolation: isolate; }
.achv-medal--sm { width: 46px; height: 46px; }
.achv-medal__rim { position: absolute; inset: 0; border-radius: 50%; background: var(--achv-bronze); box-shadow: 0 4px 10px -4px rgba(120, 60, 40, .45), inset 0 0 0 1px rgba(255, 255, 255, .5); }
.achv-medal__face {
	position: absolute; inset: 5px; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
	background: radial-gradient(circle at 35% 28%, #fff 0%, #fff7fb 45%, #fbe9f2 100%);
	box-shadow: inset 0 2px 5px rgba(120, 60, 90, .22), inset 0 -2px 0 rgba(255, 255, 255, .7);
}
.achv-medal__face img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 2px 2px rgba(90, 58, 102, .18)); }
.achv-medal--sm .achv-medal__face { inset: 4px; }
.achv-medal--r .achv-medal__rim { background: var(--achv-silver); box-shadow: 0 4px 10px -4px rgba(70, 80, 110, .45), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.achv-medal--sr .achv-medal__rim { background: var(--achv-gold); box-shadow: 0 5px 14px -4px rgba(190, 130, 20, .55), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.achv-medal--ssr .achv-medal__rim { background: var(--achv-holo); box-shadow: 0 6px 18px -4px rgba(200, 110, 220, .55), inset 0 0 0 1px rgba(255, 255, 255, .7); animation: achvSpin 6s linear infinite; }
.achv-medal--inf .achv-medal__rim { background: var(--achv-infg); animation: achvSpin 8s linear infinite; }
.achv-medal--ssr .achv-medal__face { background: radial-gradient(circle at 35% 28%, #fff, #fff4fb 45%, #f1e8ff 100%); }
@keyframes achvSpin { to { --achv-a: 360deg; } }
/* 光沢（つるっとした反射が時々すべる） */
.achv-medal__shine { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; }
.achv-medal__shine::before {
	content: ''; position: absolute; inset: -30%;
	background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .85) 48%, transparent 58%);
	transform: translateX(-70%); opacity: 0;
}
.achv-medal--sr .achv-medal__shine::before, .achv-medal--ssr .achv-medal__shine::before, .achv-medal--tier .achv-medal__shine::before { animation: achvGloss 4.8s ease-in-out infinite; }
.achv-medal--r .achv-medal__shine::before { animation: achvGloss 7s ease-in-out infinite 1s; }
@keyframes achvGloss { 0%, 62% { transform: translateX(-70%); opacity: 0; } 70% { opacity: 1; } 84%, 100% { transform: translateX(70%); opacity: 0; } }
/* まだ＝くもった金属 */
.achv-medal.is-off .achv-medal__rim { filter: grayscale(.85) brightness(1.08); opacity: .55; animation: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.achv-medal.is-off .achv-medal__face { background: #f7f1f5; }
.achv-medal.is-off .achv-medal__face img { filter: grayscale(.9) contrast(.9); opacity: .6; }

/* ---------- 実績カード ---------- */
.achv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.achv-card {
	position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
	padding: 12px 12px 12px 12px; border-radius: 20px; background: var(--achv-card);
	border: 1px solid var(--achv-line); box-shadow: 0 4px 14px -10px rgba(184, 58, 114, .35);
	min-width: 0;
}
.achv-card .achv-rar { align-self: start; }
.achv-card__body { min-width: 0; display: grid; gap: 3px; }
.achv-card__t { font-weight: 800; font-size: .95rem; line-height: 1.35; overflow-wrap: anywhere; }
.achv-card__d { font-size: .8rem; color: var(--achv-soft); line-height: 1.5; overflow-wrap: anywhere; }
.achv-card__hintlab { display: inline-block; margin-right: 6px; padding: 0 7px; border-radius: 99px; background: #efe6ff; color: #6b4fb3; font-size: .68rem; font-weight: 800; }
.achv-card__meta { display: grid; gap: 3px; margin-top: 2px; }
.achv-card__meta:empty { display: none; }
.achv-card__date { font-size: .74rem; font-weight: 700; color: var(--achv-rose-ink); }
.achv-card__num { margin: 0; display: flex; align-items: baseline; gap: 4px; font-size: .74rem; color: var(--achv-soft); font-variant-numeric: tabular-nums; }
.achv-card__num b { color: var(--achv-ink); font-size: .86rem; }
.achv-card__num em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--achv-rose-ink); }
.achv-card.is-off { background: #fffdfe; }
.achv-card.is-off .achv-card__t { color: #6b5862; }
.achv-card.is-on.achv-card--r { background: linear-gradient(135deg, #fff, #f5f7fb); }
.achv-card.is-on.achv-card--sr { background: linear-gradient(135deg, #fff, #fff8e4); border-color: #f3e2b0; }
.achv-card.is-on.achv-card--ssr { background: linear-gradient(135deg, #fff 30%, #fff1fa 60%, #eef4ff); border-color: #ead7ff; }
.achv-card.is-on.achv-card--ssr::after {
	content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	background: linear-gradient(115deg, transparent 30%, rgba(255, 190, 230, .25) 45%, rgba(170, 220, 255, .25) 55%, transparent 70%);
	background-size: 250% 100%; animation: achvHolo 5s linear infinite; mix-blend-mode: multiply;
}
@keyframes achvHolo { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.achv-card.is-secret { background: repeating-linear-gradient(135deg, #fcf9ff 0 12px, #f7f2ff 12px 24px); border-style: dashed; border-color: #dccff5; }
.achv-card.is-near { border-color: #ffb3d1; box-shadow: 0 0 0 3px rgba(255, 143, 191, .16), 0 6px 18px -10px rgba(224, 88, 143, .5); }

/* ゲージ */
.achv-gauge { display: block; height: 8px; border-radius: 99px; background: #f6e4ee; overflow: hidden; box-shadow: inset 0 1px 2px rgba(120, 60, 90, .12); }
.achv-gauge__bar { display: block; height: 100%; border-radius: inherit; background: var(--achv-grad); min-width: 4px; transition: width .8s cubic-bezier(.22, .8, .24, 1); }
.achv-gauge--inf .achv-gauge__bar { background: linear-gradient(90deg, #b99bff, #ff9ccf); }

/* ---------- つぎに取れそう / さいきん ---------- */
.achv-duo { display: grid; gap: 18px; }
.achv-block { padding: 16px; border-radius: 24px; background: rgba(255, 255, 255, .72); border: 1px solid var(--achv-line); }
.achv-list--near { grid-template-columns: 1fr; }
.achv-recent__row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.achv-recent__item { flex: 0 0 116px; scroll-snap-align: start; display: grid; justify-items: center; gap: 6px; padding: 12px 8px; border-radius: 18px; background: #fff; border: 1px solid var(--achv-line); text-align: center; }
.achv-recent__t { font-size: .78rem; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.achv-recent__d { font-size: .7rem; color: var(--achv-soft); }
.achv-recent__none { font-size: .84rem; color: var(--achv-soft); padding: 8px 0; }

/* ---------- 切り替え ---------- */
.achv-controls { display: grid; gap: 10px; scroll-margin-top: 72px; }
.achv-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.rinka-achv .achv-tab {
	flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 99px;
	border: 1px solid var(--achv-line); background: #fff; font-weight: 800; font-size: .86rem; cursor: pointer; box-shadow: none;
}
.achv-tab img { width: 24px; height: 24px; }
.rinka-achv .achv-tab.is-on { background: linear-gradient(120deg, #ff8fbf, #c9a2ff); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -8px rgba(184, 58, 114, .6); }
.achv-segs { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.achv-seg { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.achv-seg__lab { font-size: .74rem; font-weight: 800; color: var(--achv-soft); margin-right: 2px; }
.rinka-achv .achv-seg__b { min-height: 36px; padding: 0 11px; border-radius: 99px; border: 1px solid transparent; background: #f8eef4; font-size: .78rem; font-weight: 700; cursor: pointer; box-shadow: none; }
.rinka-achv .achv-seg__b.is-on { background: #fff; border-color: #f0a9c9; color: var(--achv-rose-ink); }
.rinka-achv button:focus-visible { outline: 3px solid #b98cff; outline-offset: 2px; }

/* ---------- 棚 ---------- */
.achv-shelf { padding: 16px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 250, 253, .85)); border: 1px solid var(--achv-line); box-shadow: 0 10px 28px -20px rgba(184, 58, 114, .45); }
.achv-shelf__head { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.achv-shelf__head > img { width: 44px; height: 44px; flex: none; }
.rinka-achv .achv-shelf__h { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 1.1rem; font-weight: 900; color: var(--achv-ink); border: 0; padding: 0; background: none; }
.rinka-achv .achv-shelf__h::before, .rinka-achv .achv-shelf__h::after { content: none; }
.achv-shelf__n { font-size: .8rem; font-weight: 800; color: var(--achv-rose-ink); font-variant-numeric: tabular-nums; }
.achv-shelf__lead { margin: 3px 0 0; font-size: .8rem; color: var(--achv-soft); line-height: 1.55; }
.achv-shelf--secret { background: linear-gradient(180deg, #fbf8ff, #f6f0ff); border-color: #e6dbfa; }
.achv-shelf--inf { background: linear-gradient(160deg, #fbf6ff, #fff4fa 60%, #f1f7ff); border-color: #e3d6fb; }
.rinka-achv .achv-more { display: block; margin: 12px auto 0; min-height: 44px; padding: 0 22px; border-radius: 99px; border: 1px solid #f0bcd3; background: #fff; color: var(--achv-rose-ink); font-weight: 800; font-size: .84rem; cursor: pointer; box-shadow: none; }
.achv-empty { margin: 0; font-size: .84rem; color: var(--achv-soft); }

/* ∞ */
.achv-inflock { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .7); border: 1px dashed #d6c6f6; }
.achv-inflock > img { width: 64px; height: 64px; flex: none; filter: grayscale(.6); opacity: .7; }
.achv-inflock > div { flex: 1; min-width: 0; display: grid; gap: 6px; }
.achv-inflock__t, .achv-inf__t { margin: 0; font-weight: 900; font-size: .96rem; }
.achv-inflock__d, .achv-inf__d { margin: 0; font-size: .8rem; color: var(--achv-soft); line-height: 1.55; }
.achv-inflock__n { margin: 0; font-size: .78rem; color: var(--achv-soft); }
.achv-inflock__n b { color: #6b4fb3; font-size: 1rem; }
.achv-inf { display: grid; gap: 6px; }
.achv-inf__tracks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; margin-top: 8px !important; }
.achv-inf__track { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid #e6dbfa; }
.achv-inf__track > img { width: 44px; height: 44px; flex: none; }
.achv-inf__body { flex: 1; min-width: 0; display: grid; gap: 5px; }
.achv-inf__name { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .9rem; }
.achv-inf__lv { margin-left: auto; padding: 1px 9px; border-radius: 99px; background: linear-gradient(120deg, #b99bff, #ff9ccf); color: #fff; font-size: .74rem; font-weight: 900; }
.achv-inf__steps { display: flex; gap: 4px; }
.achv-inf__step { flex: 1; height: 5px; border-radius: 99px; background: #eee6fb; }
.achv-inf__step.is-on { background: linear-gradient(90deg, #b99bff, #ff9ccf); }
.achv-inf__step.is-next { background: repeating-linear-gradient(90deg, #d9c8ff 0 4px, #f3ecff 4px 8px); }
.achv-inf__goal { margin: 0; font-size: .78rem; color: var(--achv-soft); }

/* ---------- 勲章 ---------- */
.achv-medals { background: linear-gradient(160deg, #fffaf0, #fff5fa 60%, #f6f4ff); border-color: #f3e3c4; }
.achv-medals.is-gated { opacity: .92; }
.achv-medals.is-gated .achv-shelf__head { margin-bottom: 0; }
.achv-medals__stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.achv-medals__stats span { padding: 5px 12px; border-radius: 99px; background: #fff; border: 1px solid #f3e3c4; font-size: .8rem; color: var(--achv-soft); }
.achv-medals__stats b { color: var(--achv-ink); }
.achv-tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.achv-tier { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 20px; background: #fff; border: 1px solid var(--achv-line); }
.achv-tier .achv-medal { width: 70px; height: 70px; }
.achv-tier__body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.achv-tier__game { margin: 0; font-size: .74rem; color: var(--achv-soft); font-weight: 700; }
.achv-tier__name { margin: 0; display: flex; align-items: baseline; gap: 8px; font-weight: 900; font-size: .98rem; }
.achv-tier__name span { margin-left: auto; font-size: .8rem; color: var(--achv-rose-ink); font-variant-numeric: tabular-nums; }
.achv-tier__next { margin: 0; font-size: .74rem; color: var(--achv-soft); }
.achv-tier--bronze .achv-medal__rim { background: var(--achv-bronze); }
.achv-tier--silver .achv-medal__rim { background: var(--achv-silver); }
.achv-tier--gold .achv-medal__rim { background: var(--achv-gold); }
.achv-tier--platinum .achv-medal__rim { background: conic-gradient(from 210deg, #e6f0f7, #ffffff, #b8c9d8, #f4f9fc, #a9bccd, #e6f0f7); }
.achv-tier--diamond .achv-medal__rim { background: conic-gradient(from 210deg, #9fe4ff, #ffffff, #7fc3f0, #e2f7ff, #a7b6ff, #9fe4ff); }
.achv-tier--rainbow .achv-medal__rim { background: var(--achv-holo); animation: achvSpin 6s linear infinite; }
.achv-keeps__h { margin: 14px 0 8px; font-size: .9rem; font-weight: 900; }
.achv-keeps { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; }
.achv-keep { position: relative; flex: 0 0 96px; border-radius: 14px; overflow: hidden; background: #fff; border: 2px solid #f3e3c4; box-shadow: 0 6px 14px -10px rgba(120, 80, 20, .5); }
.achv-keep img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.achv-keep__k { display: block; padding: 4px 6px 0; font-size: .64rem; font-weight: 800; color: var(--achv-soft); }
.achv-keep__r { display: block; padding: 0 6px 5px; font-size: .64rem; font-weight: 900; color: var(--achv-rose-ink); }
.achv-keep--gold { border-color: #f1c44f; }
.achv-keep--silver { border-color: #c5ccd8; }
.achv-keep--platinum, .achv-keep--diamond { border-color: #9fd6f0; }
.achv-keep--rainbow { border-color: #d6b3ff; }
.achv-note { margin: 10px 0 0; font-size: .74rem; color: var(--achv-soft); line-height: 1.55; }
.rinka-achv-note { margin: 0 0 22px; font-size: .78rem; color: #76606c; text-align: center; }

/* ---------- 画面幅 ---------- */
@media (min-width: 640px) {
	.achv-hero { grid-template-columns: auto 1fr; padding: 22px 24px; }
	.achv-hero__ring { width: 144px; height: 144px; }
	.achv-medal { width: 68px; height: 68px; }
	.achv-medal--sm { width: 48px; height: 48px; }
}
@media (min-width: 900px) {
	.achv-duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
	.achv-hero__cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
	.achv-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.achv-hero__count { justify-content: center; }
	.achv-hero__stats { width: 100%; }
	.achv-card { grid-template-columns: auto 1fr; }
	.achv-card .achv-rar { position: absolute; top: 8px; right: 8px; }
}

/* ---------- 動きを減らす ---------- */
@media (prefers-reduced-motion: reduce) {
	.rinka-achv *, .rinka-achv *::before, .rinka-achv *::after { animation: none !important; transition: none !important; }
}
