/* Grand Theft Airdrop — a 2010 game fan-site: fixed 980 px column, glossy nav, white boxes, sidebar widgets. */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

* { box-sizing: border-box; }
html { background: #1a1326; }
body {
  margin: 0; color: #333; font: 13px/1.5 "Lucida Grande", "Segoe UI", Tahoma, Verdana, Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(26,19,38,0) 0, rgba(26,19,38,0) 300px, #1a1326 520px),
    url(/img/banner.webp) center top / 1600px auto no-repeat,
    repeating-linear-gradient(45deg, #1a1326 0 6px, #1d152b 6px 12px);
  background-color: #1a1326;
  min-height: 100vh;
}
a { color: #0b5fb3; text-decoration: none; }
a:hover { color: #d4136f; text-decoration: underline; }
img { border: 0; }
.wrap { width: 980px; max-width: 100%; margin: 0 auto; padding: 0 0 30px; }
.big { font-family: Impact, Anton, "Arial Narrow", sans-serif; font-weight: normal; letter-spacing: .5px; }
.muted { color: #888; }
.small { font-size: 11px; }
.mono { font-family: Consolas, "Courier New", monospace; font-size: 12px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.hide { display: none !important; }

/* ---------- header ---------- */
#header { position: relative; height: 200px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
#header .logo img { width: 380px; height: auto; display: block; filter: drop-shadow(0 4px 6px rgba(0,0,0,.45)); }
#header .logo:hover { text-decoration: none; }
.head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.head-meter {
  width: 290px; padding: 9px 12px 8px; border-radius: 8px; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.78)); border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 2px 10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
.hm-label { font: bold 11px Tahoma, Verdana, sans-serif; text-transform: uppercase; letter-spacing: .5px; color: #ffd9ef; }
.hm-num { font-size: 12px; text-align: right; margin-top: 3px; }
.hm-num b { font-size: 15px; color: #fff; }
.head-links { display: flex; gap: 6px; }
.chip {
  display: inline-block; padding: 4px 11px; border-radius: 13px; font: bold 12px "Trebuchet MS", Tahoma, sans-serif; color: #fff !important;
  background: linear-gradient(180deg, #ff6fb5, #e2147a 50%, #c90f6a 51%, #d81574); border: 1px solid #8f0b47;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 1px 3px rgba(0,0,0,.4); text-shadow: 0 -1px 0 rgba(0,0,0,.35);
}
.chip.x { background: linear-gradient(180deg, #6fc6ff, #2a90e0 50%, #1d7cc9 51%, #2386d4); border-color: #135e99; }
.chip:hover { text-decoration: none; filter: brightness(1.08); }

/* ---------- nav ---------- */
#nav {
  display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 6px 0 0;
  background: linear-gradient(180deg, #555 0, #333 49%, #1f1f1f 50%, #2a2a2a 100%);
  border: 1px solid #111; border-radius: 8px 8px 0 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
#nav ul { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; overflow-x: auto; scrollbar-width: none; }
#nav ul::-webkit-scrollbar { display: none; }
#nav li { height: 100%; border-right: 1px solid #141414; box-shadow: 1px 0 0 rgba(255,255,255,.08); }
#nav li:first-child a { border-radius: 8px 0 0 0; }
#nav li a {
  display: flex; align-items: center; height: 100%; padding: 0 15px; white-space: nowrap;
  color: #eee; font: bold 13px "Trebuchet MS", Tahoma, sans-serif; text-shadow: 0 -1px 0 #000;
}
#nav li a:hover { text-decoration: none; color: #fff; background: linear-gradient(180deg, #6a6a6a, #444 49%, #333 50%, #3c3c3c); }
#nav li.on a { color: #fff; background: linear-gradient(180deg, #ff7cbd 0, #ec2d8b 49%, #cf1371 50%, #e01b7c 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.navsearch { display: flex; gap: 4px; flex-shrink: 0; padding-left: 8px; }
.navsearch input {
  width: 170px; height: 26px; padding: 0 9px; border: 1px solid #000; border-radius: 13px; font-size: 12px;
  background: linear-gradient(180deg, #e6e6e6, #fff 40%); box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
}
.navsearch input:focus { outline: none; box-shadow: inset 0 1px 3px rgba(0,0,0,.35), 0 0 0 2px #ff7cbd; }

/* ---------- ticker ---------- */
#ticker {
  display: flex; align-items: center; height: 28px; overflow: hidden;
  background: linear-gradient(180deg, #fffbe3, #fff1a8); border: 1px solid #c9b45a; border-top: 0; font-size: 12px;
}
#ticker .live {
  flex-shrink: 0; height: 100%; display: flex; align-items: center; padding: 0 10px; color: #fff; font: bold 11px Tahoma, sans-serif; letter-spacing: 1px;
  background: linear-gradient(180deg, #ff5a5a, #cc0000); border-right: 1px solid #8a0000; text-shadow: 0 -1px 0 rgba(0,0,0,.4);
}
#ticker .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 6px; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.tk { flex: 1; overflow: hidden; white-space: nowrap; position: relative; height: 100%; }
.tk-in { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 28px; padding-left: 100%; animation: tick 60s linear infinite; }
#ticker:hover .tk-in { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-100%); } }
.tk-in span b { color: #000; }
.tk-sum { flex-shrink: 0; height: 100%; display: flex; align-items: center; padding: 0 12px; border-left: 1px solid #c9b45a; background: linear-gradient(180deg, #fff, #fff6c9); white-space: nowrap; }
@media (max-width: 760px) { .tk-sum { display: none; } }

.notice { margin: 0; padding: 8px 14px; background: linear-gradient(180deg, #e9f4ff, #cfe6ff); border: 1px solid #8db8e6; border-top: 0; color: #1d4f85; font-size: 12px; }

/* ---------- page ---------- */
#page {
  background: #fff; border: 1px solid #0d0912; border-top: 0; padding: 16px; border-radius: 0 0 8px 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.45); min-height: 400px;
}
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
.cols > * { min-width: 0; }
h1, h2, h3 { font-family: "Trebuchet MS", Tahoma, sans-serif; color: #222; margin: 0 0 8px; }
h1 { font-size: 22px; text-shadow: 0 1px 0 #fff; }
.crumbs { font-size: 11px; color: #888; margin: -4px 0 10px; }
.crumbs a { color: #888; }

.box { border: 1px solid #cdcdcd; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); margin-bottom: 16px; }
.box-h {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 12px;
  background: linear-gradient(180deg, #fdfdfd, #e7e7e7); border-bottom: 1px solid #cdcdcd; border-radius: 6px 6px 0 0;
  font: bold 14px "Trebuchet MS", Tahoma, sans-serif; color: #333; text-shadow: 0 1px 0 #fff;
}
.box-h .more { font: normal 11px Tahoma, Verdana, sans-serif; text-shadow: none; }
.box-b { padding: 12px; }
.box-b.flush { padding: 0; }
.box.pink > .box-h { background: linear-gradient(180deg, #ff86c3 0, #ee3592 49%, #d61876 50%, #e3237f 100%); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); border-bottom-color: #a30e57; }
.box.pink > .box-h .more a { color: #ffe2f1; }
.box.blue > .box-h { background: linear-gradient(180deg, #74b9f5 0, #3a8ad8 49%, #2470c2 50%, #2b7bcc 100%); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); border-bottom-color: #1a5394; }
.box.dark > .box-h { background: linear-gradient(180deg, #5a5a5a 0, #3a3a3a 49%, #262626 50%, #303030 100%); color: #fff; text-shadow: 0 -1px 0 #000; border-bottom-color: #111; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 16px; cursor: pointer;
  border: 1px solid #2f7d14; border-radius: 5px; color: #fff !important; font: bold 13px "Trebuchet MS", Tahoma, sans-serif;
  background: linear-gradient(180deg, #8fe36a 0, #55b52e 49%, #3f9d1c 50%, #4aa924 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.25); text-shadow: 0 -1px 0 rgba(0,0,0,.3); white-space: nowrap;
}
.btn:hover { text-decoration: none; filter: brightness(1.07); }
.btn:active { box-shadow: inset 0 2px 4px rgba(0,0,0,.3); }
.btn[disabled] { opacity: .55; cursor: default; filter: none; }
.btn.blue { border-color: #1a5aa0; background: linear-gradient(180deg, #7fc0ff 0, #3c8fe0 49%, #2477cc 50%, #2c82d6 100%); }
.btn.pink { border-color: #9c0d55; background: linear-gradient(180deg, #ff8ac6 0, #ec3191 49%, #d01672 50%, #dd1f7c 100%); }
.btn.grey { border-color: #8a8a8a; color: #333 !important; text-shadow: 0 1px 0 #fff; background: linear-gradient(180deg, #fff 0, #eee 49%, #ddd 50%, #e8e8e8 100%); }
.btn.sm { height: 24px; padding: 0 10px; font-size: 11px; border-radius: 4px; }
.btn.lg { height: 40px; padding: 0 22px; font-size: 15px; }
.navsearch .btn, .navsearch button {
  height: 26px; padding: 0 12px; border-radius: 13px; border: 1px solid #000; color: #fff; font: bold 12px "Trebuchet MS", sans-serif; cursor: pointer;
  background: linear-gradient(180deg, #ff7cbd, #ec2d8b 49%, #cf1371 50%, #e01b7c); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); text-shadow: 0 -1px 0 rgba(0,0,0,.3);
}
input.txt {
  height: 30px; padding: 0 9px; border: 1px solid #a9a9a9; border-top-color: #7c7c7c; border-radius: 3px; font: 13px Tahoma, Verdana, sans-serif;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12); background: #fff; width: 100%;
}
input.txt:focus { outline: none; border-color: #4d90fe; box-shadow: 0 0 4px #9ac2ff; }

/* ---------- the meter: a striped, animated, glossy bar ---------- */
.bar { position: relative; height: 16px; border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, #2a2a2a, #4a4a4a); border: 1px solid #000; box-shadow: inset 0 1px 3px rgba(0,0,0,.6); margin-top: 4px; }
.bar > span {
  display: block; height: 100%; border-radius: 8px 0 0 8px; transition: width 1.2s ease;
  background-color: #ec2d8b;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.45) 0, rgba(255,255,255,.12) 50%, rgba(0,0,0,.05) 51%, rgba(255,255,255,.1) 100%),
    linear-gradient(-45deg, rgba(255,255,255,.22) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.22) 75%, transparent 75%, transparent);
  background-size: 100% 100%, 22px 22px;
  animation: stripes 1s linear infinite;
}
@keyframes stripes { from { background-position: 0 0, 0 0; } to { background-position: 0 0, 22px 0; } }
.bar.big { height: 34px; border-radius: 17px; border-color: #7a0c45; background: linear-gradient(180deg, #ddd, #f6f6f6); box-shadow: inset 0 2px 4px rgba(0,0,0,.25); }
.bar.big > span { border-radius: 17px 0 0 17px; background-color: #e3207f; }
.bar.big .bar-t { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: bold 14px "Trebuchet MS", sans-serif; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.8); }

/* ---------- the drop (home) ---------- */
.drop-hero { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; }
.crate { width: 170px; height: 170px; position: relative; }
.crate img { width: 100%; height: 100%; object-fit: contain; animation: sway 4s ease-in-out infinite; transform-origin: 50% 0; filter: drop-shadow(0 6px 6px rgba(0,0,0,.25)); }
@keyframes sway { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(6px); } }
.pot-num { font-size: 46px; line-height: 1; color: #d4136f; text-shadow: 2px 2px 0 #ffd2e8; }
.pot-num small { font-size: 22px; color: #555; text-shadow: none; }
.pot-sub { color: #666; margin: 4px 0 10px; }
.pot-eta { margin-top: 8px; font-size: 12px; color: #555; }
.pot-eta b { color: #222; }
.nextup { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 9px 10px; border: 1px dashed #e7a4c6; border-radius: 6px; background: #fff6fb; }
.nextup .who { flex: 1; min-width: 0; }
.nextup .lbl { font: bold 10px Tahoma, sans-serif; text-transform: uppercase; color: #c2186f; letter-spacing: .5px; }
.preview-tag { display: inline-block; padding: 1px 6px; border-radius: 3px; background: #ffe36e; border: 1px solid #c9a500; color: #5a4800; font: bold 10px Tahoma, sans-serif; text-transform: uppercase; vertical-align: middle; }

/* ---------- people ---------- */
.av { width: 32px; height: 32px; border: 1px solid #c4c4c4; padding: 1px; background: #fff; border-radius: 3px; object-fit: cover; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.av.lg { width: 56px; height: 56px; }
.av.xl { width: 84px; height: 84px; }
.av.sm { width: 22px; height: 22px; border-radius: 2px; }
.person { display: flex; align-items: center; gap: 8px; min-width: 0; }
.person .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .nm b { color: #0b5fb3; }
.person .nm .mono { color: #999; font-size: 11px; }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbl th {
  text-align: left; padding: 6px 8px; font: bold 11px Tahoma, Verdana, sans-serif; color: #555; white-space: nowrap;
  background: linear-gradient(180deg, #f7f7f7, #e2e2e2); border-bottom: 1px solid #c8c8c8; text-shadow: 0 1px 0 #fff;
}
.tbl td { padding: 7px 8px; border-bottom: 1px solid #ececec; vertical-align: middle; }
.tbl tr:nth-child(even) td { background: #fafafa; }
.tbl tbody tr:hover td { background: #ffffd6; }
.tbl tr.me td { background: #fff0f8 !important; box-shadow: inset 3px 0 0 #ec2d8b; }
.tbl tr.flash td { animation: rowflash 2s ease; }
@keyframes rowflash { 0% { background: #fff59a; } 100% { background: inherit; } }
.tbl .pos { font: 18px Impact, Anton, sans-serif; color: #888; width: 44px; text-align: center; }
.tbl tr:first-child .pos.first { color: #d4136f; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl .co { color: #555; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; }
.empty { padding: 26px; text-align: center; color: #888; }

.tag { display: inline-block; padding: 1px 6px; border-radius: 3px; font: bold 10px Tahoma, Verdana, sans-serif; text-transform: uppercase; letter-spacing: .3px; color: #fff; white-space: nowrap; vertical-align: middle; }
.tag.in { background: linear-gradient(180deg, #6cc644, #3f9b1c); }
.tag.wasted { background: linear-gradient(180deg, #e33, #a40000); }
.tag.busted { background: linear-gradient(180deg, #4b84d6, #1c4f9c); }
.tag.drop { background: linear-gradient(180deg, #ff7cbd, #d01672); }
.tag.fees { background: linear-gradient(180deg, #9a9a9a, #666); }
.tag.swap { background: linear-gradient(180deg, #4fb7c9, #1f7f90); }
.tag.sim { background: #ffe36e; color: #5a4800; }
.wasted-txt { font: 20px Impact, Anton, sans-serif; color: #b00000; letter-spacing: 1px; }
.busted-txt { font: 20px Impact, Anton, sans-serif; color: #1c4f9c; letter-spacing: 1px; }

/* ---------- pager ---------- */
.pager { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; padding: 12px; }
.pager a, .pager span { min-width: 28px; height: 26px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c8c8c8; border-radius: 3px; background: linear-gradient(180deg, #fff, #ececec); font: bold 12px Tahoma, sans-serif; color: #0b5fb3; }
.pager a:hover { text-decoration: none; border-color: #0b5fb3; }
.pager .cur { background: linear-gradient(180deg, #5a9be0, #2a6cb8); border-color: #1f5596; color: #fff; }
.pager .gap { border: 0; background: none; color: #999; }
.pager .off { color: #bbb; }

/* ---------- tabs (2010 jQuery UI) ---------- */
.tabs { display: flex; gap: 3px; padding: 8px 10px 0; border-bottom: 1px solid #c8c8c8; background: linear-gradient(180deg, #f3f3f3, #e6e6e6); border-radius: 6px 6px 0 0; flex-wrap: wrap; }
.tabs a { padding: 6px 13px; border: 1px solid #c8c8c8; border-bottom: 0; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #fff, #e9e9e9); font: bold 12px "Trebuchet MS", sans-serif; color: #555; margin-bottom: -1px; }
.tabs a:hover { text-decoration: none; color: #222; }
.tabs a.on { background: #fff; color: #d4136f; border-color: #c8c8c8; padding-bottom: 7px; }
.tabs a .n { font-weight: normal; color: #999; font-size: 11px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #ececec; background: #fcfcfc; }
.toolbar input.txt { max-width: 280px; height: 26px; font-size: 12px; }

/* ---------- sidebar widgets ---------- */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dotted #ddd; }
.steps li:last-child { border-bottom: 0; }
.steps .n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font: bold 13px Arial, sans-serif; background: linear-gradient(180deg, #ff8ac6, #d01672); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.3); text-shadow: 0 -1px 0 rgba(0,0,0,.3); }
.steps b { display: block; }
.stats { width: 100%; border-collapse: collapse; }
.stats td { padding: 5px 2px; border-bottom: 1px dotted #ddd; font-size: 12px; }
.stats tr:last-child td { border-bottom: 0; }
.stats td.v { text-align: right; font-weight: bold; color: #222; }
.feed { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; }
.feed li { display: flex; gap: 8px; padding: 7px 10px; border-bottom: 1px solid #f0f0f0; font-size: 12px; line-height: 1.35; }
.feed li.new { animation: rowflash 2.5s ease; }
.feed .t { color: #999; font-size: 10px; }
.coinw { display: flex; gap: 10px; align-items: center; }
.coinw img { width: 54px; height: 54px; border-radius: 6px; border: 1px solid #ccc; object-fit: cover; }
.coinw .px { font: 22px Impact, Anton, sans-serif; color: #222; }
.up { color: #2c8a0b; } .down { color: #b00000; }

/* ---------- notes / callout ---------- */
.callout-q { position: relative; margin: 8px 0 0; padding: 9px 11px; background: #f6f9fc; border: 1px solid #d5e1ee; border-radius: 6px; font-size: 12px; color: #333; white-space: pre-wrap; word-break: break-word; }
.callout-q::before { content: ""; position: absolute; top: -7px; left: 18px; border: 7px solid transparent; border-top: 0; border-bottom-color: #d5e1ee; }
.why { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: start; }
.why img { width: 74px; }
.why p { margin: 0 0 7px; }
.memo { display: inline-block; padding: 5px 9px; border: 1px solid #e0d39a; background: #fffbe6; border-radius: 4px; font-family: Consolas, "Courier New", monospace; font-size: 12px; color: #5a4a00; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dotted #ddd; }
.check-list li:last-child { border-bottom: 0; }
.ico { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font: bold 13px Arial, sans-serif; }
.ico.ok { background: linear-gradient(180deg, #7fd957, #3f9b1c); }
.ico.no { background: linear-gradient(180deg, #f05a5a, #b80d0d); }
.ico.wait { background: linear-gradient(180deg, #ccc, #999); }
.spot-big { display: flex; align-items: center; gap: 16px; }
.spot-pos { font: 64px/1 Impact, Anton, sans-serif; color: #d4136f; text-shadow: 3px 3px 0 #ffd2e8; }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow .st { flex: 1 1 140px; padding: 10px; border: 1px solid #d0d0d0; border-radius: 6px; background: linear-gradient(180deg, #fff, #f0f0f0); font-size: 12px; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.flow .st b { display: block; font-size: 13px; color: #222; }
.flow .ar { color: #d4136f; font: bold 20px Arial, sans-serif; }
.faq dt { margin-top: 0; padding: 9px 12px; border-top: 1px solid #e6e6e6; cursor: pointer; font: bold 13px "Trebuchet MS", sans-serif; color: #0b5fb3; background: linear-gradient(180deg, #fff, #f6f6f6); }
.faq dt::before { content: "+"; display: inline-block; width: 16px; color: #d4136f; }
.faq dt.open::before { content: "–"; }
.faq dd { margin: 0; padding: 0 12px 10px 28px; display: none; color: #444; }
.faq dt.open + dd { display: block; }
.rules { width: 100%; border-collapse: collapse; font-size: 12px; }
.rules th, .rules td { border: 1px solid #ddd; padding: 8px 10px; text-align: left; vertical-align: top; }
.rules th { background: linear-gradient(180deg, #f7f7f7, #e8e8e8); width: 32%; }

/* ---------- lightbox: a drop just landed ---------- */
#lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.78); display: flex; align-items: center; justify-content: center; padding: 16px; }
#lightbox[hidden] { display: none; }
.lb-box { position: relative; width: 460px; max-width: 100%; background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.6); border: 4px solid #fff; }
.lb-x { position: absolute; top: -14px; right: -14px; width: 30px; height: 30px; border-radius: 50%; background: #222; border: 3px solid #fff; color: #fff !important; font: bold 18px/23px Arial, sans-serif; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.lb-x:hover { text-decoration: none; background: #d4136f; }
.lb-scene { position: relative; height: 230px; border-radius: 4px; overflow: hidden; background: url(/img/banner.webp) 60% 30% / cover; }
.lb-scene .drop-crate { position: absolute; left: 50%; width: 110px; margin-left: -55px; top: -150px; animation: fall 2.2s cubic-bezier(.3,.1,.5,1) forwards; }
@keyframes fall { 0% { top: -150px; transform: rotate(-8deg); } 70% { transform: rotate(6deg); } 100% { top: 40px; transform: rotate(0); } }
.lb-scene .winner { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; color: #fff; text-shadow: 0 1px 3px #000; font-weight: bold; }
.lb-pass { text-align: center; padding: 12px 6px 4px; }
.lb-pass .mp { font: 40px/1 Impact, Anton, sans-serif; color: #e8b923; letter-spacing: 1px; text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
.lb-pass .amt { font: 26px Impact, Anton, sans-serif; color: #fff; text-shadow: 2px 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; margin-top: 4px; }
.lb-pass p { margin: 8px 0 0; color: #444; }

/* ---------- footer ---------- */
#footer { margin-top: 16px; color: #b9aec8; font-size: 12px; }
.f-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; padding: 16px 6px; border-bottom: 1px solid #3a2f4d; }
#footer h4 { margin: 0 0 6px; color: #fff; font: bold 13px "Trebuchet MS", sans-serif; }
#footer p { margin: 0; }
#footer ul { list-style: none; margin: 0; padding: 0; }
#footer a { color: #ff9fd0; }
.f-bottom { padding: 12px 6px; font-size: 11px; color: #8a7f99; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- phones ---------- */
@media (max-width: 1000px) {
  .wrap { padding: 0 8px 24px; }
  body { background-size: auto, 1100px auto, auto; }
}
@media (max-width: 760px) {
  #header { height: auto; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 4px; }
  #header .logo img { width: 260px; margin: 0 auto; }
  .head-side { align-items: stretch; }
  .head-meter { width: auto; }
  .head-links { justify-content: center; }
  #nav { height: auto; flex-direction: column; align-items: stretch; border-radius: 8px 8px 0 0; padding: 0; }
  #nav ul { height: 38px; }
  .navsearch { padding: 6px; border-top: 1px solid #111; }
  .navsearch input { flex: 1; width: auto; }
  #page { padding: 10px; }
  .cols { grid-template-columns: 1fr; }
  .drop-hero { grid-template-columns: 1fr; text-align: center; }
  .crate { margin: 0 auto; width: 130px; height: 130px; }
  .nextup { text-align: left; }
  .pot-num { font-size: 40px; }
  .f-cols { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .why { grid-template-columns: 1fr; }
  .why img { display: none; }
}
