:root {
    --ak-bg: #f7f7f2;
    --ak-surface: #ffffff;
    --ak-ink: #121a18;
    --ak-muted: #52605b;
    --ak-line: #d2dcd6;
    --ak-accent: #167c64;
    --ak-accent-dark: #0d5847;
    --ak-warm: #f2b84b;
    --ak-night: #11231f;
    --ak-radius: 22px;
    --ak-shadow: 0 18px 50px rgba(26, 45, 39, .09);
    --ak-header-bg: rgba(247, 247, 242, .9);
    --ak-panel-soft: rgba(255, 255, 255, .58);
    --ak-poster-bg: #dfe7e2;
    --ak-poster-placeholder: linear-gradient(145deg, #dce8e2, #f2ead8);
    --ak-hero-bg: radial-gradient(circle at 82% 20%, rgba(242, 184, 75, .34), transparent 24%), radial-gradient(circle at 68% 78%, rgba(22, 124, 100, .18), transparent 28%), linear-gradient(135deg, #f9f7ee 0%, #edf5f0 100%);
    --ak-page-hero-bg: linear-gradient(140deg, #eef5f0, #faf6ea);
    --ak-article-text: #2a3531;
    --ak-resource-bg: #f3f8f5;
    --ak-copy-bg: #e6f0ec;
    --ak-card-meta: #596762;
    --ak-danger: #b24758;
    --ak-danger-soft: #fff0f2;
}

html[data-ak-theme="light"] { color-scheme: light; }

html[data-ak-theme="dark"] {
    color-scheme: dark;
    --ak-bg: #0d1412;
    --ak-surface: #151f1c;
    --ak-ink: #edf4f1;
    --ak-muted: #b5c2bd;
    --ak-line: #344640;
    --ak-accent: #4bbd98;
    --ak-accent-dark: #78d3b3;
    --ak-warm: #e9b34b;
    --ak-night: #08100e;
    --ak-shadow: 0 18px 55px rgba(0, 0, 0, .28);
    --ak-header-bg: rgba(13, 20, 18, .9);
    --ak-panel-soft: rgba(21, 31, 28, .74);
    --ak-poster-bg: #1d2a26;
    --ak-poster-placeholder: linear-gradient(145deg, #1b2c27, #332f24);
    --ak-hero-bg: radial-gradient(circle at 82% 20%, rgba(233, 179, 75, .18), transparent 24%), radial-gradient(circle at 68% 78%, rgba(75, 189, 152, .14), transparent 28%), linear-gradient(135deg, #101714 0%, #14231e 100%);
    --ak-page-hero-bg: linear-gradient(140deg, #13221d, #201e17);
    --ak-article-text: #dce5e1;
    --ak-resource-bg: #111c18;
    --ak-copy-bg: #20352e;
    --ak-card-meta: #a8b6b1;
    --ak-danger: #ff9aa4;
    --ak-danger-soft: #2d1c20;
}

html {
    scroll-behavior: smooth;
}

body.ak-body {
    margin: 0;
    color: var(--ak-ink);
    background: var(--ak-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    transition: color .25s ease, background-color .25s ease;
}

.ak-body *,
.ak-body *::before,
.ak-body *::after {
    box-sizing: border-box;
}

.ak-body img {
    max-width: 100%;
}

.ak-body a {
    color: inherit;
    text-decoration: none;
}

.ak-body a:focus-visible,
.ak-body button:focus-visible,
.ak-body input:focus-visible,
.ak-body textarea:focus-visible {
    outline: 3px solid rgba(22, 124, 100, .28);
    outline-offset: 3px;
}

.ak-body .container {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    padding: 0;
    margin-right: auto;
    margin-left: auto;
}

.ak-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 10px 14px;
    color: #fff !important;
    background: var(--ak-accent);
    border-radius: 10px;
    transform: translateY(-160%);
}

.ak-skip-link:focus {
    transform: translateY(0);
}

.ak-site-shell,
.ak-body .site-main {
    min-height: 100vh;
    padding-top: 0 !important;
    background: var(--ak-bg);
}

.ak-top-bar,
.ak-body .top-bar {
    position: relative;
    z-index: 100;
    width: 100%;
    min-height: 78px;
    padding: 0;
    background: transparent;
    box-shadow: none !important;
}

/* Bootstrap 3 adds clearfix pseudo-elements to .container. They become real
   grid/flex items in the new layout unless explicitly disabled. */
.ak-header-inner::before,
.ak-header-inner::after,
.ak-hero-inner::before,
.ak-hero-inner::after,
.ak-category-strip::before,
.ak-category-strip::after,
.ak-footer-inner::before,
.ak-footer-inner::after {
    display: none;
    content: none;
}

.ak-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(18, 26, 24, .08);
    background: var(--ak-header-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.ak-header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 78px;
    gap: 28px;
}

.ak-brand { grid-column: 1; }
.ak-nav { grid-column: 2; }

.ak-header-actions {
    display: flex;
    grid-column: 3;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.ak-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.ak-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--ak-accent);
    border-radius: 14px 14px 14px 4px;
    place-items: center;
    font-size: 21px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(22, 124, 100, .22);
}

.ak-brand-mark-image {
    width: 58px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    box-shadow: 0 10px 22px rgba(22, 40, 35, .12);
}

.ak-brand-mark-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ak-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ak-brand-copy strong {
    font-size: 17px;
    letter-spacing: .04em;
}

.ak-brand-copy small {
    margin-top: 4px;
    color: var(--ak-muted);
    font-size: 11px;
}

.ak-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ak-nav a {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    transition: color .2s ease, background-color .2s ease;
}

.ak-nav a:hover {
    color: var(--ak-accent-dark);
    background: rgba(22, 124, 100, .09);
}

.ak-header-search {
    display: flex;
    width: 220px;
    height: 44px;
    padding: 4px;
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    border-radius: 14px;
}

.ak-header-search input {
    min-width: 0;
    width: 100%;
    padding: 7px 8px;
    border: 0;
    outline: 0;
    color: var(--ak-ink);
    background: transparent;
    font-size: 13px;
}

.ak-header-search button {
    padding: 7px 12px;
    border: 0;
    color: #fff;
    background: var(--ak-night);
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
}

.ak-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    border-radius: 12px;
}

.ak-theme-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--ak-line);
    color: var(--ak-ink);
    background: var(--ak-surface);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(22, 40, 35, .06);
    place-items: center;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.ak-theme-toggle:hover { color: var(--ak-accent); transform: translateY(-1px); }
.ak-theme-icon { grid-area: 1 / 1; font-size: 22px; line-height: 1; }
.ak-theme-icon-sun { display: none; }
html[data-ak-theme="dark"] .ak-theme-icon-moon { display: none; }
html[data-ak-theme="dark"] .ak-theme-icon-sun { display: block; }

.ak-nav-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--ak-ink);
    border-radius: 2px;
}

.ak-main {
    overflow: hidden;
}

.ak-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 78px;
    background: var(--ak-hero-bg);
}

