/* Apple-style layer: loaded after each page's own <style>, overrides tokens + components */
:root{
  --bg:#f5f5f7; --card:#fff; --line:#d2d2d7; --line-soft:#e8e8ed;
  --text:#1d1d1f; --muted:#6e6e73; --faint:#aeaeb2;
  --brand:#0071e3; --brand-ink:#0066cc; --brand-soft:#e8f1fc;   /* Apple blue */
  --shadow:0 2px 6px rgba(0,0,0,.03),0 12px 32px rgba(0,0,0,.05);
}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue",Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);letter-spacing:-.01em}

/* translucent nav, content scrolls under it */
header{position:sticky;top:0;z-index:20;background:rgba(245,245,247,.72);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.08)}
.bar{padding-top:12px;padding-bottom:12px}
.logo-mark{background:var(--text);border-radius:9px;width:30px;height:30px;font-size:12px}
.logo-text{font-size:16px;font-weight:600;letter-spacing:-.02em}
.logo-text b{color:var(--text);font-weight:600}

/* display type: tight tracking + leading as it grows */
.hero{padding-top:56px;padding-bottom:16px}
.hero h1{font-size:clamp(34px,5vw,56px);font-weight:700;line-height:1.05;letter-spacing:-.035em}
.hero p{font-size:clamp(17px,2vw,21px);color:var(--muted);letter-spacing:-.01em;margin-top:10px}
.title{font-size:clamp(26px,3.4vw,40px);font-weight:700;letter-spacing:-.03em;line-height:1.1}
.title .sep{color:var(--line);font-weight:300}
.title .when{color:var(--muted);font-weight:600}

