/* 게임 화면의 상품 카드 (돌계정 등) — 카드에 적힌 것이 모두 진짜 글자라서 검색 사이트가 읽는다 */
/* 상품 구역이 길어지므로 이 화면에서는 바탕 틀의 높이를 내용에 맞춘다 (화면 높이로 고정돼 있으면 아래 메뉴가 카드 위에 겹친다) */
.container-flex { height: auto !important; min-height: 100vh; }
.container-flex > section.products { height: auto !important; flex: 0 0 auto; }
.dol { max-width: 760px; margin: 2.5rem auto 1rem; padding: 0 0.25rem; font-family: 'Nunito Sans', 'Malgun Gothic', sans-serif; }
.dol-title { font-size: 1.3rem; font-weight: 700; margin: 0 0 0.3rem; color: #222; }
.dol-sum { font-size: 0.92rem; color: #555; margin: 0 0 0.8rem; }
.dol-notes { list-style: none; margin: 0 0 1rem; padding: 0.75rem 0.9rem; background: #f6f7f9; border: 1px solid #e3e5ea; border-radius: 10px; font-size: 0.86rem; line-height: 1.6; color: #444; }
.dol-group { font-size: 0.98rem; font-weight: 600; color: #444; margin: 1.2rem 0 0.5rem; }
.dol-group small { font-weight: 400; color: #888; font-size: 0.85rem; }
/* 카드: 두 줄 — 첫 줄 번호·이름·가격, 둘째 줄 (캐릭터 그림) 구성 [톡톡 문의]. 단추를 줄 안에 넣어 카드가 얇다 */
.dol-card { background: #171a2b; border-left: 4px solid #f2a33a; border-radius: 6px; margin: 0 0 0.45rem; padding: 0.5rem 0.7rem 0.55rem; color: #fff; overflow: hidden; }
.dol-head { display: flex; align-items: baseline; gap: 0.45rem; }
.dol-no { background: #f2a33a; color: #171a2b; font-weight: 800; font-size: 0.78rem; padding: 0.05rem 0.4rem; border-radius: 3px; white-space: nowrap; flex: 0 0 auto; }
.dol-name { font-weight: 700; font-size: 0.98rem; flex: 1 1 auto; min-width: 0; word-break: keep-all; }
.dol-price { color: #ffcf5a; font-weight: 800; font-size: 1.02rem; white-space: nowrap; flex: 0 0 auto; }
.dol-row { display: flex; align-items: flex-end; gap: 0.5rem; margin-top: 0.28rem; }
/* 캐릭터 · 무기 그림: 원본 그대로 (자르지 않는다 — 그림 아래 띠의 중국 이름이 보여야 한다). 그림 아래에 한국 이름을 글자로 적는다 */
.dol-thumbs { display: flex; flex-wrap: wrap; gap: 0.3rem; flex: 0 1 auto; min-width: 0; align-self: center; }      /* 그림이 많으면(섀도우버스 8장 · 어나더에덴 등) 다음 줄로 넘긴다 */
.dol-thumbs .th { display: inline-flex; flex-direction: column; align-items: center; width: 52px; }
.dol-thumbs img { width: 52px; height: auto; border-radius: 4px; background: #000; display: block; }
.dol-thumbs .cap { font-size: 0.64rem; font-weight: 700; line-height: 1.25; color: #e6e8f0; max-width: 58px; max-height: 3.75em; overflow: hidden; text-align: center; overflow-wrap: anywhere; margin-top: 1px; }      /* 긴 이름(레드＆잠만보 · 스카사하=스카디(룰러))은 세 줄까지 */
.dol.light .dol-thumbs .cap { color: #333a48; }
/* 그림 안 아래쪽에 작게 얹는 중국 이름 — 그림 자체에 이름이 없는 게임(명조 등)만. 공급자에게서 물건을 받아 올 때 찾는 이름이다 */
.dol-thumbs .pic { position: relative; display: block; border-radius: 4px; overflow: hidden; }
.dol-thumbs .cn { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 0.58rem; font-weight: 700; line-height: 1.35; text-align: center; white-space: nowrap; overflow: hidden; }
.dol-thumbs .tag { font-size: 0.6rem; font-weight: 800; line-height: 1.25; color: #ffcf5a; max-width: 58px; max-height: 2.5em; text-align: center; overflow-wrap: anywhere; overflow: hidden; }      /* 그림마다 붙는 꼬리표: x3 · ⭐성도각성 · 보유 확률 90%(두 줄까지) */
.dol.light .dol-thumbs .tag { color: #b3261e; }
/* 그림 안 오른쪽 위에 얹는 수량 (페그오 x5 — 사장님 2026-11-26 "캐릭터 이미지안에 xn") */
.dol-thumbs .bd { position: absolute; right: 0; top: 0; background: rgba(0, 0, 0, 0.8); color: #ffcf5a; font-size: 0.66rem; font-weight: 800; line-height: 1.3; padding: 0 3px; border-radius: 0 4px 0 5px; }
/* 따로 그리는 그림 줄 (페그오 "추가캐릭(0-4)" — 가진 캐릭터가 아니라 나올 수 있는 후보): 제목 + 조금 작은 얼굴 줄, 위의 그림과 점선으로 가른다 */
.dol-extra { flex: 1 1 100%; display: flex; flex-direction: column; gap: 0.25rem; padding-top: 0.35rem; border-top: 1px dashed rgba(255, 255, 255, 0.22); }
.dol.light .dol-extra { border-top-color: rgba(0, 0, 0, 0.18); }
.dol-extra .ex-t { font-size: 0.74rem; font-weight: 800; color: #ff8a80; }
.dol.light .dol-extra .ex-t { color: #b3261e; }
.dol-extra .dol-thumbs { align-self: flex-start; }
.dol-extra .dol-thumbs .th, .dol-extra .dol-thumbs img { width: 44px; }
.dol-extra .dol-thumbs .cap { max-width: 50px; font-size: 0.6rem; font-weight: 600; }
.dol-mult { color: #ffd98a; font-weight: 800; font-size: 0.95rem; align-self: center; flex: 0 0 auto; }      /* 캐릭터 그림 뒤의 "x3" */
.dol.light .dol-mult { color: #b3261e; }
/* 구성 글: 항목마다 그림 카드와 같은 색(틀에서 항목마다 색을 적어 준다). 색이 없는 글은 아래 기본색 */
.dol-spec { flex: 1 1 auto; min-width: 0; margin: 0; color: #e6e8f0; font-size: 0.85rem; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.dol-spec-full { margin-top: 0.28rem; }
.dol-spec .plus { color: #fff; font-weight: 700; }
.must { display: inline-block; background: #2e7d32; color: #fff; font-weight: 800; font-size: 0.72rem; line-height: 1; padding: 0.22rem 0.4rem; border-radius: 4px; white-space: nowrap; align-self: center; flex: 0 0 auto; }
.dol-gap { flex: 1 1 auto; }
.dol-cardlink { color: #9fc5ff !important; text-decoration: underline; font-size: 0.8rem; white-space: nowrap; }
.dol-ask { flex: 0 0 auto; background: #03c75a; color: #fff !important; font-weight: 700; font-size: 0.78rem; line-height: 1; padding: 0.38rem 0.65rem; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.dol-ask:hover { background: #02b351; }
/* 그림이 상품 전체인 카드 (페그오): 그림은 흰 여백을 잘라 통째로, 아래 글자는 같은 두 줄 */
.dol-card.pic { padding: 0 0 0.5rem; border-left: 0; }
.dol-card.pic .dol-full { display: block; background: #fff; overflow: hidden; min-height: 120px; }      /* 그림이 뜨기 전에도 자리를 잡아 둔다 (늦게 불러오는 그림이 화면에 들어온 것으로 잡히게) */
.dol-card.pic .dol-full img { display: block; width: 138%; max-width: none; margin-left: -19%; height: auto; }
.dol-card.pic .dol-head { margin-top: 0.45rem; padding: 0 0.7rem; }
.dol-card.pic .dol-row { padding: 0 0.7rem; }
/* 재화를 그림(아이콘) + 수량으로: 이름은 [자세히보기] 안에 글자로 있다 */
.dol-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.7rem; margin-top: 0.38rem; }
.dol-chips .chip { display: inline-flex; align-items: center; gap: 0.28rem; }
.dol-chips .ico { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: #14172a; object-fit: cover; flex: 0 0 auto; }
.dol-chips .q { font-weight: 800; font-size: 0.95rem; }
.dol-row.wrap { flex-wrap: wrap; align-items: center; margin-top: 0.4rem; }
.dol-rest { color: #e6e8f0; font-size: 0.82rem; font-weight: 700; min-width: 0; word-break: keep-all; line-height: 1.5; flex: 1 1 auto; }      /* 아이콘이 없는 항목 — 그림 카드와 같은 색 · 사이에 가운뎃점 */
.dol-rest .sep { color: #8a90a6; font-weight: 400; }
.dol-chips { gap: 0.25rem 0.45rem; }
.dol-chips .chip { gap: 0.18rem; }
.dol-chips .q { font-size: 0.86rem; }
.dol-chips img.ico { border-radius: 0; width: 24px; height: 24px; object-fit: contain; }
.dol-chips .n { font-size: 0.72rem; font-weight: 700; color: #c5c8d4; margin-left: 0.1rem; white-space: nowrap; }      /* 수량 뒤의 덧말: (0개일 수 있음) · [이메일계정] */
.dol.light .dol-chips .n { color: #5a6070; }
/* 캐릭터 그림이 있는 줄은 키가 크므로 [자세히보기] [톡톡 문의]를 오른쪽에 위아래로 쌓는다 */
.dol-row.wrap.has-th { align-items: flex-end; }
.dol-row.wrap.has-th .must { align-self: center; }
.dol-row.wrap.has-th .dol-acts { flex-direction: column; align-items: flex-end; gap: 0.15rem; }
.dol-row.wrap.has-th .dol-acts:has(details[open]) { flex-direction: row; }
/* 재화만 있는 카드(그림 · 덧글 없음 — 드레전드 등): 재화와 단추를 한 줄에 두어 카드를 얇게. [자세히보기]를 펼치면 보통 모양으로 돌아간다 */
.dol-card.slim { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.5rem; align-items: center; }
.dol-card.slim .dol-head { grid-column: 1 / -1; }
.dol-card.slim .dol-chips { grid-column: 1; margin-top: 0.3rem; }
.dol-card.slim .dol-row.wrap { grid-column: 2; margin-top: 0.3rem; }
.dol-card.slim:has(details[open]) { display: block; }
/* 그림이 셋 이상이면 단추가 어차피 다음 줄로 넘어간다 → 그 줄에 가로로 나란히 둔다 (위아래로 쌓으면 카드가 길어진다) */
.dol-row.wrap.has-th.many .dol-acts { flex: 1 1 100%; flex-direction: row; justify-content: flex-end; align-items: center; gap: 0.5rem; }
/* [자세히보기] [톡톡 문의]는 한 덩어리로 오른쪽에. 펼치면 덩어리가 한 줄을 다 쓰고 글이 그 아래에 나온다 */
.dol-acts { margin-left: auto; display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }
.dol-acts:has(details[open]) { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-end; }
.dol-more { flex: 0 0 auto; font-size: 0.78rem; }
.dol-more summary { color: #9fc5ff; cursor: pointer; list-style: none; white-space: nowrap; padding: 0.3rem 0.1rem; }
.dol-more summary::-webkit-details-marker { display: none; }
.dol-more summary::after { content: ' ▾'; }
.dol-more[open] { flex: 1 1 100%; order: 2; }
.dol-more[open] summary::after { content: ' ▴'; }
.dol-more .dol-spec { margin: 0.1rem 0 0.15rem; font-size: 0.84rem; }
.dol.light .dol-rest { color: #333a48; }
.dol.light .dol-more summary { color: #1a5fb4; }
/* 그림 카드가 밝은 바탕인 게임(일대죄 · SD건담 등)은 카드도 밝게 — 항목 색이 밝은 바탕에 맞춰져 있다 */
.dol.light .dol-card { background: #fbfbfd; border: 1px solid #d5d9e3; border-left: 4px solid #c62839; color: #1b2433; }
.dol.light .dol-no { background: #1b2a4a; color: #fff; }
.dol.light .dol-name { color: #1b2433; }
.dol.light .dol-price { color: #c0182b; }
.dol.light .dol-spec { color: #333a48; }
.dol.light .dol-spec .plus { color: #555; }
.dol.light .dol-cardlink { color: #1a5fb4 !important; }
.dol.light .dol-card.pic { border-left: 1px solid #d5d9e3; }
/* 묶음마다 처음 8개만 보이고 나머지는 [더 보기] (글자는 화면 뒤에 그대로 들어 있다) */
.dol-list .dol-card.more { display: none; }
.dol-list.open .dol-card.more { display: block; }
.dol-morebtn { display: block; width: 100%; margin: 0.15rem 0 0.9rem; padding: 0.55rem; background: #fff; border: 1px solid #cfd3dc; border-radius: 8px; font-size: 0.9rem; color: #333; cursor: pointer; }

/* 게임 화면 윗부분 (고침 10): 봇의 구매링크페이지와 같은 모양 — 구매 순서 상자 · [상품 전체보기] 초록 단추 · 판매자 추천상품 */
.dol-steps{background:#eefbf3;border:1px solid #b7e4c7;border-radius:8px;padding:10px 12px;font-size:.92rem;line-height:1.5;color:#1b5e20;margin:14px 0 14px;max-width:560px}
.dol-art{display:block;background:#5cc568;color:#fff;text-align:center;font-weight:700;font-size:1.3rem;line-height:1.3;padding:54px 14px;border-radius:10px;text-decoration:none;max-width:560px}
.dol-art:hover,.dol-art:active,.dol-art:visited{color:#fff}
.dol-art:active{filter:brightness(.94)}
.dol-guide{margin:10px 0 0;font-size:.92rem}
.dol-guide a{color:#555;text-decoration:underline}
.dol-guide .pr{color:#333;margin-left:6px}
section.products .dol{margin-top:1.6rem;border-top:1px solid #e3e5ea;padding-top:1.2rem}
.dol-lead{font-size:.98rem;color:#333;margin:0 0 .35rem;line-height:1.5}
.dol-lead.sub{color:#888;margin-bottom:.9rem}
.dol-notes li.hd{font-weight:700;color:#222;margin-bottom:2px}
.dol-title.two{margin-top:1.1rem}

/* 계정 검색 화면 (고침 11): 사이트 머리 아래에 봇의 검색 화면을 틀로 — 틀이 화면의 남은 높이를 채우고, 틀 안에서 스크롤한다 (아래에 붙는 "담은 계정" 막대가 보이게) */
.dol-findpage{padding-bottom:0}
.dol-back{margin:8px 0 6px;font-size:.95rem}
.dol-back a{color:#3b5bdb;text-decoration:underline}
.dol-back strong{margin-left:8px;color:#222}
.dol-frame{display:block;width:100%;border:0;background:#f4f5f7;height:calc(100vh - 120px);height:calc(100dvh - 120px);min-height:460px}

/* 고침 12: [자세히보기]를 [톡톡 문의] 바로 왼쪽에 늘 붙여 둔다 — 둘은 한 쌍으로 카드의 오른쪽 아래에 나란히 (카드마다 자리가 달라지지 않게). 펼친 구성 글은 카드 맨 아래에 카드 너비로 */
.dol-row.wrap, .dol-row.wrap.has-th { align-items: flex-end; }
.dol-acts, .dol-row.wrap.has-th .dol-acts, .dol-row.wrap.has-th.many .dol-acts { margin-left: auto; flex: 0 0 auto; display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 0.5rem; }
.dol-morebtn2 { -webkit-appearance: none; appearance: none; background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: 0.3rem 0.1rem; width: auto; min-width: 0; min-height: 0; font: inherit; font-size: 0.78rem; font-weight: 400; line-height: 1.2; letter-spacing: normal; text-transform: none; color: #9fc5ff; cursor: pointer; white-space: nowrap; }
.dol-morebtn2::after { content: ' \25BE'; }
.dol-morebtn2[aria-expanded="true"]::after { content: ' \25B4'; }
.dol.light .dol-morebtn2 { color: #1a5fb4; }
.dol-spec-more { margin: 0.4rem 0 0.1rem; font-size: 0.84rem; }
.dol-spec-more[hidden] { display: none; }
.dol-card.slim .dol-spec-more { grid-column: 1 / -1; }
.dol-card.slim .dol-row.wrap { align-self: end; }      /* 얇은 카드(재화만 있는 카드): 재화가 여러 줄이어도 단추 쌍은 카드의 맨 아래 */
.dol-card.pic .dol-spec-more { padding: 0 0.7rem; }

/* 고침 13: "필수포함 캐릭터 + 랜덤 n개" — 필수포함 그림 뒤에 "+" 와 "?" 그림(랜덤). 높이는 옆의 캐릭터 그림에 맞춘다(화면 틀의 작은 스크립트) */
.dol-plus { align-self: center; color: #ffd98a; font-weight: 800; font-size: 1.05rem; flex: 0 0 auto; margin: 0 0.05rem; }
.dol.light .dol-plus { color: #8a5a00; }
.dol-thumbs .th.rnd .pic.q { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; box-sizing: border-box; border: 2px dashed #8a90a6; background: #23273d; color: #ffd98a; font-size: 1.7rem; font-weight: 800; line-height: 1; }
.dol.light .dol-thumbs .th.rnd .pic.q { background: #eef0f5; border-color: #9aa1b5; color: #8a5a00; }
.dol-thumbs .th.rnd { width: 58px; }
.dol-thumbs .th.rnd .cap, .dol-thumbs .th.rnd .tag { max-width: 64px; }
.dol-thumbs .th.rnd .tag { max-height: 3.75em; }

/* p14 — 랜덤 "?" 그림 안의 등급 글자 · 그림 아래 "선택불가" */
.dol-thumbs .th.rnd .pic.q { flex-direction: column; gap: 2px; padding: 3px 2px; height: auto; min-height: 52px; overflow: hidden; }
.dol-thumbs .th.rnd .pic.q b { font-size: 1.35rem; font-weight: 800; line-height: 1; }
.dol-thumbs .th.rnd .pic.q i { font-style: normal; font-size: 0.66rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-align: center; word-break: keep-all; overflow-wrap: anywhere; color: #fff; max-height: 2.2em; overflow: hidden; }
.dol.light .dol-thumbs .th.rnd .pic.q i { color: #1c1f2e; }
.dol-thumbs .th.rnd { width: 66px; }
.dol-thumbs .th.rnd .cap, .dol-thumbs .th.rnd .tag, .dol-thumbs .th.rnd .nt { max-width: 72px; }
.dol-thumbs .th.rnd .nt { display: block; font-size: 0.68rem; line-height: 1.2; color: #ff9d9d; text-align: center; }
.dol.light .dol-thumbs .th.rnd .nt { color: #b3261e; }

/* p15 — [나머지 N개 더 보기]를 눈에 띄게 (사장님 2026-11-26: "상품이 더있는지 모르고 넘어갈뻔햇어") */
.dol-morebtn { margin: 0.35rem 0 1.1rem; padding: 0.85rem 0.6rem; background: #ffb703; border: 2px solid #e09400; border-radius: 12px; font-size: 1.05rem; font-weight: 800; color: #1c1f2e; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.dol-morebtn::before { content: "\25BC  "; font-size: 0.8em; }
.dol-morebtn::after { content: "  \25BC"; font-size: 0.8em; }
/* p16 — 구매 순서 상자의 작은 안내 줄 · 상품정보 상자 안의 "주의사항" · 상품 목록이 없는 게임의 주의사항 상자 */
.dol-steps .sm { display: block; margin-top: 3px; font-size: 0.84rem; color: #33691e; }
.dol-notes li.hd.sub { margin-top: 0.6rem; }
.dol-notes.solo { margin-top: 14px; max-width: 560px; }
