:root {
    --ink: #193d3a;
    --muted: #778581;
    --green: #226459;
    --line: #e5ebe5;
    --paper: #fff;
    --bg: #f5f7f3;
    --lime: #d6edaa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 14px/1.6 'Segoe UI',Arial,sans-serif;
}

button,input,select,textarea {
    font: inherit;
}

button,a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline: 3px solid #90b74d;
    outline-offset: 4px;
}

.wrap {
    width: min(1240px,calc(100% - 64px));
    margin: auto;
}

.top {
    height: 88px;
    display: flex;
    align-items: center;
    gap: 54px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -1px;
}

.brand svg {
    width: 43px;
    height: 43px;
}

.brand span span {
    color: #549480;
}

.nav {
    display: flex;
    align-items: center;
    gap: 29px;
    height: 100%;
}

.nav a {
    font-size: 13px;
    font-weight: 600;
    color: #71817a;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    padding-top: 3px;
}

.nav a.active {
    border-color: var(--green);
    color: var(--green);
}

.account {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.btn {
    border: 0;
    border-radius: 7px;
    padding: 12px 19px;
    background: var(--green);
    color: white;
    font-weight: 650;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.btn:hover {
    background: #174b43;
}

.btn.light {
    background: var(--lime);
    color: #254736;
}

.btn.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid #d9e3da;
}

.login {
    background: none;
    border: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.hero {
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    background: #103e3b;
    min-height: 326px;
    color: white;
    display: flex;
    align-items: center;
    margin-top: 12px;
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#0c3734 0%,#0c3734ed 30%,#0b343259 65%,#052b2820),url('https://images.unsplash.com/photo-1520302519878-6a8b1c38f7f7?auto=format&fit=crop&w=1600&q=85') center 52%/cover;
}

.hero:after {
    content: '';
    position: absolute;
    width: 390px;
    height: 390px;
    border: 1px solid #ffffff12;
    border-radius: 50%;
    right: 65px;
    top: -30px;
    box-shadow: 0 0 0 45px #ffffff04,0 0 0 90px #ffffff03;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 42px 46px;
    max-width: 670px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c3ddac;
}

.dot {
    height: 6px;
    width: 6px;
    background: #b6d98d;
    border-radius: 50%;
    display: inline-block;
}

h1 {
    font-size: 43px;
    line-height: 1.18;
    letter-spacing: -1.5px;
    font-weight: 600;
    margin: 17px 0 14px;
}

h1 em {
    font-family: Georgia,serif;
    color: #d6edaa;
    font-weight: 400;
}

.hero p {
    color: #c0d3cc;
    font-size: 14px;
    max-width: 420px;
    margin: 0 0 24px;
}

.hero .btn {
    font-size: 12px;
}

.hero-note {
    position: absolute;
    bottom: 24px;
    right: 29px;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    color: #e1ece3;
    font-size: 11px;
}

.hero-note b {
    display: block;
    font-size: 12px;
    color: white;
}

.stats {
    display: flex;
    align-items: center;
    gap: 35px;
    border-bottom: 1px solid var(--line);
    padding: 23px 5px;
    font-size: 12px;
    color: var(--muted);
}

.stats strong {
    color: var(--ink);
    font-size: 17px;
    margin-right: 6px;
}

.stats .adfree {
    margin-left: auto;
    color: var(--green);
    display: flex;
    gap: 7px;
    align-items: center;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 294px;
    gap: 27px;
    padding: 30px 0 50px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 17px;
    gap: 15px;
}

h2 {
    font-size: 21px;
    letter-spacing: -.5px;
    margin: 0;
    font-weight: 650;
}

.sub {
    font-size: 12px;
    color: var(--muted);
    margin: 3px 0 0;
}

.search {
    position: relative;
    display: block;
}

.search input {
    display: block;
    width: 220px;
    padding: 10px 12px 10px 35px;
    border: 1px solid #dfe6dd;
    border-radius: 7px;
    background: #fff;
    color: var(--ink);
    font-size: 12px;
}

.search span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    color: #819087;
}

.tabs {
    display: flex;
    gap: 6px;
    margin: 0 0 18px;
}

.tab {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #77867e;
    padding: 8px 13px;
    font-size: 12px;
}

.tab.active {
    background: #e7eee1;
    color: #355a3b;
    border-color: #dce5d4;
    font-weight: 650;
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 21px;
}

.panel-title {
    padding: 14px 20px;
    background: #f0f4ed;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.4px;
}

.panel-title span:last-child {
    font-size: 10px;
    color: #899489;
    font-weight: 400;
    letter-spacing: 0;
}

.forum {
    display: grid;
    grid-template-columns: 45px minmax(0,1fr) 82px 142px;
    align-items: center;
    gap: 15px;
    padding: 21px 20px;
    border-bottom: 1px solid var(--line);
    transition: background .2s;
}

.forum:last-child {
    border: 0;
}

.forum:hover {
    background: #fbfcf8;
}

.icon {
    height: 43px;
    width: 43px;
    border-radius: 11px;
    background: #edf5ec;
    color: #548468;
    display: grid;
    place-items: center;
}

.icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.forum:nth-child(3) .icon {
    background: #edf5f6;
    color: #54858a;
}

.forum:nth-child(4) .icon {
    background: #f6f1e7;
    color: #a18b57;
}

.forum-name {
    font-size: 14px;
    font-weight: 650;
}

.forum p {
    font-size: 11px;
    margin: 3px 0 0;
    color: var(--muted);
}

.count {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.count small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: var(--muted);
}

.latest {
    font-size: 10px;
    color: var(--muted);
    padding-left: 12px;
    border-left: 1px solid var(--line);
}

.latest b {
    font-size: 11px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4d6157;
    font-weight: 500;
}

.online-indicator {
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #7bac66;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 6px;
}

.side-card {
    padding: 21px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 9px;
    margin-bottom: 19px;
}

.side-card h3 {
    font-size: 14px;
    margin: 0 0 5px;
    letter-spacing: -.2px;
}

.side-card p {
    color: var(--muted);
    font-size: 12px;
    margin: 7px 0 16px;
}

.welcome {
    background: #ebf1e4;
    border-color: #dee7d3;
}

.welcome .btn {
    width: 100%;
    font-size: 12px;
    margin-top: 2px;
}

.side-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}

