/* 읽을거리 페이지 공통(오늘의 운세 worker/fortune.js, 타로 카드 뜻·게임 공략 scripts/make_guides.js) */
.fortune .fhead { display: flex; flex-direction: column; gap: 4px; }
.fortune .date { color: var(--sub); font-size: 14px; }
.fortune .hanja { font-family: "Gowun Batang", serif; color: #c0392b; opacity: .7; font-size: 13px; margin-left: 2px; }
.fortune .lead { color: var(--sub); }
.fortune .stars { color: #ffb400; letter-spacing: 1px; font-size: 15px; } .fortune .stars i { font-style: normal; color: var(--line); }
.zlist { list-style: none; padding: 0; display: grid; gap: 10px; }
.zlist a { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n s" "t t" "l l"; gap: 2px 10px; padding: 14px 16px; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; }
.zlist b { grid-area: n; font-family: Jua, sans-serif; font-weight: 400; font-size: 20px; }
.zlist .stars { grid-area: s; align-self: center; justify-self: end; }
.zlist strong { grid-area: t; font-size: 16px; }
.zlist span:not(.stars) { grid-area: l; color: var(--sub); font-size: 14px; }
.fortune .card { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; gap: 12px; }
.fortune .ztitle { display: flex; flex-direction: column; gap: 2px; } .fortune .ztitle strong { font-family: Jua, sans-serif; font-weight: 400; font-size: 26px; }
.flist { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.flist dt { color: var(--accent); font-weight: 700; font-size: 14px; padding-top: 2px; } .flist dd { margin: 0; }
.fortune .rel { background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 15px; }
.lucky { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lucky li { background: var(--bg); border-radius: 12px; padding: 8px; text-align: center; display: flex; flex-direction: column; gap: 0; }
.lucky span { color: var(--sub); font-size: 12px; } .lucky b { font-size: 15px; }
.years { list-style: none; padding: 0; display: grid; gap: 8px; }
.years li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 10px 14px; background: var(--surface); border-radius: 14px; }
.years b { color: var(--accent); }
.cta { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, #ffefc2, #ffd6dd); color: #1b1f2e; text-decoration: none; }
.cta b { font-family: Jua, sans-serif; font-weight: 400; font-size: 19px; } .cta span { font-size: 14px; color: #4a4f63; }
.cta.tarot { background: linear-gradient(135deg, #e3dcff, #d6e6ff); }
.znav { display: flex; flex-wrap: wrap; gap: 8px; }
.znav a { padding: 6px 12px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; font-size: 14px; }
.znav a[aria-current] { background: var(--accent); color: #fff; }
.tcard { align-items: center; text-align: center; }
.tarot-img { width: 60%; max-width: 240px; height: auto; border-radius: 12px; box-shadow: 0 8px 30px rgba(80,60,160,.35); }
.tarot-img.rev { transform: rotate(180deg); }
.tcard .en { color: var(--sub); font-size: 13px; letter-spacing: .1em; }
.kw { display: flex; gap: 6px; justify-content: center; } .kw span { padding: 2px 10px; border-radius: 99px; background: var(--bg); font-size: 13px; }
.fortune .note { color: var(--sub); font-size: 13px; }
.host { display: flex; align-items: center; gap: 12px; }
.host img { width: 88px; height: 88px; object-fit: contain; flex: none; }
.host p { position: relative; background: var(--surface); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 15px; }
.host p::before { content: ""; position: absolute; left: -7px; top: 50%; margin-top: -7px; border: 7px solid transparent; border-left: 0; border-right-color: var(--surface); }
.crumbs { font-size: 13px; color: var(--sub); } .crumbs a { color: var(--sub); }
.cardgrid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cardgrid a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--surface); border-radius: 14px; padding: 8px; box-shadow: var(--shadow); height: 100%; }
.cardgrid img { width: 100%; height: auto; border-radius: 8px; }
.cardgrid b { font-size: 14px; } .cardgrid span { font-size: 12px; color: var(--sub); }
.fortune .card h2 { font-size: 20px; }
.pager { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.pager a { padding: 8px 12px; border-radius: 99px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--sub); font-weight: 700; font-size: 12px; padding: 6px 8px; border-bottom: 2px solid var(--line, rgba(0,0,0,.1)); white-space: nowrap; }
.tbl td { padding: 8px; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); vertical-align: middle; }
.tbl small { color: var(--sub); }
.ico { width: 40px; height: 40px; object-fit: contain; display: block; }
.tbl td:first-child { white-space: nowrap; }
