:root {
  --ink: #172033;
  --muted: #667085;
  --line: #e5e7eb;
  --paper: #ffffff;
  --canvas: #f7f7f5;
  --accent: #ee5b3e;
  --accent-dark: #cf3f26;
  --teal: #087f78;
  --yellow: #f7c948;
  --shadow: 0 12px 32px rgba(24, 32, 50, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
}
.brand {
  display: block;
  text-decoration: none;
}
.brand-wordmark { display: block; width: 188px; height: auto; }
.header-links { display: flex; align-items: center; gap: 25px; font-size: 0.86rem; font-weight: 750; }
.header-links a { text-decoration: none; }
.header-links a:hover { color: var(--accent); }
.note-link { padding: 9px 15px; color: white; background: var(--ink); border-radius: 7px; }
.header-links .note-link:hover { color: white; background: var(--accent); }

.page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 80px; }
.intro-panel {
  display: flex;
  min-height: 306px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
  padding: 42px 44px;
  color: white;
  background:
    linear-gradient(90deg, rgba(12, 30, 52, .98) 0%, rgba(12, 30, 52, .91) 38%, rgba(12, 30, 52, .28) 76%, rgba(12, 30, 52, .08) 100%),
    url("/brand/toreca-brand-banner.webp") right center / cover no-repeat;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(18, 38, 62, .14);
}
.intro-copy { max-width: 680px; }
.eyebrow, .section-kicker, .ad-kicker, .follow-label { margin: 0 0 8px; color: var(--accent); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.16em; }
.intro-panel .eyebrow { color: #45d2cc; }
h1 { margin: 0; font-size: clamp(2.35rem, 5.8vw, 4.5rem); line-height: 1.04; letter-spacing: -0.055em; }
.mobile-break { display: none; }
.intro { margin: 22px 0 0; color: #dbe7f2; font-size: 0.96rem; }
.update-notice { display: grid; grid-template-columns: 128px minmax(0, 1fr); margin-top: 16px; overflow: hidden; background: white; border: 1px solid var(--line); border-left: 4px solid var(--teal); box-shadow: 0 8px 24px rgba(24, 32, 50, .04); }
.update-notice-head { display: flex; flex-direction: column; justify-content: space-between; padding: 16px; background: #f0f8f7; border-right: 1px solid #d9e9e6; }
.update-notice-head>div { display: grid; line-height: 1.25; }
.update-notice-head span { color: var(--teal); font-size: .62rem; font-weight: 900; letter-spacing: .13em; }
.update-notice-head h2 { margin: 2px 0 0; font-size: .96rem; }
.update-notice-head small { color: var(--muted); font-size: .68rem; font-weight: 800; }
.update-notice-list { max-height: 240px; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; }
.update-notice-list li { display: grid; grid-template-columns: 92px 72px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 48px; padding: 8px 15px; border-bottom: 1px solid #edf0f2; }
.update-notice-list li:last-child { border-bottom: 0; }
.update-notice-list time { color: var(--muted); font-size: .7rem; font-weight: 800; white-space: nowrap; }
.update-kind { padding: 2px 6px; color: #315d5a; background: #e9f5f3; border-radius: 3px; font-size: .64rem; font-weight: 900; text-align: center; white-space: nowrap; }
.update-kind--new,.update-kind--reopened { color: #2f704f; background: #eaf7ef; }
.update-kind--closed { color: #7b5960; background: #f7edef; }
.update-notice-list p { min-width: 0; margin: 0; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.update-notice-list p b { margin-right: 6px; color: var(--teal); font-size: .68rem; }
.update-notice-list .update-empty { grid-template-columns: 1fr; }

.preview-notice { margin: 18px 0 0; padding: 9px 12px; color: #765d12; background: #fff8d8; border: 1px solid #eadb91; font-size: 0.78rem; font-weight: 700; }
.list-heading { display: flex; align-items: end; justify-content: space-between; padding: 48px 0 18px; }
.list-heading h2 { margin: 0; font-size: 1.8rem; line-height: 1.25; letter-spacing: -0.03em; }
.list-heading > p { margin: 0 0 3px; color: var(--muted); font-size: 0.82rem; }
.section-kicker { margin-bottom: 3px; }

.filter-panel { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; padding: 13px 15px; background: white; border: 1px solid var(--line); }
.filter-title { flex: 0 0 auto; padding-right: 18px; border-right: 1px solid var(--line); font-size: 0.78rem; font-weight: 850; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.filter { flex: 0 0 auto; padding: 7px 13px; color: #4a5365; background: #f5f6f7; border: 1px solid transparent; border-radius: 5px; font: inherit; font-size: 0.78rem; font-weight: 800; cursor: pointer; }
.filter:hover { border-color: #c9ced8; }
.filter.active { color: white; background: var(--ink); }

.lottery-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.lottery-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform 160ms ease, box-shadow 160ms ease; }
.lottery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.lottery-card[hidden] { display: none; }
.card-detail-cover { position: absolute; z-index: 2; inset: 0; padding: 0; background: transparent; border: 0; cursor: pointer; }
.card-detail-cover:focus-visible { outline: 3px solid var(--teal); outline-offset: -4px; }
.card-visual {
  --tone-1: #1e6f92;
  --tone-2: #123652;
  position: relative;
  height: 176px;
  overflow: hidden;
  background: radial-gradient(circle at 77% 25%, rgba(255,255,255,.38) 0 2px, transparent 3px), radial-gradient(circle at 68% 35%, rgba(255,255,255,.25) 0 4px, transparent 5px), linear-gradient(135deg, var(--tone-1), var(--tone-2));
}
.card-visual::before { content: ""; position: absolute; width: 230px; height: 230px; right: -80px; bottom: -145px; border: 34px solid rgba(255,255,255,.1); border-radius: 50%; }
.visual--pokemon { --tone-1: #eeb83f; --tone-2: #d1682c; }
.visual--onepiece { --tone-1: #d85645; --tone-2: #712e3c; }
.visual--union { --tone-1: #7156c8; --tone-2: #263b82; }
.visual--yugioh { --tone-1: #56648b; --tone-2: #25233f; }
.deadline-ribbon { position: absolute; z-index: 3; top: 13px; left: 0; padding: 6px 12px 6px 14px; color: white; background: rgba(23,32,51,.9); font-size: 0.75rem; font-weight: 900; box-shadow: 3px 3px 0 rgba(0,0,0,.1); }
.deadline-ribbon.soon { background: #d93c2a; }
.visual-card { position: absolute; top: 37px; left: 50%; display: grid; width: 84px; height: 116px; place-content: center; color: white; border: 2px solid rgba(255,255,255,.7); border-radius: 8px; background: rgba(255,255,255,.13); box-shadow: 0 13px 28px rgba(0,0,0,.22), inset 0 0 0 5px rgba(255,255,255,.08); }
.visual-card-back { transform: translateX(-62px) rotate(-11deg); }
.visual-card-front { z-index: 2; transform: translateX(-31px) rotate(6deg); text-align: center; }
.visual-card-front b { display: block; font-size: 1.55rem; line-height: 1; letter-spacing: -0.04em; }
.visual-card-front small { display: block; margin-top: 5px; font-size: 0.48rem; font-weight: 800; letter-spacing: .14em; }
.visual-category { position: absolute; right: 14px; bottom: 11px; color: rgba(255,255,255,.82); font-size: .65rem; font-weight: 900; letter-spacing: .08em; }

.card-body { display: flex; min-height: 330px; flex: 1; flex-direction: column; padding: 18px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.category { overflow: hidden; color: var(--teal); font-size: 0.68rem; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.status-pill { flex: 0 0 auto; padding: 2px 7px; color: #2f704f; background: #eaf7ef; border-radius: 999px; font-size: 0.66rem; font-weight: 850; }
.lottery-card h2 { margin: 11px 0 4px; font-size: 1.02rem; line-height: 1.48; letter-spacing: -0.015em; }
.retailer { margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 750; }
.region-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.region-chip { padding: 3px 8px; color: #315d5a; background: #e9f5f3; border: 1px solid #c7e3df; border-radius: 999px; font-size: .66rem; font-weight: 850; line-height: 1.35; }
.region-chip.store-only { color: #76520c; background: #fff5d9; border-color: #efd89a; }
.details { display: grid; gap: 6px; margin: 16px 0 0; }
.details div { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 7px; }
.details dt { color: #8a93a3; font-size: 0.7rem; font-weight: 850; }
.details dd { margin: 0; font-size: 0.75rem; line-height: 1.55; }
.requirements { margin: 13px 0 17px; color: var(--muted); font-size: 0.75rem; line-height: 1.6; }
.actions { position: relative; z-index: 3; display: grid; grid-template-columns: .78fr 1.22fr; gap: 8px; margin-top: auto; }
.detail-button { display: flex; align-items: center; justify-content: center; padding: 10px 9px; color: var(--ink); background: #f1f3f5; border: 1px solid #d7dce3; border-radius: 4px; font-size: .78rem; font-weight: 850; cursor: pointer; }
.detail-button:hover { color: var(--teal); border-color: #99c8c2; }
.official-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 13px; color: white; background: var(--accent); border-radius: 4px; font-size: 0.82rem; font-weight: 900; text-decoration: none; }
.official-button:hover { background: var(--accent-dark); }
.official-button.disabled { pointer-events: none; color: #7c8493; background: #eceef1; }

.ad-card { position: relative; display: grid; grid-column: 1 / -1; grid-template-columns: 1fr minmax(260px, .75fr); gap: 28px; align-items: center; min-height: 150px; padding: 26px 30px; color: white; background: linear-gradient(115deg, rgba(255,255,255,.06), transparent 50%), #242d40; border-left: 5px solid var(--yellow); }
.pr-label { position: absolute; top: 10px; right: 11px; padding: 1px 6px; color: #3f361a; background: var(--yellow); font-size: 0.62rem; font-weight: 900; }
.ad-kicker { color: var(--yellow); }
.ad-copy strong { font-size: 1.22rem; }
.ad-copy p:last-child { max-width: 600px; margin: 7px 0 0; color: #c5ccda; font-size: 0.78rem; }
.ad-links { display: grid; gap: 8px; }
.ad-links a { padding: 9px 12px; color: var(--ink); background: white; border-radius: 3px; font-size: 0.78rem; font-weight: 850; text-decoration: none; }
.ad-links a::after { content: " \2197"; float: right; }
.ad-links > span { color: #c5ccda; font-size: .78rem; }
.ad-links .preview-affiliate-link { display: grid; gap: 1px; padding: 10px 12px; color: var(--ink); background: white; border-radius: 3px; }
.preview-affiliate-link small { color: var(--teal); font-size: .75rem; font-weight: 850; }
.preview-affiliate-link b { font-size: .86rem; }
.preview-affiliate-link em { color: #7b8493; font-size: .75rem; font-style: normal; }

.lottery-dialog { width: min(820px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; overflow: hidden; color: var(--ink); background: white; border: 0; border-radius: 8px; box-shadow: 0 28px 90px rgba(6, 15, 29, .34); }
.lottery-dialog::backdrop { background: rgba(9, 16, 29, .72); backdrop-filter: blur(3px); }
.lottery-dialog-shell { position: relative; max-height: calc(100dvh - 28px); overflow-y: auto; }
.modal-close { position: sticky; z-index: 5; top: 16px; float: right; width: 42px; height: 42px; margin: 16px 16px -58px 0; color: white; background: rgba(11, 23, 43, .78); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-size: 1.35rem; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.modal-close:hover { background: var(--ink); }
.modal-hero { position: relative; min-height: 310px; overflow: hidden; color: white; background: var(--ink); }
.modal-hero>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,40,.96) 0%, rgba(7,20,40,.8) 50%, rgba(7,20,40,.16) 100%), linear-gradient(0deg, rgba(7,20,40,.85), transparent 62%); }
.modal-hero-copy { position: absolute; z-index: 2; left: 28px; right: 30%; bottom: 28px; }
.modal-hero-meta { display: flex; align-items: center; gap: 9px; }
.modal-hero-meta>span { color: #67e1db; font-size: .74rem; font-weight: 900; }
.modal-hero-meta>b { padding: 3px 8px; color: #d8f7e6; background: rgba(52,142,95,.5); border: 1px solid rgba(189,244,216,.4); border-radius: 999px; font-size: .65rem; }
.modal-hero h2 { margin: 10px 0 7px; font-size: 1.55rem; line-height: 1.45; letter-spacing: -.025em; text-wrap: balance; }
.modal-hero p { margin: 0; color: #d4dce7; font-size: .86rem; font-weight: 750; }
.modal-hero-deadline { position: absolute; z-index: 3; top: 22px; left: 0; padding: 8px 14px 8px 28px; color: white; background: rgba(23,32,51,.9); font-size: .78rem; font-weight: 900; box-shadow: 3px 3px 0 rgba(0,0,0,.1); }
.modal-hero-deadline.soon { background: #d93c2a; }
.lottery-dialog-body { padding: 24px 28px 28px; }
.lottery-dialog-body>.region-chips { margin-top: 0; }
.modal-info-section { margin-top: 24px; }
.modal-info-section h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; font-size: .94rem; }
.modal-info-section h3::before { content: ""; width: 4px; height: 17px; background: var(--teal); }
.modal-details { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); }
.modal-details div { display: grid; grid-template-columns: 105px minmax(0,1fr); gap: 15px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.modal-details div:last-child { border-bottom: 0; }
.modal-details dt { color: #7d8796; font-size: .78rem; font-weight: 850; }
.modal-details dd { margin: 0; font-size: .86rem; line-height: 1.6; }
.modal-schedule .important { background: #fff6f1; }
.modal-schedule .important dt,.modal-schedule .important dd { color: var(--accent-dark); font-weight: 900; }
.modal-primary-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; margin-top: 24px; }
.modal-primary-actions .official-button,.calendar-button { min-height: 52px; padding-inline: 16px; font-size: .86rem; }
.calendar-button { display: flex; align-items: center; justify-content: space-between; color: #1b5e57; background: #edf8f6; border: 1px solid #a9d7d1; border-radius: 4px; font-weight: 900; text-decoration: none; }
.calendar-button:hover { color: white; background: var(--teal); border-color: var(--teal); }
.modal-source-note { margin: 10px 0 0; color: var(--muted); font-size: .7rem; line-height: 1.55; }
.modal-affiliates { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.modal-section-title { display: flex; align-items: flex-start; gap: 10px; }
.modal-section-title>span { padding: 3px 7px; color: #3f361a; background: var(--yellow); font-size: .75rem; font-weight: 900; }
.modal-section-title>div { display: grid; }
.modal-section-title b { font-size: .9rem; }
.modal-section-title small { color: var(--muted); font-size: .75rem; }
.modal-affiliate-links { display: grid; gap: 8px; margin-top: 12px; }
.modal-affiliate-links>a,.modal-affiliate-links>.preview-affiliate-link { display: grid; grid-template-columns:minmax(0,1fr) auto; gap: 1px 10px; align-items: center; padding: 11px 13px; color: var(--ink); background: #f7faf9; border: 1px solid #cfe3df; border-radius: 4px; text-decoration: none; }
.modal-affiliate-links small,.modal-affiliate-links b,.modal-affiliate-links em { grid-column: 1; }
.modal-affiliate-links>a>span { grid-column: 2; grid-row: 1/3; color: var(--teal); }
.modal-affiliate-links small { color: var(--teal); font-size: .75rem; font-weight: 850; }
.modal-affiliate-links b { font-size: .86rem; }
.modal-affiliate-links em { color: #7b8493; font-size: .75rem; font-style: normal; }

.display-ad { position: relative; display: grid; grid-column: 1 / -1; place-items: center; width: 100%; min-height: 76px; margin: 20px 0; padding: 22px 12px 14px; overflow: hidden; background: #f0f1f2; border: 1px solid #e0e2e5; }
.display-ad--header { margin: 22px 0 0; }
.display-ad--footer { margin: 40px 0 0; }
.display-ad-label { position: absolute; top: 4px; left: 7px; color: #8b9099; font-size: .58rem; font-weight: 800; letter-spacing: .08em; }
.display-ad-stage { position: relative; width: 100%; overflow: hidden; text-align: center; }
.display-ad-stage iframe { display: block; margin: 0 auto; border: 0; }

body.modal-open { overflow: hidden; }
.interstitial-layer { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(9, 16, 29, .72); }
.interstitial-layer[hidden] { display: none; }
.interstitial-dialog { width: min(920px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 22px; background: white; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.interstitial-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.interstitial-head span { color: var(--muted); font-size: .7rem; font-weight: 800; }
.interstitial-head h2 { margin: 2px 0 0; font-size: 1.15rem; }
.interstitial-head button { padding: 8px 11px; color: var(--ink); background: #f3f4f6; border: 1px solid var(--line); font-weight: 850; cursor: pointer; }
.interstitial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 0; }
.interstitial-grid .display-ad { grid-column: auto; margin: 0; }
.interstitial-continue { display: block; width: min(360px, 100%); margin: 0 auto; padding: 12px 18px; color: white; background: var(--ink); border: 0; font-weight: 900; cursor: pointer; }

.follow-panel { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-top: 62px; padding: 32px 36px; background: #eaf4f2; border-top: 3px solid var(--teal); }
.follow-label { color: var(--teal); }
.follow-panel h2 { margin: 0; font-size: 1.4rem; letter-spacing: -.02em; }
.follow-panel p { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
.follow-panel > a { flex: 0 0 auto; padding: 12px 16px; color: white; background: var(--teal); border-radius: 4px; font-size: .82rem; font-weight: 900; text-decoration: none; }

.side-card { grid-column: 1 / -1; padding: 22px; background: white; border: 1px solid var(--line); }
.side-card strong { display: block; }
.side-card p { margin-bottom: 0; color: var(--muted); }
footer { color: #c3c9d3; background: #141b29; }
.footer-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0; }
.footer-brand strong { display: block; color: white; font-size: 1.05rem; }
.footer-brand span { font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.footer-links a { color: #e8edf5; font-size: .72rem; font-weight: 750; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-inner p { margin: 0; font-size: .74rem; }
.legal-shell { width: min(800px, calc(100% - 32px)); min-height: 60vh; margin: 0 auto; padding: 64px 0 88px; }
.legal-shell h1 { margin: 8px 0 30px; color: var(--ink); font-size: clamp(1.7rem, 4vw, 2.5rem); }
.legal-content { padding: 28px clamp(20px, 5vw, 44px); background: #fff; border: 1px solid var(--line); }
.legal-content h2 { margin: 30px 0 8px; color: var(--ink); font-size: 1.05rem; }
.legal-content h2:first-of-type { margin-top: 26px; }
.legal-content p { margin: 0; color: #495367; font-size: .9rem; line-height: 1.9; }
.legal-content a { color: var(--teal); font-weight: 800; }
.legal-updated { margin: 16px 0 0; color: var(--muted); font-size: .72rem; text-align: right; }

@media (max-width: 900px) {
  .intro-panel { align-items: center; }
  .lottery-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ad-card { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 60px; }
  .brand-wordmark { width: 150px; }
  .header-links > a:first-child { display: none; }
  .note-link { padding: 7px 10px; font-size: .72rem; }
  .page-shell { width: min(100% - 22px, 1120px); padding: 18px 0 55px; }
  .intro-panel {
    display: block;
    min-height: 335px;
    padding: 28px 22px;
    background:
      linear-gradient(90deg, rgba(12, 30, 52, .98) 0%, rgba(12, 30, 52, .9) 64%, rgba(12, 30, 52, .36) 100%),
      url("/brand/toreca-brand-banner.webp") 70% center / cover no-repeat;
    border-radius: 9px;
  }
  .mobile-break { display: block; }
  h1 { font-size: 2.55rem; }
  .intro { margin-top: 17px; font-size: .84rem; }
  .intro br:not(.mobile-break) { display: none; }
  .update-notice { grid-template-columns: 1fr; }
  .update-notice-head { flex-direction: row; align-items: end; padding: 11px 13px; border-right: 0; border-bottom: 1px solid #d9e9e6; }
  .update-notice-list { max-height: 230px; }
  .update-notice-list li { grid-template-columns: 74px 63px minmax(0, 1fr); gap: 7px; min-height: 46px; padding: 7px 10px; }
  .update-notice-list time { font-size: .64rem; }
  .update-kind { font-size: .58rem; }
  .update-notice-list p { font-size: .72rem; }
  .update-notice-list p b { display: none; }
  .list-heading { padding-top: 34px; }
  .list-heading h2 { font-size: 1.45rem; }
  .list-heading > p { font-size: .74rem; }
  .filter-panel { display: block; padding: 10px; }
  .filter-title { display: block; margin-bottom: 8px; padding: 0; border: 0; }
  .lottery-list { grid-template-columns: 1fr; gap: 14px; }
  .lottery-card { display: grid; grid-template-columns: 114px minmax(0, 1fr); }
  .card-visual { height: auto; min-height: 100%; }
  .deadline-ribbon { top: 10px; max-width: 104px; padding: 5px 7px; font-size: .62rem; }
  .visual-card { top: 70px; width: 53px; height: 74px; border-radius: 5px; }
  .visual-card-back { transform: translateX(-37px) rotate(-10deg); }
  .visual-card-front { transform: translateX(-18px) rotate(6deg); }
  .visual-card-front b { font-size: 1rem; }
  .visual-card-front small { font-size: .36rem; }
  .visual-category { right: 7px; bottom: 8px; font-size: .5rem; }
  .card-body { min-height: 0; padding: 14px; }
  .lottery-card h2 { margin-top: 8px; font-size: .92rem; }
  .details { margin-top: 12px; }
  .region-chips { margin-top: 9px; }
  .region-chip { font-size: .6rem; }
  .details div { grid-template-columns: 32px minmax(0, 1fr); }
  .requirements { display: none; }
  .actions { margin-top: 13px; }
  .official-button { padding: 9px 10px; font-size: .74rem; }
  .actions { grid-template-columns: 1fr; }
  .detail-button { padding: 8px; }
  .lottery-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .lottery-dialog-shell { max-height: calc(100dvh - 16px); }
  .modal-close { top: 10px; margin: 10px 10px -52px 0; }
  .modal-hero { min-height: 285px; }
  .modal-hero-shade { background: linear-gradient(0deg, rgba(7,20,40,.98) 0%, rgba(7,20,40,.72) 58%, rgba(7,20,40,.14) 100%); }
  .modal-hero-copy { left: 17px; right: 17px; bottom: 18px; }
  .modal-hero h2 { font-size: 1.16rem; }
  .modal-hero-deadline { top: 15px; padding: 7px 12px 7px 17px; font-size: .7rem; }
  .lottery-dialog-body { padding: 17px; }
  .modal-info-section { margin-top: 20px; }
  .modal-details div { grid-template-columns: 82px minmax(0,1fr); gap: 10px; }
  .modal-primary-actions { grid-template-columns: 1fr; }
  .ad-card { display: block; min-height: 0; padding: 22px 18px; }
  .display-ad { margin: 14px 0; padding-inline: 6px; }
  .interstitial-layer { padding: 10px; }
  .interstitial-dialog { max-height: calc(100dvh - 20px); padding: 14px; }
  .interstitial-grid { grid-template-columns: 1fr; }
  .ad-links { margin-top: 18px; }
  .follow-panel { display: block; margin-top: 40px; padding: 25px 20px; }
  .follow-panel h2 { font-size: 1.2rem; }
  .follow-panel > a { display: flex; justify-content: space-between; margin-top: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lottery-card { transition: none; }
}
