.partner-section {
    padding-block: clamp(40px, 5.8vw, 74px);
    border-bottom: 1px solid #dae5f7;
    background: linear-gradient(180deg, #fff, #f6f9ff);
}
.partner-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.partner-head h2 {
    margin-bottom: 6px;
    font-size: clamp(1.65rem, 4vw, 2.55rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.1;
}
.partner-source {
    color: #2451ba;
    font-size: 13px;
    font-weight: 800;
}
.partner-source:hover { text-decoration: underline; }
.partner-controls { display: flex; flex: none; gap: 6px; }
.partner-controls button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #ccd9f2;
    border-radius: 10px;
    background: #fff;
    color: #173b93;
    font-size: 18px;
    font-weight: 800;
}
.partner-controls button:hover:not(:disabled) { background: #eaf1ff; }
.partner-controls button:disabled { opacity: .48; }
.partner-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(132px, 18vw, 180px);
    gap: 12px;
    padding: 4px 3px 12px;
    margin: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-color: #9bb4e6 #eaf0fa;
    scrollbar-width: thin;
    list-style: none;
}
.partner-list li { scroll-snap-align: start; min-width: 0; }
.partner-list a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    min-height: 112px;
    height: 100%;
    padding: 9px;
    border: 1px solid #d5e1f5;
    border-radius: 13px;
    background: #fff;
    color: #183265;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}
.partner-list a:hover { border-color: #8ca9e9; box-shadow: inset 0 0 15px #dbe8ff; }
.partner-list a:focus-visible { outline-offset: -3px; }
.partner-list img { width: 62px; height: 52px; object-fit: contain; border-radius: 5px; }

.feedback-widget {
    position: fixed;
    z-index: 12;
    inset-inline-end: max(18px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: max-content;
}
.feedback-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border: 1px solid #6e8fe1;
    border-radius: 50%;
    background: radial-gradient(circle at 45% 37%, #2b56a2, #10234d 69%);
    box-shadow: inset 0 0 0 4px #a3bcf126, 0 10px 24px #12295448;
    color: #fff;
    cursor: pointer;
    list-style: none;
    transition: box-shadow .2s, transform .2s;
}
.feedback-toggle::-webkit-details-marker { display: none; }
.feedback-toggle:hover {
    box-shadow: inset 0 0 0 4px #a3bcf153, 0 13px 25px #1229545a;
    transform: translateY(-2px);
}
.feedback-ring { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.feedback-ring text { font-size: 10.8px; font-weight: 800; letter-spacing: .85px; }
.feedback-ring-upper { fill: #f5f8ff; }
.feedback-ring-lower { fill: #ffdb90; }
.feedback-toggle img { width: 53px; height: auto; pointer-events: none; }

.feedback-panel {
    position: fixed;
    inset: 0 0 0 auto;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(100%, 450px);
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    border-inline-start: 1px solid #405a97;
    background: #101e40;
    color: #f7f9ff;
    box-shadow: -14px 0 45px #08152b5e;
    animation: feedback-slide .26s cubic-bezier(.2,.75,.3,1) both;
}
@keyframes feedback-slide {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: max(18px, env(safe-area-inset-top)) 67px 15px 19px;
    border-bottom: 1px solid #35466e;
    background: radial-gradient(ellipse at 0 0, #274a8d, #132347 76%);
}
.feedback-header h2 { font-size: clamp(1.45rem, 5.7vw, 1.85rem); line-height: 1.14; letter-spacing: -.045em; }
.feedback-header h2:focus { outline: none; }
.feedback-header p { margin-top: 4px; color: #f2ce83; font-size: 13px; font-weight: 800; }
.feedback-close-mark { display: none; }
.feedback-panel :focus-visible { outline-color: #ffcf71; }
.feedback-feed { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px; }
.feedback-empty { padding: 17px 14px; border: 1px dashed #5b73a7; border-radius: 12px; color: #dfe9ff; }
.feedback-empty strong { color: #fff; }
.feedback-empty p { margin-top: 4px; font-size: 14px; }
.feedback-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.feedback-card { padding: 11px 13px; border: 1px solid #354d81; border-radius: 12px; background: #17294e; }
.feedback-card time { display: block; margin-bottom: 6px; color: #b7c9f3; font-size: 12px; font-variant-numeric: tabular-nums; }
.feedback-body { display: block; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; unicode-bidi: isolate; font-size: 14px; line-height: 1.47; }
.feedback-expand summary { cursor: pointer; list-style: none; }
.feedback-expand summary::-webkit-details-marker { display: none; }
.feedback-more, .feedback-less { display: inline-block; color: #ffda93; font-size: 13px; font-weight: 800; }
.feedback-more { margin-top: 5px; }
.feedback-expand:not([open]) .feedback-less,
.feedback-expand[open] .feedback-more,
.feedback-expand[open] .feedback-excerpt { display: none; }
.feedback-expand[open] .feedback-body { margin-top: 5px; }
.feedback-pages { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; font-size: 13px; color: #dce6ff; }
.feedback-pages a { color: #ffda93; font-weight: 800; }
.feedback-form {
    padding: 12px 18px max(15px, env(safe-area-inset-bottom));
    border-top: 1px solid #405581;
    background: #14264c;
}
.feedback-form label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 800; }
.feedback-form textarea {
    display: block;
    width: 100%;
    min-height: 74px;
    padding: 8px 10px;
    border: 1px solid #7186b7;
    border-radius: 8px;
    background: #f6f9ff;
    color: #102555;
    font: inherit;
    font-size: 16px;
    resize: none;
}
.feedback-form p { margin-top: 6px; color: #d0dffd; font-size: 12px; }
.feedback-form .primary { min-height: 44px; margin-top: 8px; }
.feedback-form .notice { margin: 0 0 8px; }
.feedback-widget[open] > .feedback-toggle {
    position: fixed;
    z-index: 1;
    inset: max(13px, env(safe-area-inset-top)) 15px auto auto;
    width: 44px;
    height: 44px;
    border-color: #6580bd;
    border-radius: 10px;
    background: #172d60;
    box-shadow: none;
    font-size: 26px;
    line-height: 1;
}
.feedback-widget[open] > .feedback-toggle:hover { background: #26488e; transform: none; }
.feedback-widget[open] > .feedback-toggle img,
.feedback-widget[open] > .feedback-toggle .feedback-ring { display: none; }
.feedback-widget[open] > .feedback-toggle .feedback-close-mark { display: block; }
.feedback-widget[open] > .feedback-toggle:focus-visible { outline-color: #ffcf71; }
.footer { padding-bottom: 92px; }
@media (max-width: 540px) {
    .feedback-widget { inset-inline-end: max(12px, env(safe-area-inset-right)); }
    .feedback-toggle { width: 78px; height: 78px; }
    .feedback-toggle img { width: 45px; }
    .feedback-panel { border-inline-start: 0; }
}
@media (max-height: 515px) {
    .feedback-panel { display: block; overflow-y: auto; overscroll-behavior: contain; }
    .feedback-feed { max-height: 42dvh; }
}
@media (prefers-reduced-motion: reduce) {
    .feedback-panel { animation: none; }
    .feedback-toggle { transition: none; }
}

.feedback-count {
    position: absolute;
    inset: -4px -5px auto auto;
    min-width: 25px;
    padding: 3px 6px;
    border: 2px solid #142951;
    border-radius: 20px;
    background: #ffd17a;
    color: #142343;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.feedback-widget[open] .feedback-count { display: none; }
.feedback-widget.feedback-out-of-form:not([open]) { visibility: hidden; }
.feedback-character { font-variant-numeric: tabular-nums; }
.feedback-character.feedback-over-limit { color: #ffbdba; }
.feedback-owner-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
    color: #e3ecff;
    font-size: 13px;
}
.feedback-owner-action button {
    min-height: 34px;
    padding: 4px 10px;
    border: 1px solid #6b82b5;
    border-radius: 7px;
    background: #1d3568;
    color: #fff;
}
.feedback-owner-login { margin-bottom: 12px; padding: 13px; background: #17294e; border-radius: 11px; }
.feedback-owner-login label { display: block; margin-bottom: 5px; font-size: 14px; }
.feedback-owner-login input { width: 100%; padding: 9px; border-radius: 8px; font: inherit; }
.feedback-feed > .notice { margin-bottom: 12px; }
@media (max-width: 540px) {
    .top .nav-about { display: inline-block; }
    .top .nav-main { white-space: nowrap; }
    .top-inner nav { gap: 8px; }
    .top-inner .brand span { display: none; }
}
.footer-reviews { color: #244ab0; font-weight: 800; }
.footer-reviews:hover { text-decoration: underline; }
@media (max-width: 540px) {
    .footer-inner { flex-wrap: wrap; }
    .footer-reviews { white-space: nowrap; }
}
body.review-panel-open { overflow: hidden; }
.feedback-card { animation: feedback-settle .18s ease-out both; }
@keyframes feedback-settle {
    from { opacity: .72; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .feedback-card { animation: none; }
}
