/* ЭТАП 08b topcasino.pro — хабы главной (префикс tph), между разделами H2 донора */
.tph-jump{margin:18px 0 0}
body.mq .tph-jump a{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:var(--mq-radius);background:var(--mq-gold);color:var(--mq-ink);font-weight:700;text-decoration:none}
body.mq .tph-jump a:hover{background:#ffd264;text-decoration:none}
.tph-jump .mq-ico{width:18px;height:18px;color:var(--mq-ink);fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.tph{max-width:var(--mq-wrap);margin:0 auto}
.tph .mq-ico{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none;margin:0}
body.mq .tph a{text-decoration:none}
body.mq .tph a:hover{text-decoration:none}
.tph img{display:block;max-width:100%}
/* скин держит body.mq img{height:auto} и body.mq a{color} — перебиваем той же базой */
body.mq .tph img.tph-geo__fl{width:48px;height:32px}
body.mq .tph img.tph-st__fl{width:60px;height:40px}
body.mq .tph img.tph-cash__logo{height:42px;width:auto;max-width:120px}
body.mq .tph img.tph-mob__os-logo{width:40px;height:40px}
body.mq .tph img.tph-pick__img,body.mq .tph img.tph-mob__img,body.mq .tph img.tph-sp__img{height:100%}
body.mq .tph-pick__lead,body.mq .tph-mob__lead,body.mq .tph-sp__it{color:#fff}
body.mq .tph-games a,body.mq .tph-pick__list a,body.mq .tph-cpn__it,body.mq .tph-mob__os a,body.mq .tph-help__it,body.mq .tph-pp__lead{color:var(--mq-ink)}
.tph-h{margin:0 0 16px}
.tph-h h2,.tph-h h3{margin:0 0 6px;font-size:25px;line-height:1.2;color:var(--mq-ink);text-transform:none;letter-spacing:0;display:block}
.tph-h h2{font-size:27px}
.tph-h p{margin:0;color:var(--mq-mute);max-width:720px}
.tph-intro{max-width:820px;margin:0 0 18px;line-height:1.6}
.tph-more{margin:14px 0 0;font-weight:700}
.tph-more+.tph-more{margin-top:4px}
body.mq .tph-more a{color:var(--mq-teal-d)}
body.mq .tph-more a:hover{text-decoration:underline}
.tph-also{margin:14px 0 0;font-size:15px;line-height:1.7;color:var(--mq-mute)}
.tph-also b{color:var(--mq-ink);margin-right:4px}
body.mq .tph-also a{color:var(--mq-teal-d)}
body.mq .tph-also a:hover{text-decoration:underline}
.tph-tile{display:flex;align-items:center;justify-content:center;width:52px;height:52px;flex:none;border-radius:var(--mq-radius);background:linear-gradient(135deg,var(--mq-ink2),var(--mq-ink3))}
.tph-tile .mq-ico{width:26px;height:26px;color:var(--mq-gold)}
.tph b,.tph small{display:block}
.tph small{color:var(--mq-mute);font-size:14px;line-height:1.45;margin-top:3px}
.tph-shadow,.tph-games__big,.tph-games__it,.tph-pick__lead,.tph-pick__list,.tph-geo__it,.tph-st,.tph-cpn__it,.tph-cash,.tph-lad,.tph-mob__lead,.tph-mob__side,.tph-help__it,.tph-pp__lead,.tph-pp__list,.tph-sp__it{background:var(--mq-paper);border:1px solid var(--mq-line);border-radius:var(--mq-radius);box-shadow:0 1px 0 rgba(27,18,48,.04),0 10px 28px -20px rgba(27,18,48,.45)}

/* 1 игры — большая карточка + 4 */
.tph-games{display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:auto auto;gap:16px}
.tph-games__big{grid-row:span 2;display:flex;flex-direction:column;overflow:hidden;color:var(--mq-ink)}
.tph-games__it{display:flex;flex-direction:column;overflow:hidden;color:var(--mq-ink)}
.tph-games__img{width:100%;aspect-ratio:4/3;object-fit:cover}
.tph-games__big .tph-games__img{aspect-ratio:auto;flex:1;min-height:260px;height:100%}
.tph-games__t{display:block;padding:12px 14px 0;font-weight:700;font-size:18px}
.tph-games__big .tph-games__t{font-size:22px}
.tph-games__c{display:block;padding:4px 14px 14px;color:var(--mq-mute);font-size:14px;line-height:1.45}
.tph-games a:hover .tph-games__t{color:var(--mq-teal-d)}

/* 2 страны — строки с флагами */
.tph-geo{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.tph-geo__it{display:grid;grid-template-columns:48px 170px 1fr;align-items:center;gap:16px;padding:12px 16px;margin:0}
.tph-geo__fl{width:48px;height:32px;object-fit:cover;border:1px solid var(--mq-line)}
.tph-geo__n{font-size:17px}
.tph-geo__l{display:flex;flex-wrap:wrap;gap:6px 22px}
body.mq .tph-geo__l a{color:var(--mq-teal-d);font-weight:700}
body.mq .tph-geo__l a:hover{text-decoration:underline}
.tph-geo__l i{font-style:normal;color:var(--mq-gold-d)}

/* 3 выбор казино — ведущая карточка + список с плитками */
.tph-pick{display:grid;grid-template-columns:1fr 1.15fr;gap:16px}
.tph-pick__lead{position:relative;display:block;overflow:hidden;min-height:340px;color:#fff}
.tph-pick__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tph-pick__lead:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(27,18,48,0) 30%,rgba(27,18,48,.92))}
.tph-pick__k,.tph-pick__t,.tph-pick__c{position:absolute;left:20px;right:20px;z-index:1}
.tph-pick__k{bottom:132px;display:inline-block;width:max-content;padding:3px 9px;background:var(--mq-gold);color:var(--mq-ink);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;border-radius:3px}
.tph-pick__t{bottom:70px;font-size:23px;font-weight:700;line-height:1.2}
.tph-pick__c{bottom:18px;font-size:14px;line-height:1.45;color:#e8e2f2}
.tph-pick__list{list-style:none;margin:0;padding:6px 0}
.tph-pick__list li{margin:0;border-top:1px solid var(--mq-line)}
.tph-pick__list li:first-child{border-top:0}
.tph-pick__list a{display:flex;align-items:center;gap:14px;padding:11px 16px;color:var(--mq-ink)}
.tph-pick__list a:hover b{color:var(--mq-teal-d)}

/* 4 штаты — плитки с флагами */
.tph-states{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.tph-st{display:flex;flex-direction:column;padding:14px;border-top:4px solid var(--mq-teal)}
.tph-st--bet{border-top-color:var(--mq-gold)}
.tph-st__fl{width:60px;height:40px;object-fit:cover;border:1px solid var(--mq-line);margin-bottom:10px}
.tph-st__n{font-size:17px}
.tph-st__s{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--mq-teal-d);margin:2px 0 10px}
.tph-st--bet .tph-st__s{color:var(--mq-gold-d)}
.tph-st__l{display:flex;flex-direction:column;gap:6px;margin-top:auto;font-size:15px}
.tph-st__l a{padding-top:6px;border-top:1px dashed var(--mq-line2)}
body.mq .tph-st__l a:hover{text-decoration:underline}

/* 5 бонусы — купоны */
.tph-cpn{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.tph-cpn__it{display:flex;overflow:hidden;color:var(--mq-ink)}
.tph-cpn__stub{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:78px;flex:none;padding:10px 4px;background:var(--mq-ink2);color:var(--mq-gold);border-right:2px dashed var(--mq-paper)}
.tph-cpn__stub .mq-ico{width:26px;height:26px;color:var(--mq-gold)}
.tph-cpn__stub em{font-style:normal;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;text-align:center;line-height:1.2}
.tph-cpn__b{padding:12px 14px}
.tph-cpn__it:hover b{color:var(--mq-teal-d)}

/* 6 касса — таблица с логотипами + лестница депозитов */
.tph-cash{overflow:hidden}
.tph-cash__r{display:grid;grid-template-columns:190px 1.1fr 1.6fr;gap:16px;align-items:center;padding:12px 16px;border-top:1px solid var(--mq-line)}
.tph-cash__r--h{border-top:0;background:var(--mq-paper2);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--mq-mute);padding:9px 16px}
.tph-cash__m{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tph-cash__m small{width:100%;margin:2px 0 0;font-size:12px}
.tph-cash__logo{height:30px;width:auto;object-fit:contain}
.tph-cash__m .tph-tile{width:40px;height:30px}
.tph-cash__m .tph-tile .mq-ico{width:20px;height:20px}
.tph-cash__r a{font-weight:700}
body.mq .tph-cash__r a:hover{text-decoration:underline}
.tph-cash__c{color:var(--mq-mute);font-size:14px;line-height:1.45}
.tph-lad{margin-top:14px;padding:14px 16px}
.tph-lad__h{margin:0 0 10px;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--mq-mute)}
.tph-lad__l{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:end}
.tph-lad__l li{margin:0}
.tph-lad__a{display:flex;flex-direction:column;justify-content:flex-end;min-height:calc(64px + var(--i) * 18px);padding:10px 12px;border-radius:var(--mq-radius);background:linear-gradient(180deg,var(--mq-teal),var(--mq-teal-d));color:#fff}
body.mq .tph-lad__a{color:#fff}
.tph-lad__a b{font-size:24px;line-height:1}
.tph-lad__a span{font-size:13px;margin-top:4px;opacity:.92}
.tph-lad__x{display:inline-block;margin-top:6px;font-size:13px}
body.mq .tph-lad__x:hover{text-decoration:underline}

/* 7 мобильные — фото + устройства */
.tph-mob{display:grid;grid-template-columns:.9fr 1.3fr;gap:16px}
.tph-mob__lead{position:relative;display:block;overflow:hidden;min-height:380px;color:#fff}
.tph-mob__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tph-mob__lead:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(27,18,48,0) 40%,rgba(27,18,48,.9))}
.tph-mob__t,.tph-mob__c{position:absolute;left:18px;right:18px;z-index:1}
.tph-mob__t{bottom:58px;font-size:22px;font-weight:700}
.tph-mob__c{bottom:16px;font-size:14px;line-height:1.45;color:#e8e2f2}
.tph-mob__side{padding:6px 0}
.tph-mob__os,.tph-mob__apps{list-style:none;margin:0;padding:0}
.tph-mob__os li{margin:0;border-bottom:1px solid var(--mq-line)}
.tph-mob__os a{display:flex;align-items:center;gap:14px;padding:12px 16px;color:var(--mq-ink)}
.tph-mob__os a:hover b{color:var(--mq-teal-d)}
.tph-mob__os-logo{width:40px;height:40px;object-fit:contain;flex:none}
.tph-mob__apps{display:grid;grid-template-columns:1fr 1fr;gap:2px 12px;padding:10px 16px}
.tph-mob__apps li{margin:0}
.tph-mob__apps a{display:flex;align-items:center;gap:9px;padding:7px 0;font-weight:700;font-size:15px}
.tph-mob__apps .mq-ico{width:20px;height:20px;color:var(--mq-teal)}
body.mq .tph-mob__apps a:hover{text-decoration:underline}

/* 8 проблемы — сетка 3×2 */
.tph-help{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tph-help__it{display:block;padding:0 16px 16px;color:var(--mq-ink);overflow:hidden}
.tph-help__art{display:flex;align-items:center;justify-content:space-between;margin:0 -16px 12px;padding:14px 16px;background:linear-gradient(135deg,var(--mq-ink2),var(--mq-ink3))}
.tph-help__art .mq-ico{width:28px;height:28px;color:var(--mq-gold)}
.tph-help__art em{font-style:normal;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#fff;background:rgba(255,255,255,.12);padding:3px 8px;border-radius:3px}
.tph-help__it b{font-size:17px}
.tph-help__it:hover b{color:var(--mq-teal-d)}

/* 9 PayPal — панель + строки */
.tph-pp{display:grid;grid-template-columns:.9fr 1.3fr;gap:16px}
.tph-pp__lead{display:flex;flex-direction:column;overflow:hidden;color:var(--mq-ink)}
.tph-pp__art{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:4px;min-height:170px;padding:18px;background:linear-gradient(135deg,#003087,#0070e0);color:#fff}
.tph-pp__art .mq-ico{width:34px;height:34px;color:#fff;margin-bottom:auto}
.tph-pp__art em{font-style:normal;font-size:40px;font-weight:700;line-height:1}
.tph-pp__art small{color:#d6e6ff;margin:0}
.tph-pp__lead>b{padding:14px 16px 0;font-size:19px}
.tph-pp__lead>small{padding:0 16px 16px}
.tph-pp__lead:hover>b{color:var(--mq-teal-d)}
.tph-pp__list{list-style:none;margin:0;padding:6px 0}
.tph-pp__list li{margin:0;border-top:1px solid var(--mq-line)}
.tph-pp__list li:first-child{border-top:0}
.tph-pp__list a{display:flex;align-items:center;gap:12px;padding:10px 16px;font-weight:700}
body.mq .tph-pp__list a:hover{text-decoration:underline}
.tph-pp__i{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;border-radius:50%;background:#e6f0ff}
.tph-pp__i .mq-ico{width:18px;height:18px;color:#0050b5}

/* 10 спорт — мозаика фото */
.tph-sp{display:grid;grid-template-columns:1.5fr 1fr;grid-template-rows:1fr 1fr;gap:12px}
.tph-sp__it{position:relative;display:block;overflow:hidden;min-height:190px;color:#fff}
.tph-sp__it--big{grid-row:span 2;min-height:392px}
.tph-sp__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tph-sp__it:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(27,18,48,0) 35%,rgba(27,18,48,.9))}
.tph-sp__cap{position:absolute;left:16px;right:16px;bottom:14px;z-index:1}
.tph-sp__cap b{font-size:19px}
.tph-sp__it--big .tph-sp__cap b{font-size:23px}
.tph-sp__cap small{color:#e8e2f2}
.tph-credits{margin-top:16px;font-size:13px;color:var(--mq-mute)}
.tph-credits summary{cursor:pointer}
.tph-credits p{margin:6px 0 0;line-height:1.5}

@media (max-width:1023px){
  .tph-states{grid-template-columns:repeat(3,1fr)}
  .tph-cpn{grid-template-columns:repeat(2,1fr)}
  .tph-cash__r{grid-template-columns:150px 1fr}
  .tph-cash__c{grid-column:2}
}
@media (max-width:820px){
  .tph-games{grid-template-columns:1fr 1fr}
  .tph-games__big{grid-column:span 2;grid-row:auto}
  .tph-games__big .tph-games__img{aspect-ratio:16/9;min-height:0;height:auto;flex:none}
  .tph-pick,.tph-mob,.tph-pp,.tph-sp{grid-template-columns:1fr}
  .tph-sp{grid-template-rows:none}
  .tph-sp__it--big{grid-row:auto;min-height:260px}
  .tph-help{grid-template-columns:repeat(2,1fr)}
  .tph-geo__it{grid-template-columns:48px 1fr}
  .tph-geo__l{grid-column:1/-1}
  .tph-mob__lead{min-height:300px}
  .tph-h h2,.tph-h h3{font-size:22px}
}
@media (max-width:560px){
  .tph-games{grid-template-columns:1fr}
  .tph-games__big{grid-column:auto}
  .tph-states,.tph-cpn,.tph-help,.tph-mob__apps{grid-template-columns:1fr}
  .tph-states{grid-template-columns:1fr 1fr}
  .tph-lad__l{grid-template-columns:1fr 1fr}
  .tph-lad__a{min-height:64px}
  .tph-cash__r--h{display:none}
  .tph-cash__r{grid-template-columns:1fr;gap:4px}
  .tph-cash__c{grid-column:auto}
  .tph-pick__lead{min-height:300px}
  .tph-pick__t{font-size:20px}
}