.ak-hero::before {
    position: absolute;
    top: -130px;
    right: -90px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(22, 124, 100, .15);
    border-radius: 50%;
    content: "";
}

.ak-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .7fr);
    align-items: center;
    gap: 70px;
}

.ak-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--ak-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
}

.ak-hero h1,
.ak-page-hero h1 {
    margin: 0;
    color: var(--ak-ink);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.08;
    letter-spacing: -.055em;
    font-weight: 800;
}

.ak-hero-copy > p {
    max-width: 690px;
    margin: 25px 0 30px;
    color: var(--ak-muted);
    font-size: 18px;
}

.ak-hero-search {
    display: flex;
    max-width: 650px;
    padding: 7px;
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 18px;
    box-shadow: var(--ak-shadow);
}

.ak-hero-search input {
    flex: 1;
    min-width: 0;
    padding: 13px 15px;
    border: 0;
    outline: 0;
    color: var(--ak-ink);
    background: transparent;
    font-size: 15px;
}

.ak-hero-search button {
    padding: 13px 22px;
    border: 0;
    color: #fff;
    background: var(--ak-accent);
    border-radius: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
}

.ak-hero-search button:hover {
    background: var(--ak-accent-dark);
    transform: translateY(-1px);
}

.ak-hero-panel {
    position: relative;
    display: flex;
    min-height: 280px;
    padding: 36px;
    overflow: hidden;
    color: #fff;
    background: var(--ak-night);
    border-radius: 34px 34px 34px 8px;
    box-shadow: 0 30px 70px rgba(17, 35, 31, .2);
    flex-direction: column;
    justify-content: flex-end;
}

