/* Account components share the site's paper, ink, lime and rounded type. */
.account-entry { display:none; }
.account-desktop { padding:0 15px; width:auto; gap:7px; grid-auto-flow:column; font:700 12px var(--f-body); color:var(--ink); white-space:nowrap; }
.account-dialog { padding:0; width:min(460px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; border:1px solid var(--line); border-radius:30px; background:var(--paper); color:var(--ink); box-shadow:0 24px 100px #163a2240; }
.account-dialog::backdrop { background:#163a226b; backdrop-filter:blur(6px); }
.account-dialog [hidden], .account-entry [hidden] { display:none !important; }
.account-dialog-body { position:relative; padding:0 30px 30px; }
.account-close { position:absolute; right:16px; top:16px; z-index:1; }
.account-eyebrow { margin:0 0 8px; font:600 11px var(--f-latin); letter-spacing:.14em; color:var(--lime-deep); }
.account-dialog h2 { font:900 clamp(23px,5.5vw,29px)/1.5 var(--f-display); margin:0 0 12px; letter-spacing:.02em; }
.account-copy { font-size:14px; color:var(--ink-2); line-height:1.85; margin:0 0 24px; }
.account-google { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:50px; border:1px solid #747775; border-radius:999px; background:white; color:#1f1f1f; padding:12px 20px; font:700 14px var(--f-body); cursor:pointer; box-shadow:0 3px 0 #163a2214; transition:transform .2s var(--ease), box-shadow .2s var(--ease); }
.account-google:active:not(:disabled) { transform:translateY(2px); box-shadow:0 1px 0 #163a2214; }
.account-google svg { width:20px; height:20px; flex-shrink:0; }
.account-google:disabled { cursor:default; opacity:.55; }
.account-google:hover:not(:disabled) { background:#f8fbf5; box-shadow:0 3px 0 #163a2214, 0 10px 22px -12px #163a2255; }
.account-privacy { color:var(--ink-3); font-size:11px; line-height:1.8; margin:14px 0 0; }
.account-note { color:var(--ink-2); font-size:12px; line-height:1.7; margin:12px 0 0; }
.account-status { min-height:1.7em; margin:12px 0 0; font-size:12px; color:var(--ink-2); }
.account-status[data-error="true"] { color:#af302b; }
.account-field { display:block; margin:22px 0 18px; font-weight:700; font-size:13px; }
.account-input { width:100%; margin-top:8px; border:1px solid #c7d5bf; border-radius:14px; background:white; min-height:52px; padding:12px 15px; color:var(--ink); font:500 16px var(--f-body); }
.account-input:focus { outline:3px solid #8cc63f45; border-color:var(--lime-deep); }
.account-field small { display:block; color:var(--ink-3); font-weight:400; margin:7px 0; }
.account-primary { display:block; border:0; width:100%; min-height:49px; border-radius:999px; color:white; background:var(--ink); padding:12px 20px; font:700 14px var(--f-body); cursor:pointer; }
.account-primary:disabled { opacity:.5; cursor:wait; }
.account-text-button { padding:10px 4px; border:0; color:var(--ink-2); background:none; font:500 12px var(--f-body); cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.account-person { display:flex; align-items:center; gap:13px; margin:20px 0; }
.account-avatar { display:grid; place-items:center; width:52px; height:52px; flex-shrink:0; border-radius:18px; background:var(--lime-mist); color:var(--lime-deep); font:900 24px var(--f-display); }
.account-name { display:block; font:700 21px/1.6 var(--f-display); overflow-wrap:anywhere; }
.account-name small { font-size:12px; font-weight:500; margin-left:5px; }
.account-caption { display:block; font-size:11px; color:var(--ink-3); }
.account-membership { padding:17px 18px; border:1px solid var(--line); background:#fffef8; border-radius:18px; margin:20px 0 12px; }
.account-membership-label { display:flex; align-items:center; gap:7px; font:600 11px var(--f-latin); letter-spacing:.07em; color:var(--ink-3); }
.account-membership-label svg { width:16px; height:16px; }
.account-membership strong { display:block; margin-top:8px; font-size:14px; }
.account-membership p { margin:5px 0 0; font-size:11px; color:var(--ink-3); }
.account-membership[data-active="true"] { background:var(--lime-mist); border-color:#bfe36a; }
.account-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.account-preview-label { padding:9px 20px; text-align:center; background:#fff0ba; color:#715313; font-size:11px; font-weight:700; }
.account-preview-controls { display:flex; flex-wrap:wrap; gap:6px; padding:10px 20px; background:#fff8df; }
.account-preview-controls button { border:1px solid #deca8c; background:white; border-radius:10px; color:#715313; padding:6px 9px; font:500 11px var(--f-body); cursor:pointer; }
@media(max-width:1080px) {
 .account-desktop { display:none; }
 .nav.open { max-height:calc(100dvh - 86px); overflow:auto; overscroll-behavior:contain; }
 .account-entry { display:block; padding:20px; background:var(--lime-mist); border-radius:18px; margin-bottom:10px; }
 .account-entry .account-eyebrow { font-size:10px; }
 .account-entry-title { margin:0 0 6px; font:900 18px/1.6 var(--f-display); overflow-wrap:anywhere; }
 .account-entry-copy { margin:0 0 15px; font-size:12px; color:var(--ink-2); }
 .account-entry .account-person { margin:4px 0 12px; }
 .account-entry .account-avatar { background:var(--card); }
 .account-entry .account-name { font-size:19px; }
 .account-entry .account-text-button { padding-bottom:0; }
}
@media(max-width:400px) { .account-dialog-body { padding:0 24px 24px; } }

.account-youtube-actions { display:flex; align-items:center; gap:4px 12px; flex-wrap:wrap; margin-top:14px; }
.account-youtube-button { min-height:44px; padding:10px 16px; border:1px solid #b9caa9; border-radius:999px; background:white; color:var(--ink); font:700 12px var(--f-body); cursor:pointer; }
.account-youtube-button:hover:not(:disabled) { background:var(--lime-mist); }
.account-youtube-button:disabled, .account-text-button:disabled { opacity:.5; cursor:wait; }
.account-membership .account-youtube-note { margin-top:12px; line-height:1.8; }

.account-membership-join { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; margin-top:14px; padding:11px 17px; border-radius:999px; background:var(--ink); color:white; font:700 12px var(--f-body); text-decoration:none; }
.account-membership-join:hover { background:var(--lime-deep); }
.account-youtube-actions .account-text-button { font-size:11px; }

.account-progress { margin:0; padding:0; }
.account-progress h3 { font:700 14px var(--f-body); margin:0 0 8px; }
.account-progress-scope { font-size:10px; color:var(--ink-3); line-height:1.8; margin:0 0 10px; }
.account-progress-copy { font-size:14px; font-weight:500; line-height:1.9; color:var(--ink); margin:0 0 16px; }
.account-progress-actions { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; }

/* ---------- 2026-10-05 デザイン更新：キャラと会員証で「作りたくなる」アカウント画面 ---------- */
.account-hero { position:relative; height:150px; margin:0 -30px 18px; overflow:hidden; border-radius:30px 30px 0 0;
 background:repeating-linear-gradient(-45deg,#fff7d6 0 18px,#fffbe9 18px 36px); border-bottom:1px solid var(--line); }
.account-hero::after { content:""; position:absolute; left:50%; bottom:-120px; width:300px; height:220px; translate:-50% 0; border-radius:50%; background:radial-gradient(circle,#d9ef9e 0 55%,#c7e67a 56% 100%); }
.account-hero-art { position:absolute; left:50%; bottom:-6px; z-index:1; width:158px; height:auto; translate:-50% 0; filter:drop-shadow(0 8px 10px #163a2226); animation:account-bob 3.2s ease-in-out infinite; }
.account-hero-tape { position:absolute; left:22px; top:18px; width:88px; rotate:-14deg; opacity:.95; }
.account-hero-daisy { position:absolute; right:58px; top:24px; width:34px; rotate:12deg; }
.account-hero-spark { position:absolute; left:64px; bottom:22px; width:26px; z-index:1; }
@keyframes account-bob { 0%,100% { translate:-50% 0; } 50% { translate:-50% -5px; } }
@media (prefers-reduced-motion:reduce) { .account-hero-art { animation:none; } }
#account-preview-banner:not([hidden]) ~ .account-dialog-body .account-hero { border-radius:0; }

.account-perks { list-style:none; display:grid; gap:8px; margin:0 0 20px; padding:0; }
.account-perks li { display:flex; align-items:center; gap:11px; padding:10px 14px; border-radius:14px; background:#fffef8; border:1px solid var(--line); font-size:13px; font-weight:700; color:var(--ink); line-height:1.5; }
.account-perks img { width:22px; height:22px; object-fit:contain; flex-shrink:0; }

/* 会員証 */
.account-card { position:relative; margin:4px 0 14px; padding:22px 20px 18px; border-radius:20px; color:var(--ink);
 background:linear-gradient(135deg,#fffef8 0%,#f4fadf 60%,#e7f4c4 100%); border:1px solid #cfe39a; box-shadow:0 1px 0 #fff inset, 0 18px 34px -24px #163a2280; overflow:hidden; }
.account-card::before { content:""; position:absolute; right:-40px; top:-40px; width:150px; height:150px; border-radius:50%; background:radial-gradient(circle,#ffffffb0 0 40%,transparent 41%), repeating-radial-gradient(circle,#8cc63f14 0 6px,transparent 6px 12px); }
.account-card-tape { position:absolute; left:50%; top:-8px; width:84px; translate:-50% 0; rotate:-3deg; }
.account-card-brand { position:relative; margin:4px 0 6px; font:600 10px var(--f-latin); letter-spacing:.2em; color:var(--lime-deep); }
.account-card-brand span { color:var(--ink-3); margin-left:6px; }
.account-card .account-person { position:relative; margin:6px 0 0; padding-right:70px; }
.account-card .account-avatar { background:white; box-shadow:0 0 0 3px #fff, 0 0 0 5px #bfe36a; }
.account-card-badge { position:absolute; right:16px; bottom:16px; width:56px; height:56px; object-fit:contain; filter:drop-shadow(0 6px 8px #163a2233); animation:account-badge-in .6s var(--spring) both; }
@keyframes account-badge-in { from { opacity:0; transform:scale(.4) rotate(-20deg); } }

/* メンバー歴バッジの棚 */
.account-badge-shelf { list-style:none; display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); gap:4px; margin:14px 0 0; padding:10px 6px 8px; border-radius:14px; background:#fbfaf1; border:1px dashed #cfdcc3; }
.account-badge-shelf li { display:grid; justify-items:center; gap:3px; min-width:0; }
.account-badge-shelf img { width:100%; max-width:30px; aspect-ratio:1; object-fit:contain; filter:grayscale(1) opacity(.35); transition:filter .3s, transform .3s var(--spring); }
.account-badge-shelf span { font-size:9px; line-height:1.2; color:var(--ink-3); white-space:nowrap; }
.account-badge-shelf li[data-earned="true"] img { filter:none; }
.account-badge-shelf li[data-current="true"] img { transform:scale(1.18); }
.account-badge-shelf li[data-current="true"] span { color:var(--ink); font-weight:700; }
.account-badge-next { margin:8px 0 0 !important; font-size:11px; color:var(--ink-2) !important; }
.account-membership { background:#fffef8; }

/* メニュー内の入口 */
.account-entry-guest { position:relative; }
.account-entry-art { float:right; width:96px; height:auto; margin:-8px -6px 0 4px; filter:drop-shadow(0 6px 8px #163a2222); }
.account-entry-member { position:relative; }
.account-entry-member .account-person { position:relative; padding-right:48px; }
.account-entry-badge { position:absolute; right:0; top:50%; width:40px; height:40px; translate:0 -50%; object-fit:contain; }
@media(max-width:1080px) {
 .account-entry { background:repeating-linear-gradient(-45deg,#f3fadf 0 16px,#eef7dc 16px 32px); border:1px solid #d6eaa4; }
 .account-entry .account-perks { clear:both; gap:6px; margin-bottom:14px; }
 .account-entry .account-perks li { padding:8px 12px; font-size:12px; background:#fffef8e6; }
}
@media(max-width:400px) { .account-hero { margin:0 -24px 16px; } .account-badge-shelf span { font-size:8px; } }
.account-membership p:empty { display:none; }

/* ---------- プロフィールアイコン ---------- */
.account-avatar { background-size:cover; background-position:center; }
.account-avatar.has-icon { color:transparent; background-color:#fff; }
.account-avatar-wrap { position:relative; display:inline-grid; flex-shrink:0; }
.account-avatar-lg { width:64px; height:64px; border-radius:50%; font-size:28px; box-shadow:0 0 0 3px #fff, 0 0 0 5px #bfe36a, 0 10px 18px -10px #163a2266; }
.account-avatar-badge { position:absolute; right:-10px; bottom:-8px; width:34px; height:34px; object-fit:contain; filter:drop-shadow(0 3px 4px #163a2240); }
.account-card .account-avatar-lg { width:72px; height:72px; }
.account-section-title { margin:18px 0 8px; font:700 13px var(--f-body); color:var(--ink); }
.account-icon-group { margin:0 0 12px; }
.account-icon-group-title { margin:0 0 6px; font-size:11px; font-weight:700; color:var(--ink-2); }
.account-icon-group-title small { margin-left:8px; font-weight:400; color:var(--ink-3); }
.account-icon-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(48px,1fr)); gap:8px; }
.account-icon { position:relative; padding:0; border:0; border-radius:50%; background:none; aspect-ratio:1; cursor:pointer; transition:transform .2s var(--spring); }
.account-icon img { display:block; width:100%; height:100%; border-radius:50%; object-fit:cover; box-shadow:0 0 0 2px #fff, 0 4px 10px -6px #163a2266; }
.account-icon:hover:not(:disabled) { transform:translateY(-2px) scale(1.05); }
.account-icon.is-current img { box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--lime); }
.account-icon:disabled { cursor:default; }
.account-icon:disabled img { filter:grayscale(1) brightness(1.1) opacity(.45); }
.account-icon:disabled::after { content:""; position:absolute; inset:0; margin:auto; width:16px; height:16px; background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 7V5a3 3 0 0 1 6 0v2' fill='none' stroke='%23163a22' stroke-width='1.6'/%3E%3Crect x='3' y='7' width='10' height='7' rx='1.6' fill='%23163a22'/%3E%3C/svg%3E"); opacity:.7; }
.account-icon-group[data-group="member"] .account-icon:not(:disabled) img { box-shadow:0 0 0 2px #f4cf6a, 0 4px 10px -6px #163a2266; }

/* ---------- メニュー内（ログイン後） ---------- */
.account-entry-head { display:flex; align-items:center; gap:16px; margin:4px 0 14px; }
.account-entry-head .account-name { font-size:19px; }
.account-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:0 0 12px; }
.account-stats div { padding:8px 6px 7px; border-radius:12px; background:#fffef8e6; border:1px solid #d6eaa4; text-align:center; min-width:0; }
.account-stats dt { font-size:10px; color:var(--ink-3); }
.account-stats dd { margin:2px 0 0; font:600 15px var(--f-latin); color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.account-entry-open { display:block; width:100%; min-height:42px; border:0; border-radius:999px; background:var(--ink); color:#fff; font:700 13px var(--f-body); cursor:pointer; box-shadow:0 3px 0 #0b2414; }
.account-entry-open:active { transform:translateY(2px); box-shadow:0 1px 0 #0b2414; }
.account-avatar.has-icon { background-size:cover !important; background-position:center !important; background-repeat:no-repeat !important; }
.account-card .account-person { padding-right:56px; gap:16px; }
.account-card .account-name { font-size:19px; white-space:nowrap; }
.account-card .account-caption { line-height:1.5; }
/* 枠は画像の縁の上に直接描く（画像と枠の間にすき間を作らない） */
.account-avatar-lg, .account-card .account-avatar, .account-entry .account-avatar { box-shadow:inset 0 0 0 4px #bfe36a, 0 8px 16px -10px #163a2266 !important; }
.account-avatar.has-icon { background-color:#fffef8; }
.account-icon img { box-shadow:inset 0 0 0 2px #fff, 0 3px 8px -5px #163a2266; }
.account-icon.is-current img { box-shadow:0 0 0 3px var(--lime), 0 3px 8px -5px #163a2266; }

/* ---------- フレーム（720四方・リング中心(360,350)・穴の半径200 → アイコン直径の1.731倍で重ねる） ---------- */
.account-avatar-wrap { position:relative; display:inline-block; flex-shrink:0; line-height:0; }
.account-frame { position:absolute; width:173.08%; max-width:none; left:-36.54%; top:-34.13%; pointer-events:none; }
.account-frame-badge { position:absolute; width:50%; right:-22%; bottom:-14%; filter:drop-shadow(0 2px 3px #163a2240); pointer-events:none; }
.account-avatar.has-frame { box-shadow:0 8px 16px -10px #163a2266 !important; }
.account-entry-head { gap:26px; margin:14px 0 20px 8px; }
.account-card .account-person { gap:28px; margin-left:8px; }
.account-picker-tabs { display:flex; gap:6px; margin:18px 0 12px; }
.account-picker-tab { flex:1; min-height:36px; border:1px solid var(--line); border-radius:999px; background:#fffef8; color:var(--ink-2); font:700 12px var(--f-body); cursor:pointer; }
.account-picker-tab[aria-selected="true"] { background:var(--ink); border-color:var(--ink); color:#fff; }
.account-tile { position:relative; padding:0; border:0; background:none; aspect-ratio:1; cursor:pointer; border-radius:16px; transition:transform .2s var(--spring), background-color .2s; }
.account-tile:hover:not(:disabled) { transform:translateY(-2px); }
.account-tile.is-current { background:#eef7dc; box-shadow:0 0 0 2px var(--lime); }
.account-tile:disabled { cursor:default; }
.account-tile:disabled > img { filter:grayscale(1) brightness(1.08) opacity(.45); }
.account-tile-icon { position:absolute; inset:6%; width:88%; height:88%; border-radius:50%; object-fit:cover; }
.account-tile-frame { position:absolute; inset:0; width:100%; height:100%; }
[data-pick="frame"] .account-tile-icon { inset:auto; width:57.8%; height:57.8%; left:21.1%; top:19.7%; }
.account-tile-badge { position:absolute; width:30%; right:10%; bottom:8%; }
.account-tile-lock { position:absolute; inset:0; margin:auto; width:18px; height:18px; background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 7V5a3 3 0 0 1 6 0v2' fill='none' stroke='%23163a22' stroke-width='1.6'/%3E%3Crect x='3' y='7' width='10' height='7' rx='1.6' fill='%23163a22'/%3E%3C/svg%3E"); opacity:.75; }
.account-icon-grid { grid-template-columns:repeat(auto-fill,minmax(60px,1fr)); gap:6px; }
/* フレームはアイコンと同じ正方形に重ねる（SVG） */
.account-frame { width:100%; height:100%; left:0; top:0; }
.account-frame-badge { width:46%; right:-16%; bottom:-10%; }
.account-entry-head { gap:20px; margin:8px 0 18px 2px; }
.account-card .account-person { gap:22px; margin-left:0; }
[data-pick="frame"] .account-tile-icon { inset:6%; width:88%; height:88%; left:auto; top:auto; }
.account-tile-frame { inset:6%; width:88%; height:88%; }
.account-tile-badge { width:36%; right:0; bottom:0; }
.account-tile.is-locked { cursor:help; }
.account-tile.is-locked > img { filter:grayscale(1) brightness(1.08) opacity(.45); }
.account-pick-detail { min-height:2.6em; margin:6px 0 4px; padding:8px 12px; border-radius:12px; background:#fff8df; color:var(--ink-2); font-size:12px; line-height:1.6; }
.account-badge-shelf { grid-template-columns:repeat(7,minmax(0,1fr)); row-gap:8px; }
.account-badge-shelf img { max-width:34px; }
/* フレームを外す：アイコンの上に✕マーク */
.account-tile-none { position:absolute; right:2px; top:2px; width:22px; height:22px; border-radius:50%; background:#fffef8 no-repeat center/10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7' stroke='%23163a22' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); box-shadow:0 0 0 1.5px #163a22, 0 2px 4px #163a2233; }
/* できることの一覧は説明なので、ボタンに見えないよう枠と背景を付けない */
.account-perks { gap:6px; margin:0 0 18px; }
.account-perks li, .account-entry .account-perks li { padding:0; border:0; border-radius:0; background:none; font-weight:500; font-size:13px; color:var(--ink-2); }
.account-perks li::before { content:none; }
.account-perks img { width:18px; height:18px; }

/* ---------- 会員証（2026-10-05 作り直し） ---------- */
.account-card { position:relative; margin:4px 0 16px; padding:16px 18px 0; border-radius:20px; overflow:hidden; border:1px solid #e6dcae;
  background:
    url("../site/decor/daisy-m.webp") no-repeat right -46px top -30px / 190px auto,
    repeating-linear-gradient(-45deg, rgba(255,226,140,.16) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #fffef8 0%, #fff8dc 100%);
  box-shadow:0 1px 0 #fff inset, 0 18px 32px -22px #163a2266; }
.account-card::before, .account-card-tape, .account-card-brand { display:none; }
.account-card::after { content:""; position:absolute; right:-46px; top:-30px; width:190px; height:190px; background:rgba(255,254,248,.55); pointer-events:none; border-radius:50%; }
.account-card-top { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.account-card-logo { width:84px; height:auto; }
.account-card-kind { font:600 10px var(--f-latin); letter-spacing:.24em; color:var(--ink-3); }
.account-card .account-person { position:relative; z-index:1; display:flex; align-items:center; gap:18px; margin:0 0 16px; padding:0; }
.account-card .account-avatar-lg { width:76px; height:76px; }
.account-card .account-name { font-size:21px; }
.account-card .account-caption { font-size:11px; color:var(--ink-3); }
.account-card-foot { position:relative; z-index:1; display:flex; align-items:center; gap:10px; margin:0 -18px; padding:10px 18px; background:var(--ink); color:#fffef8; font:700 12px var(--f-body); }
.account-card-foot .account-card-badge { position:static; width:30px; height:30px; animation:none; filter:drop-shadow(0 1px 2px #0006); }
.account-card { background: repeating-linear-gradient(-45deg, rgba(255,226,140,.16) 0 14px, transparent 14px 28px), linear-gradient(160deg, #fffef8 0%, #fff8dc 100%); }
.account-card::after { content:""; position:absolute; right:-34px; top:-40px; width:150px; height:150px; border-radius:0; background:url("../site/decor/daisy-m.webp") no-repeat center/contain; opacity:.16; transform:rotate(14deg); pointer-events:none; }
.account-card-kind { position:relative; z-index:1; }
/* 会員証の帯：メンバー歴の段階の色（バッジと同じ素材感）。未確認はクリーム */
.account-card-foot { color:var(--ink); background:#fff1bf; border-top:1px solid #ecd98f; }
.account-card[data-tier="new"] .account-card-foot { background:linear-gradient(90deg,#f4f4f4,#d9d9d9); }
.account-card[data-tier="1m"] .account-card-foot { background:linear-gradient(90deg,#ff8a80,#e8453c); color:#fff; border-color:#c93a32; }
.account-card[data-tier="2m"] .account-card-foot { background:linear-gradient(90deg,#f6f9fb,#c9d2da 55%,#eef3f6); border-color:#b8c2cc; }
.account-card[data-tier="6m"] .account-card-foot { background:linear-gradient(90deg,#fff3c4,#f2c14e 55%,#ffe39a); border-color:#d9a63a; }
.account-card[data-tier="1y"] .account-card-foot { background:linear-gradient(90deg,#ffd6ec,#d6f0ff,#d9ffe0,#fff6c2,#ead9ff); border-color:#e2d4ef; }
.account-card:is([data-tier="2y"],[data-tier="3y"],[data-tier="4y"],[data-tier="5y"],[data-tier="6y"],[data-tier="7y"],[data-tier="8y"],[data-tier="9y"],[data-tier="10y"]) .account-card-foot { background:linear-gradient(90deg,#ffc9c9,#ffe0b0,#fff3a8,#c9f2cf,#c6ecfb); border-color:#f2c14e; }
/* アイコン／フレームの切り替え：淡い溝の上で選んだ側だけ白く浮かぶ */
.account-picker-tabs { gap:0; padding:4px; border-radius:999px; background:#f1ecd6; }
.account-picker-tab { border:0; background:transparent; color:var(--ink-3); min-height:34px; }
.account-picker-tab[aria-selected="true"] { background:#fffef8; color:var(--ink); border:0; box-shadow:0 1px 3px #163a2226; }

/* メンバーカード下部：未加入のときだけ、右端に小さく加入ページへのリンク */
.account-card-join { margin-left:auto; padding:3px 10px; border:1px solid currentColor; border-radius:999px; color:inherit; font:700 11px var(--f-body); text-decoration:none; opacity:.8; white-space:nowrap; }
.account-card-join:hover { opacity:1; background:#fff8; }

/* メンバー限定Discordへの入口（マイページのメンバーシップ欄） */
.account-discord { display:flex; align-items:center; gap:12px; margin-top:14px; padding:11px 14px; border:1px solid #d6d9fb; border-radius:16px; background:#f3f4ff; color:var(--ink); text-decoration:none; }
.account-discord > i { flex:none; display:grid; place-items:center; width:36px; height:36px; border-radius:11px; background:#5865f2; color:#fff; }
.account-discord > i svg { width:21px; height:21px; fill:currentColor; }
.account-discord strong { display:block; font:700 13px var(--f-body); }
.account-discord small { display:block; margin-top:2px; font-size:11px; line-height:1.5; color:var(--ink-2); }
.account-discord-go { margin-left:auto; font-weight:700; color:#5865f2; }
.account-discord:hover { border-color:#5865f2; }
