/* Category and tag archives share the homepage compact-card presentation. */
.portal-archive-page { padding: 28px 25px 64px; }
.portal-archive-page .portal-archive-page__content { width: calc(100% - 50px) !important; max-width: 1412px !important; margin: 0 auto; }
.portal-archive { width: 100%; }
.portal-category-banner { position: relative; min-height: 220px; margin: 14px 0 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: linear-gradient(125deg,#382410 0%,#17151f 47%,#1a3550 100%); isolation: isolate; }
.portal-category-banner__image { position: absolute; inset: 0; z-index: -2; overflow:hidden; transition: transform .45s ease; }
.portal-category-banner__image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.portal-category-banner:hover .portal-category-banner__image { transform: scale(1.025); }
.portal-category-banner:after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(12,10,16,.9) 0%,rgba(12,10,16,.58) 49%,rgba(12,10,16,.2) 100%); content: ""; }
.portal-category-banner__content { display: flex; position: relative; min-height: 220px; max-width: 680px; padding: 32px 38px; color: #fff; flex-direction: column; justify-content: flex-end; }
.portal-category-banner__content > span { margin-bottom: 7px; color: #ffb000; font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.portal-category-banner__content h1 { margin: 0; color: #fff; font-size: clamp(30px,4vw,48px); font-weight: 850; line-height: 1; }
.portal-category-banner__description { max-width: 560px; margin-top: 12px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.5; }
.portal-archive__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 22px; padding: 0 0 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.portal-archive__header--controls-only { justify-content: flex-end; margin-top: -8px; }
.portal-archive__heading, .portal-archive__heading h1, .portal-archive__heading .archive-title { margin: 0; color: #fff; font-size: clamp(22px,2vw,30px); font-weight: 800; line-height: 1.15; text-transform: none; }
.portal-archive__heading:before { display: none; }
.portal-archive__heading > * { display: inline; }
.portal-archive__controls { display: inline-flex; align-items: center; gap: 8px; color: #aeb1c0; font-size: 14px; font-weight: 700; white-space: nowrap; }
.portal-archive__controls select { min-width: 180px; min-height: 40px; padding: 8px 38px 8px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background-color: #17151f; color: #fff; font: inherit; cursor: pointer; }
.portal-archive__controls select:focus-visible { outline: 2px solid #ffb000; outline-offset: 2px; }
/* The legacy select plugin replaces the native select with these elements. */
.portal-archive__controls .mt-slct { min-width: 180px; }
.portal-archive__controls .mt-slct .selecter-selected { box-sizing: border-box; min-width: 180px; min-height: 40px; padding: 9px 40px 9px 15px !important; border: 1px solid rgba(255,255,255,.16) !important; border-radius: 999px !important; background: #17151f !important; color: #fff !important; font-size: 14px; font-weight: 700; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.portal-archive__controls .mt-slct .selecter-selected:after { position: absolute; top: 9px; right: 13px; width: 18px; height: 18px; margin: 0; color: #ffb000; line-height: 18px; }
.portal-archive__controls .mt-slct.focus .selecter-selected, .portal-archive__controls .mt-slct .selecter-selected:hover { border-color: rgba(255,176,0,.75) !important; background: #1d1923 !important; box-shadow: 0 0 0 3px rgba(255,176,0,.12) !important; }
.portal-archive__controls .mt-slct .selecter-options { left: 0 !important; right: auto !important; top: calc(100% + 8px) !important; width: 230px !important; max-height: 320px; padding: 7px !important; border: 1px solid rgba(255,255,255,.14) !important; border-radius: 15px !important; background: #211d28 !important; box-shadow: 0 16px 32px rgba(0,0,0,.35) !important; }
.portal-archive__controls .mt-slct .selecter-item { padding: 10px 12px 10px 34px !important; border-radius: 9px; color: #f5f3f8 !important; font-size: 14px; font-weight: 650; line-height: 20px; white-space: nowrap; }
.portal-archive__controls .mt-slct .selecter-item.selected:before { left: 5px; color: #ffb000; }
.portal-archive__controls .mt-slct .selecter-item:hover, .portal-archive__controls .mt-slct .selecter-item.selected { background: rgba(255,176,0,.16) !important; color: #fff !important; }
.portal-archive__grid { margin: 0; }
.portal-category-intro { max-width: none; margin: 0 0 24px; color: #c4bfcc; }
.portal-category-intro > p { max-width: 980px; margin: 0 0 20px; font-size: 16px; line-height: 1.65; }
.portal-category-guide #category-definition + p { max-width:980px; }
.portal-category-guide #category-definition ~ .portal-category-hero-image { max-width:1120px; margin:20px 0 24px; }
.portal-archive .game-description, .portal-archive .archive-description { margin: -8px 0 18px; color: #aeb1c0; }
.portal-archive__empty { padding: 64px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #15131b; color: #fff; text-align: center; }
.portal-archive__empty h1 { margin: 0 0 8px; font-size: 24px; }
.portal-archive__empty p { margin: 0; color: #aeb1c0; }
.portal-archive .wp-pagenavi, .portal-archive .pagination { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 28px 0 0; color: #ff9d00; font-size: 14px; text-align: right; }
.portal-archive .wp-pagenavi a, .portal-archive .wp-pagenavi span { min-width: 34px; height: 34px; margin: 0 !important; padding: 0 8px !important; border: 1px solid transparent !important; border-radius: 50% !important; background: transparent !important; color: #ff9d00 !important; font-size: 14px; line-height: 32px !important; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.portal-archive .wp-pagenavi .pages { width: auto; min-width: 0; padding: 0 8px 0 0 !important; color: #ffb54c !important; font-weight: 750; }
.portal-archive .wp-pagenavi a:hover { border-color: rgba(255,157,0,.45) !important; background: rgba(255,157,0,.16) !important; color: #ffc05a !important; transform: translateY(-1px); }
.portal-archive .wp-pagenavi span.current { border-color: #ff9d00 !important; background: #ff9d00 !important; color: #261607 !important; }
.portal-archive .wp-pagenavi a[class$="link"], .portal-archive .wp-pagenavi a.prev, .portal-archive .wp-pagenavi a.next { color: #ff9d00 !important; }
.portal-category-info { position: relative; margin-top: 34px; padding: 26px 30px 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: linear-gradient(125deg,rgba(255,145,0,.075),rgba(21,19,27,.98) 34%,rgba(20,24,35,.98)); color: #f8f6fb; box-shadow: 0 16px 38px rgba(0,0,0,.14); }
.portal-category-info:after { position: absolute; right: -80px; bottom: -130px; width: 280px; height: 280px; border: 1px solid rgba(255,157,0,.18); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,157,0,.035),0 0 0 70px rgba(255,157,0,.02); content: ""; pointer-events: none; }
.portal-category-info__header { display: flex; position: relative; z-index: 1; width:100%; align-items: center; gap: 18px; padding-bottom: 15px; margin-bottom: 17px; border-bottom: 1px solid rgba(255,255,255,.11); }
.portal-category-info__header h2 { margin: 0; color: #fff; font-size: clamp(20px,2vw,25px); font-weight: 850; letter-spacing: .01em; }
.portal-category-info__header .portal-category-info__term { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; margin-left:auto; padding: 6px 13px; border: 1px solid rgba(255,157,0,.35); border-radius: 999px; background: rgba(255,157,0,.1); color: #ffb33b; font-size: 12px; font-weight: 800; line-height:1.4; transition:border-color .2s ease,background .2s ease,color .2s ease,transform .2s ease; }
.portal-category-info__header a.portal-category-info__term:hover,.portal-category-info__header a.portal-category-info__term:focus-visible { border-color:#ff9d00; background:#ff9d00; color:#261607; transform:translateY(-1px); }
.portal-category-info__content { position: relative; z-index: 1; max-width: 1050px; color: #c4bfcc; font-size: 15px; line-height: 1.75; }
.portal-category-info__content > :first-child { margin-top: 0; }
.portal-category-info__content > :last-child { margin-bottom: 0; }
.portal-category-info__content h2, .portal-category-info__content h3 { margin: 24px 0 8px; color: #fff; }
.portal-category-info__content a { color: #ffad24; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.portal-category-info__content ul, .portal-category-info__content ol { padding-left: 22px; }
.portal-category-guide .portal-category-info__content { max-width: 1120px; }
.portal-category-guide section { scroll-margin-top: 100px; }
.portal-category-reviewed { display: inline-block; margin: 0 0 18px; padding: 7px 10px; border: 1px solid rgba(255,157,0,.24); border-radius: 8px; background: rgba(255,157,0,.07); color: #d8d2de; font-size: 13px; }
.portal-category-hero-image { margin: 0 0 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #100c19; box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.portal-category-hero-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.portal-category-hero-image figcaption { padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.1); color: #bcb5c5; font-size: 13px; line-height: 1.55; }
.portal-category-hook { max-width: 900px; margin: 0 0 22px; color: #f0ebf4; font-size: clamp(17px,1.7vw,20px); line-height: 1.65; }
.portal-category-table-wrap { max-width: 100%; margin: 14px 0 18px; overflow-x: auto; border: 1px solid rgba(255,255,255,.11); border-radius: 12px; }
.portal-category-table { width: 100%; min-width: 620px; border-collapse: collapse; background: rgba(0,0,0,.12); color: inherit; }
.portal-category-table th, .portal-category-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.09); text-align: left; vertical-align: top; }
.portal-category-table thead th { background: rgba(255,157,0,.1); color: #fff; font-size: 13px; letter-spacing: .02em; }
.portal-category-table tbody th { width: 25%; color: #f5f1f7; font-weight: 750; }
.portal-category-table tbody tr:last-child th, .portal-category-table tbody tr:last-child td { border-bottom: 0; }
.portal-category-faq { margin-top: 28px; }
.portal-category-faq > h3 { margin-bottom: 12px; }
.portal-category-faq article { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.1); }
.portal-category-faq h3, .portal-category-faq h4 { margin: 0 0 5px; color: #f8f6fb; font-size: 16px; line-height: 1.4; }
.portal-category-faq p, .portal-category-related, .portal-category-editorial { margin: 0; }
.portal-category-editorial { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.portal-category-random { display:flex; width:100%; justify-content:center; margin:30px 0 4px; padding:0 16px; }
.portal-category-random__button { display:inline-flex; width:min(100%,400px); min-height:68px; align-items:center; justify-content:center; gap:17px; padding:14px 30px; border:2px solid #f4f1f7; border-radius:999px; background:#0d0c12; color:#f8f6fb; box-shadow:0 12px 30px rgba(0,0,0,.25); font-size:clamp(18px,2vw,24px); font-weight:850; line-height:1.1; text-align:center; transition:border-color .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease; }
.portal-category-random__button:hover,.portal-category-random__button:focus-visible { border-color:#ff8a00; background:#17131a; color:#fff; box-shadow:0 14px 34px rgba(255,138,0,.18); transform:translateY(-2px); }
.portal-category-random__button:focus-visible { outline:3px solid rgba(255,176,0,.38); outline-offset:4px; }
.portal-category-random__icon { display:inline-grid; width:31px; height:31px; flex:0 0 31px; place-items:center; color:#ff3e62; transform:rotate(10deg); }
.portal-category-random__icon .portal-iconify { width:29px; height:29px; }
.portal-category-random__button:hover .portal-category-random__icon { color:#ff8a00; }
.portal-tag-intro { margin:24px 0 18px; }
.portal-tag-guide { margin-top:34px; }
.portal-tag-guide > section { padding-top:8px; }
.portal-tag-guide > section + section { margin-top:28px; padding-top:26px; border-top:1px solid rgba(255,255,255,.09); }
.portal-tag-guide h2 { scroll-margin-top:100px; }
.portal-tag-guide h3 { margin:22px 0 7px; color:#f5f2f8; font-size:1.08em; }
.portal-tag-guide ul { margin:14px 0 0; padding-left:22px; }
.portal-tag-guide li + li { margin-top:8px; }
.portal-tag-hero-image { margin:24px 0 22px; }
.portal-tag-hero-image img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.portal-tag-hero-image figcaption { padding-top:9px; color:#aaa5b2; font-size:.88rem; }
.portal-light .portal-tag-guide > section + section { border-top-color:rgba(30,26,36,.12); }
.portal-light .portal-tag-guide h3 { color:#28232e; }
.portal-light .portal-tag-hero-image figcaption { color:#65606b; }
.portal-light .portal-archive__header { border-bottom-color: rgba(38,35,47,.16); }
.portal-light .portal-category-banner { border-color: rgba(38,35,47,.14); }
.portal-light .portal-archive__heading, .portal-light .portal-archive__heading h1, .portal-light .portal-archive__heading .archive-title { color: #24212c; }
.portal-light .portal-archive__controls { color: #696373; }
.portal-light .portal-archive__controls select { border-color: rgba(38,35,47,.18); background-color: #fff; color: #24212c; }
.portal-light .portal-archive__controls .mt-slct .selecter-selected { border-color: rgba(38,35,47,.18) !important; background: #fff !important; color: #24212c !important; }
.portal-light .portal-archive__controls .mt-slct.focus .selecter-selected, .portal-light .portal-archive__controls .mt-slct .selecter-selected:hover { background: #fffaf0 !important; }
.portal-light .portal-archive__controls .mt-slct .selecter-options { border-color: rgba(38,35,47,.14) !important; background: #fff !important; box-shadow: 0 16px 32px rgba(38,35,47,.14) !important; }
.portal-light .portal-archive__controls .mt-slct .selecter-item { color: #302b39 !important; }
.portal-light .portal-archive__controls .mt-slct .selecter-item:hover, .portal-light .portal-archive__controls .mt-slct .selecter-item.selected { color: #24212c !important; }
.portal-light .portal-archive__empty { border-color: rgba(38,35,47,.15); background: #fff; color: #24212c; }
.portal-light .portal-archive__empty p, .portal-light .portal-archive .game-description, .portal-light .portal-archive .archive-description { color: #696373; }
.portal-light .portal-archive .wp-pagenavi a { color: #d87800 !important; }
.portal-light .portal-archive .wp-pagenavi .pages { color: #a85c00 !important; }
.portal-light .portal-archive .wp-pagenavi span.current { border-color: #f78b00 !important; background: #f78b00 !important; color: #fff !important; }
.portal-light .portal-category-info { border-color: rgba(38,35,47,.14); background: linear-gradient(125deg,rgba(255,145,0,.075),#fff 36%,#f9f7fb); color: #24212c; box-shadow: 0 14px 34px rgba(38,35,47,.08); }
.portal-light .portal-category-info__header { border-bottom-color: rgba(38,35,47,.12); }
.portal-light .portal-category-info__header h2, .portal-light .portal-category-info__content h2, .portal-light .portal-category-info__content h3 { color: #24212c; }
.portal-light .portal-category-info__content { color: #625d69; }
.portal-light .portal-category-intro { color: #625d69; }
.portal-light .portal-category-reviewed { border-color: rgba(216,120,0,.25); background: rgba(255,157,0,.08); color: #625d69; }
.portal-light .portal-category-hero-image { border-color: rgba(38,35,47,.14); background: #fff; box-shadow: 0 12px 28px rgba(38,35,47,.1); }
.portal-light .portal-category-hero-image figcaption { border-top-color: rgba(38,35,47,.1); color: #625d69; }
.portal-light .portal-category-hook, .portal-light .portal-category-faq h3, .portal-light .portal-category-faq h4, .portal-light .portal-category-table tbody th { color: #24212c; }
.portal-light .portal-category-table-wrap { border-color: rgba(38,35,47,.14); }
.portal-light .portal-category-table { background: rgba(38,35,47,.025); }
.portal-light .portal-category-table th, .portal-light .portal-category-table td { border-bottom-color: rgba(38,35,47,.1); }
.portal-light .portal-category-table thead th { background: rgba(255,157,0,.1); color: #24212c; }
.portal-light .portal-category-faq article, .portal-light .portal-category-editorial { border-top-color: rgba(38,35,47,.12); }
.portal-light .portal-category-random__button { border-color:#2f2a36; background:#fff; color:#24212c; box-shadow:0 12px 28px rgba(38,35,47,.1); }
.portal-light .portal-category-random__button:hover,.portal-light .portal-category-random__button:focus-visible { border-color:#f78b00; background:#fffaf0; color:#24212c; }
@media (max-width:700px) { .portal-archive-page { padding: 20px 12px 42px; } .portal-archive-page .portal-archive-page__content { width: calc(100% - 24px) !important; } .portal-category-banner { min-height: 180px; border-radius: 16px; } .portal-category-banner__content { min-height: 180px; padding: 24px; } .portal-category-banner__description { display: none; } .portal-archive__header { align-items: flex-start; flex-direction: column; gap: 13px; } .portal-archive__header--controls-only { align-items: flex-end; } .portal-archive__controls { width: 100%; } .portal-archive__controls select { flex: 1; } .portal-category-info { padding: 22px 20px; border-radius: 15px; } .portal-category-info__header { align-items:center; flex-direction:row; gap:9px; } .portal-category-info__header h2 { min-width:0; } .portal-category-info__header .portal-category-info__term { margin-left:auto; } .portal-category-table { min-width: 560px; } .portal-category-random { margin-top:24px; padding:0; } .portal-category-random__button { width:min(100%,340px); min-height:58px; gap:12px; padding:12px 22px; font-size:18px; } .portal-category-random__icon { width:27px; height:27px; flex-basis:27px; } .portal-category-random__icon .portal-iconify { width:25px; height:25px; } }