.ak-hero-panel strong {
    position: relative;
    z-index: 2;
    font-size: clamp(46px, 7vw, 72px);
    line-height: 1;
    letter-spacing: -.05em;
}

.ak-hero-panel > span {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    color: rgba(255, 255, 255, .82);
}

.ak-hero-orbit,
.ak-hero-orbit i {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
}

.ak-hero-orbit {
    top: -55px;
    right: -55px;
    width: 220px;
    height: 220px;
    animation: ak-spin 24s linear infinite;
}

.ak-hero-orbit i:nth-child(1) { inset: 28px; }
.ak-hero-orbit i:nth-child(2) { inset: 62px; }
.ak-hero-orbit i:nth-child(3) {
    top: 50%;
    left: -5px;
    width: 12px;
    height: 12px;
    border: 0;
    background: var(--ak-warm);
}

.ak-category-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 22px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.ak-category-strip::-webkit-scrollbar { display: none; }

.ak-category-strip a {
    padding: 8px 15px;
    border: 1px solid var(--ak-line);
    background: var(--ak-panel-soft);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 650;
    white-space: nowrap;
    transition: .2s ease;
}

.ak-category-strip a:hover,
.ak-category-strip a.active {
    color: #fff;
    border-color: var(--ak-accent);
    background: var(--ak-accent);
}

.ak-section {
    padding-top: 52px;
    padding-bottom: 86px;
}

.ak-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.ak-section-heading .ak-eyebrow { margin-bottom: 7px; }

.ak-section-heading h2,
.ak-seo-copy h2,
.ak-resource-heading h2 {
    margin: 0;
    color: var(--ak-ink);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -.035em;
}

.ak-section-heading > p,
.ak-resource-heading > p {
    margin: 0;
    color: var(--ak-muted);
    font-size: 14px;
}

.ak-movie-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px 18px;
}

.ak-movie-card {
    min-width: 0;
}

.ak-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: var(--ak-poster-bg);
    border-radius: var(--ak-radius);
    box-shadow: 0 10px 28px rgba(22, 40, 35, .08);
}

.ak-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.ak-poster::after {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(9, 17, 15, .5));
    content: "";
    pointer-events: none;
}

.ak-movie-card:hover .ak-poster img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.ak-poster-placeholder {
    display: grid;
    height: 100%;
    color: rgba(17, 35, 31, .25);
    background: var(--ak-poster-placeholder);
    place-items: center;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: .16em;
}

.ak-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 9px;
    color: #fff;
    background: rgba(10, 22, 18, .72);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.ak-resource-state {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    gap: 5px;
}

.ak-resource-state i {
    padding: 4px 7px;
    color: var(--ak-night);
    background: rgba(255, 255, 255, .9);
    border-radius: 7px;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}

.ak-card-body { padding: 13px 3px 0; }

.ak-card-body h3 {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 750;
}

.ak-card-body h3 a {
    display: -webkit-box;
    min-height: 46px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ak-card-body h3 a:hover { color: var(--ak-accent); }

.ak-card-body > p {
    display: -webkit-box;
    margin: 7px 0 0;
    overflow: hidden;
    color: var(--ak-muted);
    font-size: 12px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ak-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
    color: var(--ak-card-meta);
    font-size: 11px;
}

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

.ak-search-grid .ak-movie-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 280px;
    overflow: hidden;
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    border-radius: var(--ak-radius);
    box-shadow: var(--ak-shadow);
}

