:root{
  --bg:#fffaf7;
  --paper:#ffffff;
  --soft:#fff6f1;
  --rose:#c97979;
  --rose-dark:#8b4a55;
  --wine:#4b2430;
  --text:#55333c;
  --muted:#987982;
  --line:#efd9d2;
  --gold:#d6a343;
  --gold-soft:#fff0c7;
  --shadow:0 18px 48px rgba(90,45,55,.08);
  --shadow-soft:0 10px 26px rgba(90,45,55,.06);
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(214,163,67,.13), transparent 28%),
    radial-gradient(circle at 90% 5%, rgba(201,121,121,.16), transparent 25%),
    linear-gradient(180deg,#fffdfb 0%,#fff7f3 45%,#fbefe9 100%);
}

button,input{font:inherit}
a{color:var(--rose-dark);text-decoration:none}
a:hover{text-decoration:underline}
img{display:block;max-width:100%}

.lux-topbar,
.ggs-ribbon,
.lux-main,
.library-head,
.catalog-grid,
.lux-footer{
  width:min(1440px,calc(100% - 56px));
  margin-left:auto;
  margin-right:auto;
}

.lux-topbar{
  height:86px;
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:26px;
  align-items:center;
  border-bottom:1px solid var(--line);
}

.lux-brand{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  justify-self:start;
}

.lux-brand img{
  width:250px;
  max-height:54px;
  object-fit:contain;
}