/* cards: no hard borders, soft depth, large radius */
.card{border:0;border-radius:22px;box-shadow:var(--shadow)}
.card-head{padding:22px 24px 12px}
.card-head h2{font-size:21px;font-weight:700;letter-spacing:-.025em}
.pill{background:var(--line-soft);color:var(--muted);font-weight:600}
.pill.live{background:#e3f6e8;color:#1f7a3a}
.pill.live::before{background:#30d158}

.row{border-color:var(--line-soft)}
.row:hover{background:#fafafc}
.tile{border-radius:12px;font-weight:600}
.dn{font-weight:600;letter-spacing:-.02em}
.amount b,.price b{font-weight:600;letter-spacing:-.02em}

/* buttons: capsule, instant press feedback */
.buy,.price{border:0;background:var(--bg);border-radius:980px;transition:transform .1s ease-out,background .2s}
.price{border-radius:16px}
.row:hover .buy{background:var(--brand);color:#fff}
.row:hover .buy span{color:rgba(255,255,255,.85)}
.buy:active,.row:active .buy,.more:active,button:active{transform:scale(.97)}
.more{color:var(--brand-ink);font-weight:500}
.more:hover{background:transparent;text-decoration:underline}

/* news */
.news .h{font-weight:600;letter-spacing:-.015em}
.tag{background:var(--brand-soft);color:var(--brand-ink);border-radius:980px;padding:2px 8px}

/* archive page: segmented control tabs */
.wrap{padding-top:40px}
.tabs{display:inline-flex;gap:2px;border:0;background:rgba(118,118,128,.12);border-radius:10px;padding:2px;margin-top:24px;flex-wrap:wrap;width:100%;max-width:max-content}
.tab{border:0;margin:0;padding:7px 18px;border-radius:8px;font-size:14px;font-weight:500;color:var(--text);transition:background .2s,box-shadow .2s}
.tab[aria-selected=true]{background:#fff;color:var(--text);font-weight:600;box-shadow:0 3px 8px rgba(0,0,0,.12),0 3px 1px rgba(0,0,0,.04)}
.tabs .sum{display:none}
.sumline{color:var(--muted);font-size:15px;margin-top:14px}
.sumline b{color:var(--text);font-weight:600}

.strip{border:0;background:var(--card);border-radius:16px;box-shadow:var(--shadow);padding:8px}
.strip button{border-radius:10px;color:var(--text)}
.strip button.on{background:var(--brand);color:#fff;font-weight:600}
.strip button:disabled{color:var(--faint)}

#list{background:var(--card);border-radius:22px;box-shadow:var(--shadow);padding:4px 24px;margin-top:16px}
#list .row{border-bottom:1px solid var(--line-soft)}
#list .row:last-child{border-bottom:0}
#list .row:hover{background:transparent}
.empty{text-align:center}

aside h3{font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.year{font-size:20px;font-weight:700;letter-spacing:-.02em}
.months button{border-radius:10px;font-weight:500}
.months button.on{background:var(--brand);color:#fff}
.months button.on .n{color:rgba(255,255,255,.8)}
.months button.on::before{color:rgba(255,255,255,.7)}

.picker{border:0;background:var(--card);box-shadow:var(--shadow);border-radius:14px;color:var(--brand-ink);font-family:inherit}
.foot{color:var(--faint)}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
@media (prefers-reduced-transparency:reduce){header{background:var(--bg);-webkit-backdrop-filter:none;backdrop-filter:none}}

/* responsive fixes */
.row>div{min-width:0}
.sub{overflow:hidden;text-overflow:ellipsis}
.list .rank{display:none}
.list .row{grid-template-columns:44px minmax(0,1fr) auto}
a.row:focus{outline:none}
a.row:focus-visible{outline:2px solid var(--brand);outline-offset:-3px;border-radius:14px}
@media (max-width:920px){
  .card-head{flex-wrap:wrap;gap:4px 12px}
}
@media (max-width:560px){
  .hero{padding-top:32px}
  .card{border-radius:18px}
  .card-head{padding:18px 16px 10px}
  .card-head .total{font-size:12px}
  .row{gap:12px}
  .buy{padding:7px 11px;font-size:14px}
  .list .row{grid-template-columns:36px minmax(0,1fr) auto;border-right:0}
  .news li{padding:12px 16px}
  #list{padding:2px 16px}
  .tabs{max-width:100%}
  .tab{flex:1;padding:7px 10px;text-align:center}
}
.card,section,main,aside{min-width:0}
.months .n{margin-left:6px}
.buy.stack{flex-direction:column;align-items:flex-end;gap:1px;padding:7px 14px;border-radius:14px;line-height:1.15;min-width:112px}
.buy.stack b{font-size:15px;font-weight:600}
.buy.stack span{display:block!important;font-size:11.5px;font-weight:500;color:var(--muted)}
.buy.stack.offer b{color:var(--text)}

/* filter bar */
.filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;align-items:center}
.filters select,.f-search{height:36px;border:0;border-radius:980px;background:var(--card);box-shadow:0 1px 3px rgba(0,0,0,.06);font:inherit;font-size:14px;font-weight:500;color:var(--text);padding:0 30px 0 14px;-webkit-appearance:none;appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.filters select.on{background-color:var(--brand);color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E")}
.f-search{display:flex;align-items:center;gap:6px;padding:0 14px;color:var(--muted);background-image:none;cursor:text;min-width:180px}
.f-search input{border:0;outline:none;background:none;font:inherit;color:var(--text);width:100%}
.f-reset{height:36px;padding:0 12px;color:var(--brand-ink);font-size:14px;font-weight:500}
.filters select:focus-visible,.f-search:focus-within{outline:2px solid var(--brand);outline-offset:1px}
@media (max-width:560px){
  .filters{flex-wrap:nowrap;overflow-x:auto;margin:16px -16px 0;padding:2px 16px 4px;scrollbar-width:none}
  .filters::-webkit-scrollbar{display:none}
  .filters>*{flex:0 0 auto}
  .f-search{min-width:150px}
}

/* pagination */
.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;flex-wrap:wrap}
.pager:empty{display:none}
.pager .range{color:var(--muted);font-size:14px}
.pager .pages{display:flex;gap:4px;align-items:center;background:var(--card);border-radius:980px;padding:4px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.pager button{min-width:36px;height:36px;border-radius:980px;font-size:15px;font-weight:500;color:var(--text);font-variant-numeric:tabular-nums;transition:background .15s}
.pager button:hover:not(:disabled):not(.on){background:var(--bg)}
.pager button.on{background:var(--brand);color:#fff;font-weight:600}
.pager button:disabled{color:var(--faint);cursor:default}
.pager .gap{color:var(--faint);padding:0 4px}
@media (max-width:560px){.pager{justify-content:center}.pager .range{width:100%;text-align:center}}

/* loading skeletons: same row geometry as real content, so nothing jumps when data arrives */
.sk{display:block;border-radius:8px;background:linear-gradient(90deg,#ececf0 25%,#f6f6f8 37%,#ececf0 63%);background-size:400% 100%;animation:sk-shimmer 1.4s ease infinite}
@keyframes sk-shimmer{0%{background-position:100% 50%}100%{background-position:0 50%}}
.row.skel{pointer-events:none}
.row.skel .tile{background:none}
.row.skel .tile.sk{background:linear-gradient(90deg,#ececf0 25%,#f6f6f8 37%,#ececf0 63%);background-size:400% 100%}
.sk-line{height:13px;margin:3px 0}
.sk-line.sub{height:10px;margin-top:8px;opacity:.8}
.sk-price{width:96px;height:44px;border-radius:14px}
.sk-amount{width:72px;height:30px}
.sk-text{display:inline-block;width:3.5em;height:.9em;vertical-align:-1px;border-radius:5px}
@media (prefers-reduced-motion:reduce){.sk,.row.skel .tile.sk{animation:none}}

/* header Advertise link (mailto hello@domainhunt.si) */
.ads-link{margin-left:auto;font-size:14px;font-weight:500;color:var(--text);padding:7px 14px;border-radius:980px;background:rgba(0,0,0,.05);transition:background .15s}
.ads-link:hover{background:rgba(0,0,0,.09)}
.x-link{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;color:var(--text);background:rgba(0,0,0,.05);transition:background .15s}
.x-link:hover{background:rgba(0,0,0,.09)}
.foot a{color:var(--brand-ink)}

/* legal pages (/privacy, /terms): single centred column, at-a-glance tiles, accordion sections */
.lg{max-width:820px;margin:0 auto;padding:56px 24px 80px}
.lg-hero{text-align:center}
.eyebrow{font-size:15px;font-weight:600;color:var(--brand-ink);letter-spacing:.02em}
.lg-hero h1{font-size:clamp(40px,7vw,72px);font-weight:800;letter-spacing:-.045em;line-height:1.02;margin-top:6px}
.updated{color:var(--muted);font-size:16px;margin-top:12px}
.seg{display:inline-flex;margin-top:26px;background:rgba(118,118,128,.12);border-radius:10px;padding:2px}
.seg a{padding:8px 26px;border-radius:8px;font-size:15px;font-weight:500;color:var(--text)}
.seg a[aria-current=page]{background:#fff;font-weight:600;box-shadow:0 3px 8px rgba(0,0,0,.12),0 3px 1px rgba(0,0,0,.04)}
.glance{margin-top:48px;background:var(--card);border-radius:24px;box-shadow:var(--shadow);padding:28px}
.glance h2{font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:18px}
.glance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}
.glance-item b{display:block;font-size:17px;letter-spacing:-.015em;margin-top:10px}
.glance-item p{color:var(--muted);font-size:15px;line-height:1.5;margin-top:4px}
.glance-ico{width:40px;height:40px;border-radius:12px;background:var(--brand-soft);color:var(--brand-ink);display:grid;place-items:center}
.glance-ico svg{width:22px;height:22px}
.lg-lead{font-size:19px;line-height:1.6;color:#2c2c2e;margin:40px 4px 22px}
.accs{background:var(--card);border-radius:24px;box-shadow:var(--shadow);overflow:hidden}
.acc+.acc{border-top:1px solid var(--line-soft)}
.acc summary{display:flex;align-items:center;gap:16px;padding:22px 26px;cursor:pointer;list-style:none}
.acc summary::-webkit-details-marker{display:none}
.acc summary:hover{background:#fafafc}
.acc .num{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:var(--faint);width:22px}
.acc .t{flex:1;font-size:19px;font-weight:600;letter-spacing:-.02em}
.acc .chev{width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s}
.acc[open] .chev{transform:rotate(-135deg) translate(-2px,-2px)}
.acc-body{padding:0 26px 24px 64px;font-size:16.5px;line-height:1.65;color:#2c2c2e}
.acc-body p{margin:8px 0}
.acc-body ul{margin:8px 0 8px 20px}
.acc-body li{margin:6px 0}
.acc-body a,.lg-contact a{color:var(--brand-ink);text-decoration:underline;text-underline-offset:2px}
.lg-contact{text-align:center;color:var(--muted);margin-top:32px;font-size:15px}
.legal-foot,.site-links{text-align:center;font-size:13px;color:var(--muted);padding:0 16px 40px}
.legal-foot a,.site-links a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}
@media (prefers-reduced-motion:reduce){.acc .chev{transition:none}}
@media (max-width:640px){
  .lg{padding:32px 16px 56px}
  .glance{padding:20px}
  .glance-grid{grid-template-columns:minmax(0,1fr)}
  .acc summary{padding:18px;gap:12px}
  .acc .t{font-size:17px}
  .acc-body{padding:0 18px 20px}
}

/* cookie banner (consent.js): floating frosted capsule, bottom centre */
.consent{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:50;width:max-content;max-width:calc(100% - 24px);
  display:flex;align-items:center;gap:18px;padding:10px 10px 10px 22px;border-radius:980px;
  background:rgba(29,29,31,.86);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
  color:#f5f5f7;font-size:14px;line-height:1.4;box-shadow:0 12px 40px rgba(0,0,0,.25);animation:consent-in .35s cubic-bezier(.2,.8,.2,1)}
.consent b{font-weight:600;color:#fff}
.consent a{color:#2997ff;font-weight:500}
.consent a:hover{text-decoration:underline}
.consent-actions{display:flex;gap:8px;flex:none}
.consent button{font:inherit;font-weight:600;font-size:14px;border:0;border-radius:980px;padding:9px 16px;cursor:pointer;background:rgba(255,255,255,.12);color:#fff;transition:background .15s,transform .1s}
.consent button:hover{background:rgba(255,255,255,.2)}
.consent button.primary{background:#fff;color:#1d1d1f}
.consent button.primary:hover{background:#e8e8ed}
.consent button:active{transform:scale(.96)}
@keyframes consent-in{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@media (prefers-reduced-motion:reduce){.consent{animation:none}}
@media (prefers-reduced-transparency:reduce){.consent{background:#1d1d1f;-webkit-backdrop-filter:none;backdrop-filter:none}}
@media (max-width:640px){.consent{flex-direction:column;align-items:stretch;gap:12px;border-radius:22px;padding:16px;bottom:12px}
  .consent-actions button{flex:1}}