.ak-search-grid .ak-poster {
    height: 100%;
    min-height: 280px;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
}

.ak-search-grid .ak-card-body {
    display: flex;
    min-width: 0;
    padding: 24px;
    flex-direction: column;
}

.ak-search-grid .ak-card-body h3 a {
    min-height: 0;
    -webkit-line-clamp: 3;
}

.ak-search-grid .ak-card-body > p {
    margin-top: 12px;
    font-size: 13px;
    -webkit-line-clamp: 4;
}

.ak-search-grid .ak-card-meta {
    padding-top: 18px;
    margin-top: auto;
}

.ak-search-highlight {
    padding: 0 .08em;
    color: var(--ak-accent-dark);
    background: transparent;
    font-weight: inherit;
}

.ak-pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.ak-pagination a {
    display: grid;
    min-width: 40px;
    height: 40px;
    padding: 0 13px;
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    border-radius: 11px;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
}

.ak-pagination a:hover,
.ak-pagination a.current {
    color: #fff;
    border-color: var(--ak-accent);
    background: var(--ak-accent);
}

.ak-featured-section {
    padding: 78px 0;
    color: #fff;
    background: var(--ak-night);
}

.ak-section-heading.light h2,
.ak-section-heading.light .ak-eyebrow { color: #fff; }
.ak-section-heading.light > p { color: rgba(255, 255, 255, .78); }

.ak-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: rgba(255, 255, 255, .12);
}

.ak-featured-grid > a {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    min-height: 102px;
    padding: 20px 24px;
    gap: 16px;
    background: var(--ak-night);
    transition: background-color .2s ease;
}

.ak-featured-grid > a:hover { background: #18352e; }
.ak-featured-grid > a > span { color: var(--ak-warm); font-weight: 800; }
.ak-featured-grid strong { display: block; font-size: 15px; }
.ak-featured-grid small { display: block; margin-top: 5px; color: rgba(255, 255, 255, .74); }
.ak-featured-grid > a > i { font-size: 20px; font-style: normal; }

.ak-seo-copy {
    max-width: 780px;
    padding-top: 82px;
    padding-bottom: 90px;
    text-align: center;
}

.ak-seo-copy p {
    margin: 20px auto 0;
    color: var(--ak-muted);
}

.ak-page-hero {
    padding: 66px 0 50px;
    background: var(--ak-page-hero-bg);
}

.ak-page-hero.compact { padding-bottom: 58px; }
.ak-page-hero h1 { font-size: clamp(38px, 6vw, 64px); }
.ak-page-hero p { max-width: 680px; margin: 18px 0 0; color: var(--ak-muted); }

.ak-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--ak-muted);
    font-size: 13px;
}

.ak-breadcrumb a:hover { color: var(--ak-accent); }

.ak-empty {
    padding: 80px 30px;
    border: 1px dashed #cbd4cf;
    background: var(--ak-panel-soft);
    border-radius: var(--ak-radius);
    text-align: center;
}

.ak-empty strong { display: block; font-size: 24px; }
.ak-empty p { color: var(--ak-muted); }
.ak-empty a { display: inline-block; padding: 10px 18px; color: #fff; background: var(--ak-accent); border-radius: 11px; }

.ak-article-empty {
    margin: 22px 0;
    padding: 46px 24px;
}

.ak-article-copy {
    color: var(--ak-article-text);
    line-height: 1.9;
}

/* Existing detail and utility pages receive the same visual system without changing their behavior. */
.ak-body #main.site-main {
    padding-top: 50px;
    padding-bottom: 70px;
}

.ak-body #main.site-main > .row {
    margin: 0;
}

.ak-body .col-md-9.contpost {
    width: 100%;
    max-width: 920px;
    padding: 0;
    margin: 0 auto;
    float: none;
}

.ak-body #secondary,
.ak-body .widget-area {
    display: none !important;
}

.ak-body article.post {
    padding: clamp(24px, 5vw, 58px);
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    border-radius: 28px;
    box-shadow: var(--ak-shadow);
}