.lux-brand span{
  margin-left:54px;
  color:var(--muted);
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.lux-userline{
  color:var(--muted);
  white-space:nowrap;
}

.lux-userline strong{
  margin-left:8px;
  color:var(--rose-dark);
  font-size:1.18rem;
}

.lux-wallet{
  min-width:235px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 15px;
  border-radius:14px;
  background:linear-gradient(135deg,#fff9ea,#fff1cc);
  border:1px solid rgba(214,163,67,.42);
  box-shadow:var(--shadow-soft);
}

.wallet-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:#8a5b13;
  background:linear-gradient(180deg,#fff5c4,#e4b956);
  font-size:1.25rem;
}

.wallet-label{
  display:block;
  color:#b57f2f;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-size:.78rem;
}

.wallet-values{
  display:flex;
  gap:10px;
  color:#6c4a36;
  font-size:.9rem;
}

.ggs-ribbon{
  margin-top:20px;
  margin-bottom:20px;
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  padding:14px 20px;
  border-radius:16px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.ggs-ribbon img{
  width:58px;
  height:58px;
  object-fit:contain;
}

.ggs-ribbon p{
  margin:0;
  color:var(--text);
  line-height:1.45;
}

.ggs-ribbon a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.72rem 1rem;
  border-radius:999px;
  background:linear-gradient(180deg,#fff1bd,#e7ba55);
  border:1px solid rgba(174,124,31,.30);
  color:#4b2b19;
  font-weight:900;
  white-space:nowrap;
  text-decoration:none;
}

.lux-main{
  display:grid;
  grid-template-columns:minmax(360px,.85fr) minmax(0,1.55fr);
  gap:20px;
  align-items:stretch;
}

.lux-intro,
.lux-player{
  border:1px solid var(--line);
  background:rgba(255,255,255,.82);
  border-radius:20px;
  box-shadow:var(--shadow);
}

.lux-intro{
  padding:34px 36px;
  min-height:360px;
  background:
    radial-gradient(circle at 80% 20%, rgba(214,163,67,.12), transparent 30%),
    linear-gradient(135deg,#fff,#fff7f3);
}

.eyebrow{
  margin:0 0 12px;
  color:var(--rose);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
  font-weight:800;
}

.lux-intro h1{
  margin:0 0 18px;
  color:var(--wine);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:clamp(2.5rem,4vw,4.4rem);
  line-height:1.02;
}

.lux-intro h1 span{
  color:var(--gold);
}

.lead{
  margin:0 0 26px;
  color:var(--text);
  font-size:1.04rem;
}

.nickname-row,
.redeem-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  margin-top:12px;
}

input{
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--wine);
  padding:.86rem 1rem;
  outline:none;
}

input:focus{
  border-color:#deb9b1;
  box-shadow:0 0 0 3px rgba(201,121,121,.12);
}

button{
  border:0;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(180deg,#cc7d7e,#a95f68);
  padding:.86rem 1.15rem;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(169,95,104,.16);
}

button:hover{filter:brightness(1.03)}
button:disabled{opacity:.42;cursor:not-allowed}

.intro-facts{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color:var(--muted);
}

.intro-facts span{
  padding:.42rem .7rem;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
}

.lux-player{
  display:grid;
  grid-template-columns:320px minmax(0,1fr) 270px;
  gap:24px;
  padding:20px;
}

.lux-player[hidden]{
  display:none!important;
}

.player-cover img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:12px;
  box-shadow:0 12px 28px rgba(90,45,55,.12);
}

.player-core{
  min-width:0;
  align-self:center;
}

.player-core h2{
  margin:0 0 6px;
  color:var(--wine);
  font-size:1.85rem;
  line-height:1.1;
}

.current-track{
  color:var(--rose);
  margin:0 0 18px;
}

#main-player{
  width:100%;
  margin:8px 0 16px;
  accent-color:var(--rose);
}

.player-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.player-actions button{
  width:auto;
  color:var(--rose-dark);
  background:#fff1ee;
  box-shadow:none;
  border:1px solid var(--line);
  padding:.65rem .9rem;
}

.player-progress-line{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  background:#fff8f4;
  border:1px solid var(--line);
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:.92rem;
}

.track-panel{
  border:1px solid var(--line);
  background:#fffaf7;
  border-radius:14px;
  padding:14px;
  min-width:0;
}

.track-panel h3{
  margin:0 0 10px;
  color:var(--rose);
  font-size:.9rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.global-tracks{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:7px;
  max-height:310px;
  overflow:auto;
}

.global-tracks li button{
  width:100%;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  text-align:left;
  padding:.52rem .55rem;
  border-radius:10px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--text);
  box-shadow:none;
}

.global-tracks li.active button{
  border-color:rgba(214,163,67,.55);
  background:#fff6e7;
}

.global-tracks .track-no{
  color:var(--rose);
  font-weight:900;
  font-size:.86rem;
}

.global-tracks .track-title{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.lock-star{
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#6f470c;
  background:linear-gradient(180deg,#fff3b0,#e4b63f);
  border:1px solid rgba(155,105,22,.25);
  font-size:.78rem;
}

.done-mark{
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#58815a;
  background:#edf8ef;
  border:1px solid rgba(88,129,90,.22);
  font-size:.78rem;
}

.library-head{
  margin-top:26px;
  margin-bottom:12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.library-head h2{
  margin:0;
  color:var(--wine);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:2rem;
}

.library-tabs{
  display:flex;
  gap:10px;
}

.library-tabs span{
  padding:.5rem .82rem;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--rose-dark);
  font-weight:700;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:20px;
  margin-bottom:34px;
}

.book-card{
  overflow:hidden;
  border-radius:14px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.cover-wrap img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  background:#f4ece8;
}

.book-body{
  padding:13px 14px 15px;
}

.book-body h3{
  margin:0 0 6px;
  color:var(--wine);
  font-size:1.08rem;
  line-height:1.18;
}

.book-body p{
  margin:.28rem 0;
  color:var(--muted);
  font-size:.92rem;
}

.price-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:.7rem 0;
}

.price-row span{
  padding:.28rem .52rem;
  border-radius:999px;
  background:var(--soft);
  border:1px solid var(--line);
  color:var(--rose-dark);
  font-size:.86rem;
  font-weight:800;
}

.book-actions{
  display:grid;
  gap:7px;
}

.book-actions button{
  width:100%;
  padding:.6rem .72rem;
  font-size:.9rem;
}

.book-actions .listen{
  background:linear-gradient(180deg,#d3898a,#ad626d);
}

.book-actions .buy{
  background:#fff2ee;
  color:var(--rose-dark);
  box-shadow:none;
  border:1px solid var(--line);
}

.book-actions .gold{
  background:linear-gradient(180deg,#fff0bf,#e1b44f);
  color:#553911;
  border-color:rgba(170,116,30,.25);
}

.book-card.unlocked .buy{
  display:none;
}

.last-progress{
  margin-top:8px;
  color:var(--muted);
  font-size:.86rem;
}

.tracks{display:none}

.lux-footer{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  margin-bottom:34px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.lux-footer div{
  padding:16px 18px;
  border-right:1px solid var(--line);
}

.lux-footer div:last-child{
  border-right:0;
}

.lux-footer strong{
  display:block;
  color:var(--wine);
  margin-bottom:2px;
}

.lux-footer span{
  color:var(--muted);
  font-size:.9rem;
}

#toast{
  position:fixed;
  left:50%;
  bottom:22px;
  transform:translateX(-50%) translateY(20px);
  opacity:0;
  pointer-events:none;
  background:#43252c;
  color:#fff;
  padding:.85rem 1.05rem;
  border-radius:999px;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
  transition:.2s ease;
  z-index:50;
}

#toast.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

@media(max-width:1280px){
  .catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .lux-player{grid-template-columns:260px minmax(0,1fr)}
  .track-panel{grid-column:1 / -1}
  .global-tracks{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;max-height:none}
}

@media(max-width:980px){
  .lux-topbar{
    height:auto;
    padding:16px 0;
    grid-template-columns:1fr;
    gap:12px;
    align-items:start;
  }

  .lux-userline,
  .lux-wallet{
    justify-self:start;
  }

  .ggs-ribbon{
    grid-template-columns:56px 1fr;
  }

  .ggs-ribbon a{
    grid-column:1 / -1;
    justify-self:start;
  }

  .lux-main{
    grid-template-columns:1fr;
  }

  .catalog-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .lux-footer{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .lux-topbar,
  .ggs-ribbon,
  .lux-main,
  .library-head,
  .catalog-grid,
  .lux-footer{
    width:min(100% - 24px,1440px);
  }

  .lux-player{
    grid-template-columns:1fr;
  }

  .player-cover{
    max-width:280px;
  }

  .global-tracks{
    grid-template-columns:1fr;
  }

  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }

  .nickname-row,
  .redeem-row{
    grid-template-columns:1fr;
  }

  .library-head{
    display:block;
  }

  .library-tabs{
    margin-top:10px;
  }
}

@media(max-width:520px){
  .catalog-grid{
    grid-template-columns:1fr;
  }

  .lux-intro,
  .lux-player{
    padding:18px;
  }

  .lux-intro h1{
    font-size:2.55rem;
  }

  .lux-footer{
    grid-template-columns:1fr;
  }

  .lux-footer div{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .lux-footer div:last-child{
    border-bottom:0;
  }

  .lux-brand img{
    width:190px;
  }
}

/* SexyHörbuch Start Random Player + Name Prompt v1 START */
#wallet-prompt{
  color:#8b4a55;
  font-weight:700;
}

#wallet-name:empty{
  display:none;
}

.lux-userline{
  font-size:1rem;
}

#player-status{
  white-space:nowrap;
}
/* SexyHörbuch Start Random Player + Name Prompt v1 END */

/* SexyHörbuch Filter Favorites Unlocked v1 START */
.library-head{
  align-items:flex-end !important;
}

.sh-filterbar{
  width:min(1440px,calc(100% - 56px));
  margin:0 auto 16px;
  display:grid;
  grid-template-columns:minmax(280px,1fr) auto;
  gap:12px;
  align-items:center;
}

.sh-searchbox{
  position:relative;
}

.sh-searchbox input{
  width:100%;
  padding:.86rem 1rem .86rem 2.65rem;
  border-radius:999px;
  border:1px solid #efd9d2;
  background:#fff;
  color:#4b2430;
  box-shadow:0 8px 20px rgba(90,45,55,.045);
}

.sh-searchbox:before{
  content:"⌕";
  position:absolute;
  left:1rem;
  top:50%;
  transform:translateY(-50%);
  color:#c97979;
  font-weight:900;
  font-size:1.15rem;
  pointer-events:none;
}

.sh-filterbuttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.sh-filterbuttons button{
  width:auto !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  padding:.72rem .95rem;
  border-radius:999px;
  border:1px solid #efd9d2;
  background:#fff;
  color:#8b4a55;
  box-shadow:0 8px 20px rgba(90,45,55,.045);
}

.sh-filterbuttons button.active{
  background:linear-gradient(180deg,#fff0c7,#e4b956);
  border-color:rgba(170,116,30,.28);
  color:#553911;
}

.book-card{
  position:relative;
}

.sh-fav-btn{
  position:absolute;
  top:10px;
  right:10px;
  z-index:5;
  width:38px !important;
  height:38px !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.92) !important;
  border:1px solid rgba(239,217,210,.85) !important;
  color:#b9868c !important;
  box-shadow:0 8px 18px rgba(90,45,55,.12) !important;
  font-size:1.15rem !important;
  line-height:1 !important;
}

.sh-fav-btn.active{
  color:#fff !important;
  background:linear-gradient(180deg,#d58a91,#aa5f6a) !important;
  border-color:rgba(170,95,106,.35) !important;
}

.sh-fav-btn:hover{
  transform:translateY(-1px);
}

.book-card.sh-hidden{
  display:none !important;
}

.sh-empty-filter{
  width:min(1440px,calc(100% - 56px));
  margin:8px auto 34px;
  padding:22px;
  border-radius:16px;
  border:1px solid #efd9d2;
  background:#fff;
  color:#8b4a55;
  text-align:center;
  box-shadow:0 10px 26px rgba(90,45,55,.055);
}

.sh-empty-filter[hidden]{
  display:none !important;
}

@media(max-width:900px){
  .sh-filterbar{
    grid-template-columns:1fr;
  }

  .sh-filterbuttons{
    justify-content:flex-start;
  }
}

@media(max-width:720px){
  .sh-filterbar,
  .sh-empty-filter{
    width:min(100% - 24px,1440px);
  }
}
/* SexyHörbuch Filter Favorites Unlocked v1 END */


/* SexyHörbuch Batch Prices Exclusive Badge v1 START */
.cover-wrap{
  position:relative;
}

.exclusive-badge{
  position:absolute;
  left:10px;
  top:10px;
  z-index:4;
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.36rem .62rem;
  border-radius:999px;
  background:linear-gradient(180deg,#fff3bd,#dfb64c);
  border:1px solid rgba(151,103,25,.32);
  color:#57380e;
  font-weight:950;
  font-size:.78rem;
  letter-spacing:.02em;
  box-shadow:0 10px 18px rgba(88,55,20,.18);
  text-transform:uppercase;
}

.exclusive-badge:before{
  content:"★";
  font-size:.82rem;
}

.book-card.exclusive{
  border-color:rgba(214,163,67,.38);
}

.book-card.exclusive .cover-wrap:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(214,163,67,.22);
}

.book-card.gold-only .price-row span{
  background:linear-gradient(180deg,#fff0bf,#e1b44f);
  color:#553911;
  border-color:rgba(170,116,30,.25);
}

.book-card.gold-only .unlock-copy:after{
  content:" · Gold-only";
  color:#b57f2f;
  font-weight:800;
}
/* SexyHörbuch Batch Prices Exclusive Badge v1 END */

/* SexyHörbuch Welcome Back Name Change v1 START */
.lux-userline{
  display:flex;
  align-items:baseline;
  gap:.42rem;
  flex-wrap:wrap;
}

#wallet-prompt{
  color:#8b4a55;
  font-weight:750;
}

#wallet-name{
  color:#4b2430;
  font-weight:950;
  font-size:1.18rem;
}

#wallet-name:empty{
  display:none;
}

html.sh-wallet-recognized #wallet-prompt{
  color:#b57f2f;
}

