/* zaneemrick.com — a portfolio dressed as a squatted domain */

:root {
  --link: #1a0dab;
  --visited: #681da8;
  --muted: #70757a;
  --line: #e3e3e3;
  --bg: #f7f7f7;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: #222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  padding-bottom: 70px; /* room for the sticky ad */
}
a { color: var(--link); }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

#loadbar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: #4285f4; z-index: 100;
  transition: width .6s ease;
}

.topstrip {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 6px 14px;
  font-size: 12px; color: var(--muted);
}
.topstrip-mid { flex: 1; text-align: center; }
.buy {
  background: #34a853; color: #fff; text-decoration: none;
  padding: 4px 10px; border-radius: 3px; font-weight: bold;
}

/* ============ page frame: content + ad rails ============ */
.frame {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 300px;
  gap: 18px;
  max-width: 1180px;
  margin: 14px auto;
  padding: 0 12px;
}
.rail { display: flex; flex-direction: column; gap: 14px; }
.main { min-width: 0; }
.leader-wrap { grid-column: 1 / -1; }
.adrow { display: flex; justify-content: space-between; font-size: 10px; color: #999; margin-bottom: 2px; }
.adrow a { color: #999; }
.rail .adrow { margin-bottom: -12px; }

.adlabel {
  font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: .5px;
  display: flex; justify-content: space-between;
}
.adlabel span:last-child { border: 1px solid #ccc; padding: 0 3px; border-radius: 2px; }

/* ============ parked landing ============ */
.park { background: #fff; border: 1px solid var(--line); padding: 30px 34px 24px; }
.park h1 { font-size: 42px; margin: 0; font-weight: normal; color: #333; letter-spacing: -1px; }
.park .sub { color: var(--muted); margin: 4px 0 22px; }
.forsale {
  background: #fff8e1; border: 1px solid #f9d36b;
  padding: 10px 14px; font-size: 14px; margin-bottom: 22px;
}
.related { margin-bottom: 18px; }
.related h2 { font-size: 13px; font-weight: normal; color: var(--muted); margin: 0 0 6px; text-transform: uppercase; letter-spacing: 1px; }
.related a.rs {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 20px; text-decoration: none;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.related a.rs:hover { background: #f2f6ff; text-decoration: underline; }
.related a.rs::after {
  content: "›"; font-size: 26px; line-height: 1;
  background: #1a73e8; color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
}
.searchbox { display: flex; margin: 22px 0 6px; }
.searchbox input { flex: 1; padding: 10px 12px; border: 1px solid #ccc; font-size: 15px; }
.searchbox button { background: #1a73e8; color: #fff; border: 0; padding: 0 18px; }
.parkfoot { font-size: 11px; color: #999; text-align: center; margin: 22px 0 0; line-height: 1.6; }
.parkfoot a { color: #999; }

/* ============ spam "article" pages ============ */
.article { background: #fff; border: 1px solid var(--line); padding: 22px 28px; }
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.article h1 { font-size: 30px; line-height: 1.15; margin: 0 0 6px; }
.byline { font-size: 12px; color: var(--muted); margin-bottom: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.byline .hot { color: #d93025; font-weight: bold; }
.article h2 { font-size: 21px; margin: 24px 0 8px; border-left: 5px solid #d93025; padding-left: 10px; }
.article p { margin: 0 0 12px; }

.facts { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 14px; }
.facts th, .facts td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.facts th { background: #f3f3f3; width: 38%; }
.facts caption { text-align: left; font-weight: bold; padding: 6px 0; }

.portrait {
  float: right; margin: 0 0 12px 16px;
  width: 170px; height: 200px;
  background: repeating-linear-gradient(45deg, #ddd 0 10px, #eee 10px 20px);
  display: grid; place-items: center; text-align: center;
  font-size: 12px; color: #777; border: 1px solid #ccc;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }


.dl {
  display: inline-block; margin: 6px 6px 6px 0;
  background: linear-gradient(#5ec639, #2f9a12); color: #fff !important;
  border: 2px solid #1d6e07; border-radius: 4px;
  padding: 10px 18px; font-weight: bold; font-size: 16px; text-decoration: none;
  box-shadow: 0 3px 0 #1d6e07;
}
.dl small { display: block; font-size: 10px; font-weight: normal; opacity: .9; }
.dl.alt { background: linear-gradient(#ff9a2e, #e8590c); border-color: #a33d00; box-shadow: 0 3px 0 #a33d00; }
.dl.real { background: linear-gradient(#4b8bf5, #1a5ad8); border-color: #0d3a9a; box-shadow: 0 3px 0 #0d3a9a; }

.skill { display: grid; grid-template-columns: 1fr 2fr 50px; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.skill .track { height: 14px; background: #eee; border: 1px solid #ccc; }
.skill .fill { height: 100%; background: repeating-linear-gradient(45deg, #34a853 0 8px, #2d9248 8px 16px); }
.skill b { text-align: right; font-size: 13px; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline .when { font-weight: bold; color: #d93025; }

.worth { font-size: 40px; font-weight: bold; color: #188038; margin: 4px 0 2px; }

.comments { margin-top: 26px; border-top: 3px solid #333; padding-top: 10px; }
.comment { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.comment .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: bold; }
.comment b { display: block; }

/* ============ ADS (real-brand house promotions) ============ */
.ad {
  display: block; position: relative; overflow: hidden;
  text-decoration: none; color: #202124;
  background: #fff; border: 1px solid #dadce0;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
.ad:hover h4 { text-decoration: underline; }
.adchoices { position: absolute; top: 0; right: 16px; background: #fff; padding: 1px 2px 0; line-height: 0; z-index: 2; }
.adx { position: absolute; top: 0; right: 0; width: 15px; height: 15px; background: #fff; color: #00aecd; font-size: 10px; line-height: 15px; text-align: center; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: bold; color: #3c4043; }
.brand-mark { width: 18px; height: 18px; border-radius: 4px; color: #fff; display: grid; place-items: center; font-size: 11px; }
.brand-icon { width: 24px; height: 24px; object-fit: contain; flex: none; }
.ad-img { display: block; width: 100%; object-fit: cover; object-position: center; }
.ad.ad-brand-opera-gx { background: #16121f; }
.ad-brand-opera-gx .brand, .ad-brand-opera-gx h4 { color: #fff; }
.ad-brand-temu .ad-img, .ad-brand-temu .thumb { object-fit: contain; background: #ff6d00; }
.ad-brand-hellofresh .brand-icon { width: 52px; }
.ad-brand-opera-gx .ad-img { object-fit: contain; }
.ad h4 { margin: 0; font-size: 17px; line-height: 1.2; font-weight: 500; }
.ad p { margin: 0; font-size: 12px; color: #5f6368; line-height: 1.35; }
.ad-brand-opera-gx p { color: #d7d1df; }
.ad-cta { display: inline-block; color: #fff; font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 4px; }
.ad small { display: block; font-size: 9px; color: #9aa0a6; margin-top: 6px; }

.ad-display { height: 250px; display: flex; flex-direction: column; }
.ad-display .ad-img { height: 84px; flex: none; }
.ad-display .ad-copy { padding: 9px 12px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; flex: 1; min-height: 0; }

.ad-display h4 { font-size: 16px; }
.ad-display p { font-size: 11px; }
.ad-display .ad-cta { margin-top: auto; padding: 5px 12px; }

.ad-sky { height: 600px; padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ad-sky .ad-img { height: 300px; width: 100%; border-radius: 3px; }
.ad-sky h4 { font-size: 20px; }

.leader .ad-leader { height: 90px; display: flex; align-items: center; gap: 18px; padding: 0 28px 0 18px; }
.ad-leader .lead-copy { flex: 1; min-width: 0; }
.ad-leader h4 { font-size: 19px; }
.ad-leader .brand { flex: none; max-width: 160px; }
.ad-leader .ad-cta { flex: none; }
.ad-leader p { font-size: 11px; }

.ad-text { border: 0; padding: 12px 0; border-bottom: 1px solid var(--line); background: transparent; }
.ad-text-top { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #202124; margin-bottom: 3px; }
.sponsored { font-weight: bold; }
.favicon { width: 18px; height: 18px; border-radius: 50%; background: #e8eaed; display: grid; place-items: center; font-size: 10px; font-weight: bold; color: #5f6368; }
.ad-text h4 { color: var(--link); font-size: 19px; font-weight: normal; margin-bottom: 3px; }
.ad-text p { font-size: 14px; color: #4d5156; }
.sitelinks { display: flex; gap: 16px; margin-top: 6px; font-size: 13px; color: var(--link); flex-wrap: wrap; }

.native { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 10px; }
.native-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: bold; font-size: 15px; }
.native-head .by { position: relative; font-size: 10px; color: #999; font-weight: normal; padding-right: 18px; }
.native-head .adchoices { right: 0; top: -1px; }
.native-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.native-grid a { text-decoration: none; color: #222; }
.native-grid .thumb { display: block; width: 100%; height: 110px; margin-bottom: 6px; border-radius: 3px; object-fit: cover; }
.native-grid b { display: block; font-size: 14px; line-height: 1.3; }
.native-grid a:hover b { text-decoration: underline; }
.native-grid span { font-size: 11px; color: #999; }

.ad-image { padding: 0 !important; border: 0; background: #0b0b0e; line-height: 0; }
.ad-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.leader .ad-image.ad-leader { height: 90px; max-width: 728px; margin: 0 auto; }

.hop-ad { max-width: 300px; margin: 18px auto 0; text-align: left; }
.adlabel { font-size: 10px; color: #999; margin-bottom: 2px; }

@keyframes blink { 50% { opacity: 0; } }
/* ============ ad space auction ============ */
.bids td:nth-child(2) b { color: #188038; }
.bidform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 8px 0 4px; }
.bidform label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: bold; }
.bidform label small { font-weight: normal; color: var(--muted); }
.bidform .wide { grid-column: 1 / -1; }
.bidform input, .bidform select { font: inherit; font-weight: normal; padding: 9px 10px; border: 1px solid #ccc; border-radius: 3px; background: #fff; }
.bidform input:focus, .bidform select:focus { outline: 2px solid #1a73e8; border-color: #1a73e8; }
.bidform .hp { position: absolute; left: -9999px; }
.bidform button { justify-self: start; margin: 0; cursor: pointer; }
.bidform button:disabled { opacity: .6; cursor: wait; }
.bidmsg { grid-column: 1 / -1; margin: 0; font-size: 14px; min-height: 1.4em; }
.bidmsg.ok { color: #188038; font-weight: bold; }
.bidmsg.err { color: #d93025; font-weight: bold; }
.fineprint { font-size: 11px; color: var(--muted); margin-top: 16px; }

/* ============ redirect interstitial ============ */
.hop { max-width: 640px; margin: 50px auto; background: #fff; border: 1px solid var(--line); padding: 28px 30px; text-align: center; }
.hop h1 { font-size: 22px; margin: 0 0 6px; font-weight: normal; }
.spinner { width: 44px; height: 44px; margin: 18px auto; border: 5px solid #eee; border-top-color: #1a73e8; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chain { text-align: left; font-family: Consolas, "Courier New", monospace; font-size: 12px; background: #fafafa; border: 1px solid var(--line); padding: 10px 12px; margin: 14px 0; min-height: 80px; }
.chain div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chain .ok { color: #188038; }
.chain .cur { color: #d93025; }
.hop small { color: var(--muted); }

/* ============ miner, sticky ad, cookie, notif ============ */
#miner {
  position: fixed; left: 10px; bottom: 76px; width: 220px;
  background: #111; color: #ddd; font-family: Consolas, "Courier New", monospace; font-size: 12px;
  border: 1px solid #333; box-shadow: 0 4px 18px rgba(0,0,0,.35);
  z-index: 40;
}
.miner-head { background: #f7931a; color: #000; font-weight: bold; padding: 5px 8px; display: flex; justify-content: space-between; align-items: center; }
.miner-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #0c0; box-shadow: 0 0 6px #0f0; animation: blink 1s steps(1) infinite; }
.miner-row { display: flex; justify-content: space-between; padding: 3px 8px; }
.miner-row b { color: #0f0; font-weight: normal; }
.cpu { height: 8px; margin: 2px 8px 4px; background: #333; }
#cpu { height: 100%; width: 0; background: linear-gradient(90deg, #0c0, #ff0 60%, #f00); transition: width .4s; }
.miner-foot { padding: 5px 8px 7px; border-top: 1px solid #333; font-size: 10px; color: #aaa; }
.miner-foot span { color: #666; }

#stickyAd {
  position: fixed; left: 0; right: 0; bottom: 0; height: 62px;
  background: #fff; border-top: 1px solid #dadce0;
  display: flex; align-items: center; justify-content: center; z-index: 50;
  box-shadow: 0 -2px 10px rgba(0,0,0,.12);
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
.sticky-link { display: flex; align-items: center; gap: 12px; width: min(560px, 100%); padding: 0 44px 0 14px; color: #202124; text-decoration: none; }
.app-icon { object-fit: contain; width: 42px; height: 42px; flex: none; border-radius: 10px; background: linear-gradient(135deg, #34a853, #0b8043); color: #fff; font-weight: bold; font-size: 22px; display: grid; place-items: center; }
.app-meta { flex: 1; min-width: 0; font-size: 12px; color: #5f6368; }
.app-meta b { display: block; font-size: 14px; color: #202124; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-get { flex: none; background: #1a73e8; color: #fff; font-weight: 500; font-size: 13px; padding: 8px 16px; border-radius: 4px; }
.sticky-tag { position: absolute; left: 6px; top: 4px; font-size: 9px; font-weight: bold; color: #fff; background: #f4b400; padding: 0 3px; border-radius: 2px; }
#stickyX { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: #f1f3f4; border: 0; width: 24px; height: 24px; font-size: 12px; border-radius: 50%; color: #5f6368; }

#cookie {
  position: fixed; left: 50%; bottom: 80px; transform: translateX(-50%);
  width: min(560px, calc(100vw - 20px));
  background: #fff; border: 1px solid #ccc; box-shadow: 0 6px 30px rgba(0,0,0,.25);
  padding: 16px 18px; z-index: 60; font-size: 14px;
}
#cookie p { margin: 0 0 12px; }
.cookie-btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-btns button { border: 1px solid #1a73e8; background: #fff; color: #1a73e8; padding: 7px 14px; border-radius: 3px; }
.cookie-btns .loud { background: #1a73e8; color: #fff; }

#notif {
  position: fixed; top: 8px; left: 90px; width: 320px;
  background: #fff; border-radius: 8px; box-shadow: 0 4px 22px rgba(0,0,0,.3);
  padding: 14px 16px; z-index: 70; font-size: 14px;
  animation: drop .25s ease-out;
}
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } }
.notif-body { margin: 8px 0 12px; }
.notif-btns { display: flex; gap: 8px; justify-content: flex-end; }
.notif-btns button { border: 1px solid #ccc; background: #fff; color: #1a73e8; padding: 6px 16px; border-radius: 4px; }
.notif-btns .allow { background: #1a73e8; color: #fff; border-color: #1a73e8; }

/* ============ small screens ============ */
@media (max-width: 1000px) {
  .frame { grid-template-columns: minmax(0, 1fr) 300px; }
  .rail.left { display: none; }
}
@media (max-width: 760px) {
  .frame { grid-template-columns: 1fr; }
  .rail.right { flex-direction: row; overflow-x: auto; }
  .rail.right .ad { min-width: 280px; }
  .rail.right { padding-bottom: 4px; }
  .rail.right .adrow { display: none; }
  .bidform { grid-template-columns: 1fr; }
  .ad-leader .brand, .ad-leader p { display: none; }
  .leader .ad-leader { padding: 0 24px 0 12px; gap: 10px; }
  .ad-leader h4 { font-size: 15px; }
  .park, .article { padding: 18px 16px; }
  .park h1 { font-size: 30px; }
  .portrait { float: none; margin: 0 auto 12px; }
  .topstrip-mid { display: none; }
  .buy { margin-left: auto; }
  #miner { width: 150px; bottom: 68px; left: 6px; font-size: 10px; opacity: .92; }
  .miner-row:not(:nth-of-type(2)), .cpu, .miner-foot { display: none; }
  #notif { left: 10px; right: 10px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