.ak-body article.post .page-header {
    padding: 0 0 30px;
    margin: 0 0 32px;
    border-bottom: 1px solid var(--ak-line);
}

.ak-body article.post .entry-title {
    margin: 18px 0;
    color: var(--ak-ink);
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.18;
    letter-spacing: -.04em;
}

.ak-body .entry-meta,
.ak-body .contpost-meta {
    color: var(--ak-muted);
    font-size: 13px;
}

.ak-body .entry-meta a,
.ak-body .contpost-meta a,
.ak-body .widget-posts-meta,
.ak-body .Copyrightnew {
    color: var(--ak-muted) !important;
}

.ak-body .entry-meta a:hover,
.ak-body .contpost-meta a:hover {
    color: var(--ak-accent) !important;
}

.ak-body .filtea ul,
.ak-body .filtea ol,
.ak-body .filtea div { max-width: 100%; }

.ak-body .filtea span { overflow-wrap: anywhere; }

.ak-body .border-theme { display: none; }

.ak-body .filtea,
.ak-body .entry-content {
    color: var(--ak-article-text);
    font-size: 17px;
    line-height: 1.9;
}

.ak-body .filtea img,
.ak-body .entry-content img {
    height: auto;
    border-radius: 16px;
}

.ak-resource-section {
    margin: 42px 0 26px;
    padding: 26px;
    border: 1px solid var(--ak-line);
    background: var(--ak-resource-bg);
    border-radius: 22px;
}

.ak-resource-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.ak-resource-heading h2 { font-size: 26px; }
.ak-resource-heading .ak-eyebrow { margin-bottom: 5px; }
.ak-resource-heading > p { max-width: 360px; text-align: right; }

.ak-resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ak-resource-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 16px;
    gap: 12px;
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    border-radius: 16px;
}

.ak-resource-icon {
    display: grid;
    width: 42px;
    height: 42px;
    color: #fff;
    background: var(--ak-accent);
    border-radius: 13px;
    place-items: center;
    font-weight: 900;
}