html.sh-wallet-recognized #wallet-name{
  color:#8b4a55;
}

#open-wallet{
  white-space:nowrap;
}
/* SexyHörbuch Welcome Back Name Change v1 END */


/* SexyHörbuch Exclusive Badge Bottom Left v1 START */
.exclusive-badge{
  left:10px !important;
  right:auto !important;
  top:auto !important;
  bottom:10px !important;
}
.book-card:not(.exclusive) .exclusive-badge{
  display:none !important;
}
/* SexyHörbuch Exclusive Badge Bottom Left v1 END */

/* SexyHörbuch Player Buybox v1 START */
.player-buybox{
  margin:12px 0 16px;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid rgba(214,163,67,.34);
  background:linear-gradient(135deg,#fffaf2,#ffffff);
  box-shadow:0 10px 24px rgba(90,45,55,.055);
}

.player-buybox[hidden]{
  display:none !important;
}

.player-buybox-title{
  color:#4b2430;
  font-weight:950;
  margin-bottom:8px;
  line-height:1.25;
}

.player-buybox-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
}

.player-buybox-actions button{
  width:auto;
  padding:.68rem .95rem;
  border-radius:999px;
  font-weight:950;
}

.player-buy-silver{
  background:linear-gradient(180deg,#ffffff,#f1f1f5) !important;
  color:#5d4650 !important;
  border:1px solid rgba(180,180,190,.55) !important;
  box-shadow:0 8px 18px rgba(90,45,55,.06) !important;
}

.player-buy-gold{
  background:linear-gradient(180deg,#fff0bf,#e1b44f) !important;
  color:#553911 !important;
  border:1px solid rgba(170,116,30,.25) !important;
  box-shadow:0 8px 18px rgba(170,116,30,.13) !important;
}

.player-buybox-note{
  color:#987982;
  font-size:.92rem;
  margin-top:8px;
}
/* SexyHörbuch Player Buybox v1 END */


/* SH_SEO_HANDAGECHECK_CSS_V1_START */
.seo-copy{
  width:min(1440px,calc(100% - 56px));
  margin:10px auto 24px;
  padding:22px 24px;
  border-radius:18px;
  background:rgba(255,255,255,.78);
  border:1px solid var(--line,#efd9d2);
  box-shadow:0 10px 26px rgba(90,45,55,.055);
  color:var(--text,#55333c);
}
.seo-copy h2{
  margin:0 0 8px;
  color:var(--wine,#4b2430);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  font-size:1.65rem;
}
.seo-copy p{margin:.45rem 0;color:var(--muted,#987982);line-height:1.55}
.player-buybox-note.agecheck-note,
.agecheck-note{
  margin-top:8px;
  color:#8b4a55;
  font-weight:750;
}
@media(max-width:720px){.seo-copy{width:min(100% - 24px,1440px);padding:18px}}
/* SH_SEO_HANDAGECHECK_CSS_V1_END */