.side-heading span {
    font-size: 10px;
    color: #73965b;
    background: #edf5e8;
    padding: 2px 7px;
    border-radius: 4px;
}

.thread {
    display: flex;
    gap: 10px;
    margin-top: 17px;
}

.avatar {
    width: 31px;
    height: 31px;
    flex-shrink: 0;
    background: #dce8cf;
    color: #58714e;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}

.thread:nth-child(3) .avatar {
    background: #dcebed;
    color: #4f7a83;
}

.thread:nth-child(4) .avatar {
    background: #eee4d7;
    color: #a08460;
}

.thread b {
    font-size: 11px;
    font-weight: 600;
    display: block;
    line-height: 1.5;
}

.thread small {
    font-size: 10px;
    color: var(--muted);
}

.text-link {
    display: block;
    border: 0;
    border-top: 1px solid var(--line);
    background: none;
    width: 100%;
    padding: 15px 0 0;
    margin-top: 19px;
    text-align: left;
    color: var(--green);
    font-size: 11px;
    font-weight: 600;
}

.feature {
    height: 147px;
    background: linear-gradient(0deg,#103e3bdb,#103e3b15),url('https://images.unsplash.com/photo-1545243390-4b39c17c2d18?auto=format&fit=crop&w=600&q=80') center/cover;
    border-radius: 7px;
    padding: 17px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.feature span {
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #d6edaa;
}

.aquarium-feature { position: relative; overflow: hidden; isolation: isolate; background: #103e3b; height: auto; min-height: 170px; }
.aquarium-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.aquarium-feature::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #103e3bf2, #103e3b00); z-index: -1; }
.aquarium-feature b, .spotlight-description { overflow-wrap: anywhere; }
.spotlight-description { white-space: pre-line; }

.feature b {
    font-size: 16px;
    font-weight: 500;
    margin-top: 4px;
}

.members {
    display: flex;
    padding-top: 11px;
}

.members .avatar {
    border: 3px solid white;
    margin-right: -5px;
    width: 35px;
    height: 35px;
}

.members .avatar:nth-child(even) {
    background: #e9dfcb;
    color: #89754e;
}

.online-text {
    font-size: 10px!important;
    margin-bottom: 0!important;
}

.bottom-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #eaf0e6;
    padding: 18px 22px;
    border-radius: 8px;
    margin-top: 24px;
}

.bottom-banner strong {
    font-size: 13px;
}

.bottom-banner p {
    font-size: 11px;
    color: var(--muted);
    margin: 2px 0;
}

.bottom-banner .btn {
    margin-left: auto;
    font-size: 11px;
    white-space: nowrap;
}

footer {
    border-top: 1px solid var(--line);
    padding: 24px 0;
    color: var(--muted);
    font-size: 11px;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

footer b {
    color: var(--green);
}

.empty {
    padding: 24px;
    color: var(--muted);
}

dialog {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    width: min(460px,calc(100% - 32px));
    color: var(--ink);
}

dialog::backdrop {
    background: #102e2c99;
    backdrop-filter: blur(4px);
}

dialog h2 {
    margin: 0 28px 8px 0;
}

dialog p {
    color: var(--muted);
    font-size: 13px;
}

dialog label {
    display: block;
    font-size: 12px;
    margin-top: 14px;
}

dialog input,dialog textarea,dialog select {
    width: 100%;
    border: 1px solid #d9e3da;
    border-radius: 6px;
    padding: 10px;
    margin-top: 5px;
    color: var(--ink);
    background: white;
}

dialog .btn {
    margin-top: 18px;
}

.close {
    position: absolute;
    right: 15px;
    top: 13px;
    border: 0;
    background: none;
    font-size: 24px;
    color: var(--muted);
}

.notice {
    padding: 10px 13px;
    background: #edf5e8;
    border-radius: 6px;
    font-size: 12px;
    color: var(--green);
}

[hidden] {
    display: none!important;
}

@media(min-width:1500px) {
    .wrap {
        width: 1280px;
    }

    .hero {
        min-height: 350px;
    }

}

@media(max-width:1050px) {
    .top {
        gap: 30px;
    }

    .nav {
        gap: 19px;
    }

    .account {
        gap: 12px;
    }

    .layout {
        grid-template-columns: minmax(0,1fr) 260px;
        gap: 20px;
    }

    .forum {
        grid-template-columns: 40px minmax(0,1fr) 60px;
        gap: 12px;
    }

    .latest {
        display: none;
    }

    .hero-note {
        display: none;
    }

    .nav a:last-child {
        display: none;
    }

}

@media(max-width:760px) {
    .wrap {
        width: calc(100% - 32px);
    }

    .top {
        height: auto;
        min-height: 76px;
        flex-wrap: wrap;
        gap: 0;
        padding-top: 15px;
    }

    .brand {
        font-size: 22px;
    }

    .brand svg {
        width: 36px;
    }

    .account {
        gap: 9px;
    }

    .account .btn {
        padding: 9px 12px;
        font-size: 11px;
    }

    .login {
        font-size: 11px;
    }

    .nav {
        order: 3;
        width: 100%;
        height: 49px;
        gap: 26px;
        margin-top: 5px;
    }

    .nav a {
        font-size: 12px;
    }

    .nav a:last-child {
        display: flex;
    }

    .hero {
        margin-top: 10px;
        min-height: 310px;
    }

    .hero-content {
        padding: 29px 25px;
    }

    .hero:before {
        background: linear-gradient(90deg,#0c3734f5,#0c373499),url('https://images.unsplash.com/photo-1520302519878-6a8b1c38f7f7?auto=format&fit=crop&w=900&q=80') center/cover;
    }

    h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 13px;
    }

    .stats {
        gap: 20px;
        flex-wrap: wrap;
        padding: 20px 0;
        font-size: 10px;
    }

    .stats strong {
        font-size: 15px;
        margin-right: 3px;
    }

    .stats .adfree {
        display: none;
    }

    .layout {
        display: block;
        padding-top: 25px;
    }

    .section-head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .search {
        width: 100%;
    }

    .search input {
        width: 100%;
    }

    .tabs {
        gap: 0;
    }

    .tab {
        padding: 8px 11px;
    }

    .forum {
        padding: 17px 14px;
        grid-template-columns: 38px minmax(0,1fr) 44px;
        gap: 11px;
    }

    .icon {
        width: 37px;
        height: 39px;
    }

    .forum-name {
        font-size: 13px;
    }

    .forum p {
        font-size: 10px;
    }

    .panel-title {
        padding: 13px 15px;
    }

    .panel-title span:last-child {
        display: none;
    }

    .bottom-banner {
        padding: 16px;
        flex-wrap: wrap;
    }

    .bottom-banner .btn {
        margin-left: 0;
    }

    .sidebar {
        margin-top: 25px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .side-card {
        margin: 0;
        padding: 17px;
    }

    .side-card:nth-child(2) {
        grid-row: span 2;
    }

    .side-card:last-child {
        display: none;
    }

    footer .wrap {
        flex-direction: column;
        gap: 6px;
    }

}

@media(max-width:450px) {
    .sidebar {
        display: block;
    }

    .side-card {
        margin-bottom: 15px;
    }

    .account .login {
        display: none;
    }

    .brand {
        font-size: 21px;
    }

    .nav {
        gap: 22px;
    }

    .hero h1 {
        font-size: 33px;
    }

}

/* Aanvullende opmaak voor de pagina en dialoogvensters. */

.utility-1 {
    font-size: 25px;
}

.utility-2 {
    font-size: 27px;
    color: #6e9160;
}

.utility-3 {
    color: #7c9568;
    margin-bottom: 10px;
}

.utility-4 {
    font-size: 10px;
    text-align: center;
    margin: 10px 0 0;
}

.utility-5 {
    margin-bottom: 0;
    font-size: 10px;
}

.utility-6 {
    position: absolute;
}

.utility-7 {
    color: #6e9160;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.search-form .btn {
    padding: 10px 13px;
    font-size: 12px;
    flex-shrink: 0;
}

@media (max-width: 760px) {
    .search-form {
        width: 100%;
    }

    .search-form .search {
        flex: 1;
        min-width: 0;
    }
}

.account-signed-in {
    gap: 16px;
    flex-shrink: 0;
}

.online-names {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 12px;
}

.online-member {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.online-empty {
    margin: 0 !important;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 760px) {
    .sidebar .online-card:last-child {
        display: block;
    }
}

.account-identity {
    display: flex;
    align-items: center;
    gap: 9px;
}

.account-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: #e4edda;
    color: var(--green);
    border: 1px solid #d7e3ca;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.account-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.5;
}

.account-name {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 650;
}

.account-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--green);
}

.account-status > span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #79a95b;
}

.logout-form {
    margin: 0;
}

.logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    color: var(--green);
    background: transparent;
    border: 1px solid #d9e3da;
    border-radius: 6px;
    padding: 8px 11px;
    font-size: 11px;
}

.logout-button:hover {
    background: #eaf0e6;
}

@media (min-width: 761px) and (max-width: 1150px) {
    .top:has(.account-signed-in) {
        gap: 22px;
    }

    .top:has(.account-signed-in) .nav {
        gap: 16px;
    }

    .top:has(.account-signed-in) .nav a:last-child {
        display: none;
    }
}

@media (max-width: 760px) {
    .account-signed-in {
        gap: 10px;
    }

    .account-avatar {
        display: none;
    }

    .account-name {
        max-width: 95px;
    }

    .logout-button {
        padding: 7px 8px;
    }
}

@media (max-width: 390px) {
    .top:has(.account-signed-in) .brand {
        font-size: 18px;
        gap: 5px;
    }

    .top:has(.account-signed-in) .brand svg {
        width: 29px;
    }

    .account-name {
        max-width: 75px;
    }
}