.ak-resource-card.baidu .ak-resource-icon { background: #3567e9; }
.ak-resource-card strong,
.ak-resource-card small { display: block; }
.ak-resource-card small { margin-top: 3px; color: var(--ak-muted); font-size: 11px; }

.ak-resource-card > a,
.ak-resource-card > button {
    padding: 8px 11px;
    border: 0;
    color: #fff;
    background: var(--ak-night);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.ak-resource-card > button {
    grid-column: 2 / 4;
    justify-self: start;
    color: var(--ak-accent-dark);
    background: var(--ak-copy-bg);
}

.ak-resource-note { margin: 15px 0 0 !important; color: var(--ak-muted); font-size: 12px; }

.ak-feedback-panel {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin: 26px 0 34px;
    padding: 22px 24px;
    gap: 17px;
    overflow: hidden;
    border: 1px solid var(--ak-line);
    background: linear-gradient(135deg, var(--ak-surface), var(--ak-resource-bg));
    border-radius: 20px;
}

.ak-feedback-panel::after {
    position: absolute;
    top: -62px;
    right: 120px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(22, 124, 100, .14);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.ak-feedback-panel-icon,
.ak-feedback-dialog-icon {
    display: grid;
    width: 48px;
    height: 48px;
    color: var(--ak-accent-dark);
    background: var(--ak-copy-bg);
    border-radius: 15px 15px 15px 5px;
    place-items: center;
    font-size: 22px;
    font-weight: 900;
}

.ak-feedback-panel-copy { position: relative; z-index: 1; min-width: 0; }
.ak-feedback-panel-copy .ak-eyebrow { margin-bottom: 3px; }
.ak-feedback-panel-copy h2 { margin: 0; color: var(--ak-ink); font-size: 21px; line-height: 1.35; }
.ak-feedback-panel-copy p { margin: 4px 0 0 !important; color: var(--ak-muted); font-size: 13px; line-height: 1.65; }

.ak-feedback-open,
.ak-feedback-submit,
.ak-feedback-cancel {
    position: relative;
    z-index: 1;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ak-feedback-open,
.ak-feedback-submit {
    color: #fff;
    background: var(--ak-accent);
    box-shadow: 0 10px 24px rgba(22, 124, 100, .2);
}

.ak-feedback-open:hover,
.ak-feedback-submit:hover:not(:disabled) { background: var(--ak-accent-dark); transform: translateY(-2px); }
.ak-feedback-submit:disabled { opacity: .7; cursor: wait; }

.ak-feedback-modal[hidden] { display: none !important; }
.ak-modal-open { overflow: hidden; }

.ak-feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    place-items: center;
    transition: opacity .24s ease;
}

.ak-feedback-modal.is-open { opacity: 1; pointer-events: auto; }

.ak-feedback-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 12, 10, .68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ak-feedback-dialog {
    position: relative;
    width: min(820px, 100%);
    max-height: min(820px, calc(100vh - 48px));
    padding: clamp(22px, 3vw, 30px);
    overflow: auto;
    color: var(--ak-ink);
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
    outline: 0;
    transform: translateY(20px) scale(.97);
    transition: transform .28s cubic-bezier(.2, .75, .2, 1);
}

.ak-feedback-modal.is-open .ak-feedback-dialog { transform: translateY(0) scale(1); }

.ak-feedback-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--ak-line);
    color: var(--ak-muted);
    background: var(--ak-resource-bg);
    border-radius: 12px;
    place-items: center;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.ak-feedback-close:hover { color: var(--ak-ink); border-color: var(--ak-accent); }

.ak-feedback-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    padding-right: 32px;
    gap: 16px;
}

.ak-feedback-header .ak-eyebrow { margin: 1px 0 5px; }
.ak-feedback-header h2 { margin: 0; color: var(--ak-ink); font-size: clamp(24px, 4vw, 32px); line-height: 1.25; letter-spacing: -.025em; }
.ak-feedback-header p { margin: 8px 0 0; color: var(--ak-muted); font-size: 13px; line-height: 1.65; }
.ak-feedback-form { margin-top: 20px; }
.ak-feedback-form fieldset { padding: 0; margin: 0; border: 0; }
.ak-feedback-form legend { margin-bottom: 10px; color: var(--ak-ink); font-size: 13px; font-weight: 800; }

.ak-feedback-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ak-feedback-option {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    min-height: 70px;
    padding: 11px 12px;
    gap: 11px;
    border: 1px solid var(--ak-line);
    background: var(--ak-resource-bg);
    border-radius: 15px;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ak-feedback-option:hover { border-color: var(--ak-accent); transform: translateY(-1px); }
.ak-feedback-option.is-selected { border-color: var(--ak-accent); background: var(--ak-copy-bg); box-shadow: inset 0 0 0 1px var(--ak-accent); }

.ak-feedback-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ak-feedback-option-mark {
    display: grid;
    width: 35px;
    height: 35px;
    color: var(--ak-accent-dark);
    background: var(--ak-surface);
    border: 1px solid var(--ak-line);
    border-radius: 11px;
    place-items: center;
    font-size: 16px;
    font-weight: 900;
}

.ak-feedback-option input:focus-visible + .ak-feedback-option-mark { outline: 3px solid rgba(22, 124, 100, .28); outline-offset: 3px; }
.ak-feedback-option-copy strong,
.ak-feedback-option-copy small { display: block; }
.ak-feedback-option-copy strong { color: var(--ak-ink); font-size: 14px; }
.ak-feedback-option-copy small { margin-top: 2px; color: var(--ak-muted); font-size: 11px; line-height: 1.45; }

.ak-feedback-description { display: block; margin-top: 18px; }
.ak-feedback-description > span { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--ak-ink); font-size: 13px; font-weight: 800; }
.ak-feedback-description > span small { color: var(--ak-muted); font-weight: 500; }
.ak-feedback-description textarea {
    display: block;
    width: 100%;
    height: 86px;
    min-height: 86px;
    max-height: 160px;
    padding: 12px 14px;
    resize: vertical;
    outline: 0;
    font: inherit;
    font-size: 14px;
}
.ak-feedback-description textarea[aria-invalid="true"] { border-color: var(--ak-danger); box-shadow: 0 0 0 3px var(--ak-danger-soft); }

.ak-feedback-status { min-height: 24px; margin: 10px 0 0 !important; color: var(--ak-muted); font-size: 13px; }
.ak-feedback-status.is-error { color: var(--ak-danger); }
.ak-feedback-status.is-success { color: var(--ak-accent-dark); font-weight: 700; }
.ak-feedback-status.is-pending::before { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border: 2px solid var(--ak-line); border-top-color: var(--ak-accent); border-radius: 50%; content: ""; vertical-align: -2px; animation: ak-spin .7s linear infinite; }

.ak-feedback-actions { display: flex; justify-content: flex-end; margin-top: 14px; gap: 10px; }
.ak-feedback-cancel { color: var(--ak-ink); border-color: var(--ak-line); background: var(--ak-resource-bg); box-shadow: none; }
.ak-feedback-cancel:hover { border-color: var(--ak-accent); transform: translateY(-1px); }

.ak-feedback-modal.is-open .ak-feedback-option { animation: ak-feedback-in .38s both; }
.ak-feedback-modal.is-open .ak-feedback-option:nth-child(2) { animation-delay: .035s; }
.ak-feedback-modal.is-open .ak-feedback-option:nth-child(3) { animation-delay: .07s; }
.ak-feedback-modal.is-open .ak-feedback-option:nth-child(4) { animation-delay: .105s; }
.ak-feedback-modal.is-open .ak-feedback-option:nth-child(5) { animation-delay: .14s; }

#report-btn { color: var(--ak-ink); }
#report-btn:hover { color: var(--ak-accent); }

.ak-body #comments,
.ak-body .respond,
.ak-body .entry-page {
    max-width: 920px;
    padding: 24px;
    margin: 24px auto;
    border: 1px solid var(--ak-line);
    background: var(--ak-surface);
    border-radius: 20px;
}

.ak-body textarea,
.ak-body input[type="text"],
.ak-body input[type="mail"],
.ak-body input[type="email"] {
    max-width: 100%;
    border: 1px solid var(--ak-line);
    color: var(--ak-ink);
    background: var(--ak-surface);
    border-radius: 10px;
}

.ak-footer {
    margin-top: 0;
    color: rgba(255, 255, 255, .84);
    background: #0e1e1a;
}

.ak-footer-inner {
    display: grid;
    grid-template-columns: 1.3fr auto;
    padding-top: 52px !important;
    padding-bottom: 48px !important;
    gap: 34px;
}

.ak-footer-brand { color: #fff !important; font-size: 22px; font-weight: 800; }
.ak-footer p { margin: 9px 0 0; font-size: 13px; }
.ak-footer nav { display: flex; align-items: start; gap: 18px; }
.ak-footer nav a:hover { color: #fff; }
.ak-footer-note { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }

.ak-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    width: 44px;
    height: 44px;
    border: 0;
    color: #fff;
    background: var(--ak-accent);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(22, 124, 100, .24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: .25s ease;
    cursor: pointer;
}

.ak-back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.ak-js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
}

.ak-js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}

@keyframes ak-spin { to { transform: rotate(360deg); } }
@keyframes ak-feedback-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1220px) {
    .ak-header-inner { grid-template-columns: auto 1fr auto auto; gap: 16px; }
    .ak-brand { grid-column: 1; grid-row: 1; }
    .ak-header-actions { grid-column: 3; grid-row: 1; }
    .ak-nav-toggle { display: block; grid-column: 4; grid-row: 1; justify-self: end; }
    .ak-nav {
        grid-column: auto;
        position: absolute;
        top: 70px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 14px;
        border: 1px solid var(--ak-line);
        background: var(--ak-surface);
        border-radius: 16px;
        box-shadow: var(--ak-shadow);
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .ak-nav.open { display: flex; }
    .ak-movie-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .ak-body .container { width: min(100% - 28px, 1180px); }
    .ak-header-inner { grid-template-columns: 1fr auto auto; min-height: 68px; gap: 10px; }
    .ak-brand { grid-column: 1; grid-row: 1; }
    .ak-header-actions { grid-column: 2; grid-row: 1; }
    .ak-brand-copy small { display: none; }
    .ak-header-search { display: none; }
    .ak-nav-toggle { grid-column: 3; grid-row: 1; }
    .ak-nav { top: 62px; right: 14px; left: 14px; }
    .ak-hero { padding: 58px 0 46px; }
    .ak-hero-inner { grid-template-columns: 1fr; gap: 34px; }
    .ak-hero h1 { font-size: clamp(39px, 12vw, 58px); }
    .ak-hero-copy > p { font-size: 16px; }
    .ak-hero-panel { min-height: 210px; padding: 26px; }
    .ak-hero-search button { padding-right: 16px; padding-left: 16px; }
    .ak-section { padding-top: 36px; padding-bottom: 60px; }
    .ak-section-heading { align-items: start; flex-direction: column; gap: 8px; }
    .ak-movie-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 11px; }
    .ak-card-body h3 { font-size: 14px; }
    .ak-card-body > p { display: none; }
    .ak-card-meta { align-items: start; flex-direction: column; gap: 1px; }
    .ak-search-grid { grid-template-columns: 1fr; gap: 18px; }
    .ak-search-grid .ak-movie-card { min-height: 250px; }
    .ak-search-grid .ak-poster { min-height: 250px; }
    .ak-search-grid .ak-card-body > p { display: -webkit-box; }
    .ak-search-grid .ak-card-meta { align-items: center; flex-direction: row; }
    .ak-featured-grid { grid-template-columns: 1fr; }
    .ak-page-hero { padding: 45px 0 34px; }
    .ak-resource-heading { align-items: start; flex-direction: column; gap: 8px; }
    .ak-resource-heading > p { text-align: left; }
    .ak-resource-grid { grid-template-columns: 1fr; }
    .ak-feedback-panel { grid-template-columns: auto 1fr; padding: 19px; }
    .ak-feedback-panel::after { right: -45px; }
    .ak-feedback-open { grid-column: 1 / -1; width: 100%; }
    .ak-feedback-modal { padding: 14px; }
    .ak-feedback-dialog { max-height: calc(100vh - 28px); border-radius: 21px; }
    .ak-feedback-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ak-footer-inner { grid-template-columns: 1fr; }
    .ak-footer-note { grid-column: auto; }
}

@media (max-width: 620px) {
    .ak-search-grid .ak-movie-card { grid-template-columns: 1fr; min-height: 0; }
    .ak-search-grid .ak-poster { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
    .ak-search-grid .ak-card-body { min-height: 205px; padding: 20px; }
    .ak-feedback-options { grid-template-columns: 1fr; }
}

@media (max-width: 470px) {
    .ak-brand-mark { width: 38px; height: 38px; }
    .ak-brand-mark-image { width: 48px; }
    .ak-movie-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ak-movie-grid.ak-search-grid { grid-template-columns: 1fr; }
    .ak-hero-search { padding: 5px; }
    .ak-hero-search input { padding: 11px 10px; font-size: 13px; }
    .ak-hero-search button { padding: 11px 12px; font-size: 13px; }
    .ak-resource-section { padding: 18px; }
    .ak-resource-card { grid-template-columns: auto 1fr; }
    .ak-resource-card > a { grid-column: 1 / -1; text-align: center; }
    .ak-resource-card > button { grid-column: 1 / -1; justify-self: stretch; }
    .ak-feedback-header { grid-template-columns: 1fr; padding-right: 24px; }
    .ak-feedback-dialog-icon { width: 42px; height: 42px; }
    .ak-feedback-actions { flex-direction: column-reverse; }
    .ak-feedback-actions button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .ak-js [data-reveal] { opacity: 1; transform: none; }
}
