@import url('https://fonts.googleapis.com/css2?family=Anton&family=Caveat:wght@500;700&family=Special+Elite&display=swap');

:root {
    --paper: #d2bb90;
    --orange: #d08545;
    --ink: #1a130e;
    --muted: #ad9a80
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px
}

body {
    margin: 0;
    background: #17120e;
    color: var(--paper);
    font-family: 'Special Elite', 'Courier New', monospace;
    background-image: radial-gradient(ellipse at 80% 50%, #3b241628, transparent 65%)
}

body:after {
    content: '';
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 20;
    opacity: .09;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E")
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer
}

a:focus-visible, button:focus-visible {
    outline: 2px dashed var(--orange);
    outline-offset: 7px
}

header {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    gap: 35px;
    background: #17120ef2;
    border-bottom: 1px solid #ad9a8025;
    position: relative;
    z-index: 2
}

.wordmark {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 30px;
    letter-spacing: -1px;
    transform: rotate(-2deg);
    line-height: 1
}

.wordmark span {
    font-family: 'Caveat', cursive;
    display: block;
    font-size: 16px;
    letter-spacing: 0;
    margin-top: 7px;
    color: var(--orange)
}

nav {
    display: flex;
    gap: 40px;
    font-size: 15px
}

nav a {
    padding: 9px 2px;
    position: relative
}

nav a[aria-current], nav a:hover {
    color: var(--orange)
}

nav a[aria-current]:after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: -5px;
    right: -5px;
    height: 2px;
    background: var(--orange);
    transform: rotate(-4deg)
}

.header-note {
    font-size: 10px;
    letter-spacing: 1px;
    color: #9f8b72
}

.hero {
    position: relative;
    min-height: 710px;
    height: calc(100svh - 100px);
    max-height: 1020px;
    overflow: hidden;
    isolation: isolate
}

.hero-wall {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    filter: sepia(.16)
}

.hero-shadow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #100b07e8 0%, #120c0788 42%, #120c0722 75%), linear-gradient(0deg, #17120e 0%, transparent 24%)
}

.hero-content {
    position: relative;
    padding: 60px 7%;
    max-width: 950px
}

.typed {
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 1.8
}

.kicker {
    color: #c1a079
}

.hero h1 {
    font-family: 'Anton', Impact, 'Arial Narrow', sans-serif;
    text-transform: uppercase;
    font-size: clamp(95px, 13.8vw, 215px);
    line-height: 1.05;
    letter-spacing: -7px;
    font-weight: 400;
    margin: 23px 0 10px;
    transform: rotate(-3deg);
    color: #d8c29b;
    text-shadow: 4px 3px #322018;
    white-space: nowrap
}

.hero h1 span {
    color: var(--orange)
}

.hero-tag {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: 1px;
    margin: 30px 0 18px
}

.hero-copy {
    font-size: 14px;
    line-height: 1.9;
    color: #c0ab8e;
    margin: 0 0 28px
}

.paper-link {
    display: inline-flex;
    gap: 45px;
    align-items: center;
    color: #261b12;
    background: #c5ad81;
    padding: 18px 23px;
    font-size: 13px;
    transform: rotate(-2deg);
    box-shadow: 2px 4px 0 #09060466;
    clip-path: polygon(0 2%, 97% 0, 100% 5%, 99% 92%, 95% 100%, 1% 98%)
}

.paper-link:hover {
    background: #dfc69b;
    transform: rotate(0deg)
}

.polaroid {
    background: #c9b996;
    color: #302419;
    padding: 13px 13px 16px;
    display: block;
    box-shadow: 3px 7px 16px #0008;
    transition: transform .2s;
    border: 0;
    text-align: left;
    position: relative
}

.polaroid:before {
    content: '';
    position: absolute;
    width: 88px;
    height: 27px;
    background: #9f7c4cb5;
    top: -12px;
    left: calc(50% - 44px);
    transform: rotate(-6deg);
    box-shadow: 0 0 2px #3e2c21
}

.polaroid img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    filter: sepia(.15)
}

.polaroid span {
    font-family: 'Caveat', cursive;
    font-size: 25px;
    display: block;
    margin: 10px 5px 0
}

.hero-photo {
    position: absolute;
    width: 285px;
    right: 8%;
    bottom: 125px;
    transform: rotate(8deg)
}

.hero-photo:hover {
    transform: rotate(3deg) scale(1.02)
}

.scribble {
    font-family: 'Caveat', cursive;
    font-size: 30px;
    line-height: .95;
    position: absolute;
    right: 12%;
    top: 27%;
    transform: rotate(8deg);
    color: #d6b783
}

.hero-bottom {
    position: absolute;
    bottom: 38px;
    left: 7%;
    font-size: 9px;
    color: #ac9275
}

.down {
    position: absolute;
    bottom: 30px;
    right: 7%;
    font-size: 35px;
    color: var(--orange)
}

.room {
    padding: 100px 9% 110px;
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10%;
    align-items: center
}

.room-photo {
    transform: rotate(-3deg)
}

.room-photo img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    box-shadow: 10px 12px 0 #2b2015
}

.room-photo span {
    display: block;
    font-size: 9px;
    color: #aa9275;
    padding-top: 25px
}

.room h2 {
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(35px, 4vw, 56px);
    line-height: 1.1;
    font-weight: 400;
    margin: 20px 0 24px
}

em {
    font-style: normal;
    color: var(--orange)
}

.room p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted);
    max-width: 420px
}

.text-link {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--orange);
    border-bottom: 1px dashed #ac773f;
    padding: 10px 0;
    margin-top: 17px
}

.text-link:hover {
    color: #f4be81
}

.notice {
    margin: 0 7% 100px;
    border-top: 1px dashed #756148;
    border-bottom: 1px dashed #756148;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 35px 0
}

.notice-label {
    writing-mode: vertical-rl;
    color: var(--orange);
    font-size: 9px
}

.notice h2 {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 34px;
    font-weight: 400;
    margin: 0 0 12px
}

.notice p {
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted)
}

.notice .paper-link {
    margin-left: auto
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 35px 7%;
    border-top: 1px solid #89755b26;
    font-size: 10px;
    color: #9e896f
}

footer > a {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 22px;
    color: var(--paper);
    letter-spacing: -.5px
}

.inside {
    padding: 70px 9% 90px;
    min-height: calc(100svh - 190px)
}

.page-intro h1 {
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(65px, 9vw, 130px);
    font-weight: 400;
    margin: 18px 0;
    letter-spacing: -3px;
    transform: rotate(-2deg)
}

.orange {
    color: var(--orange)
}

.page-intro p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7
}

.tour {
    position: relative;
    overflow: hidden
}

.tour-board {
    position: relative;
    margin: 70px 0 50px;
    padding: 45px 50px;
    background: #c4ad81;
    color: #302317;
    max-width: 620px;
    transform: rotate(-2deg);
    box-shadow: 8px 12px #0d0906;
    z-index: 1
}

.tape-strip {
    position: absolute;
    width: 120px;
    height: 33px;
    background: #97764cba;
    top: -15px;
    left: 40%;
    transform: rotate(3deg)
}

.tour-board h2 {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 50px;
    line-height: 1.1;
    font-weight: 400;
    margin: 25px 0
}

.tour-board em {
    color: #7c4227
}

.tour-board p {
    font-size: 13px;
    line-height: 1.8;
    max-width: 430px
}

.handwriting {
    font-family: 'Caveat', cursive;
    font-size: 31px;
    display: block;
    margin-top: 25px;
    transform: rotate(-3deg)
}

.tour-image {
    position: absolute;
    right: 5%;
    top: 280px;
    width: 44%;
    transform: rotate(5deg);
    opacity: .8
}

.tour-image img {
    width: 100%;
    height: 320px;
    object-fit: cover
}

.tour-image span {
    display: block;
    text-align: right;
    color: #c1976a;
    font-size: 9px;
    margin: 15px
}

.gallery-note {
    color: #927c60;
    font-size: 9px;
    margin: 40px 0
}

.photo-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 65px 60px;
    padding: 15px 2% 65px
}

.photo-grid .polaroid:nth-child(odd) {
    transform: rotate(-3deg)
}

.photo-grid .polaroid:nth-child(even) {
    transform: rotate(3deg);
    margin-top: 30px
}

.photo-grid .polaroid:hover {
    transform: rotate(0) translateY(-5px)
}

.photo-grid img {
    height: 260px
}

.photo-grid span {
    font-size: 26px
}

dialog {
    width: min(1100px, 94vw);
    padding: 24px;
    background: #17120e;
    color: var(--paper);
    border: 1px solid #755331;
    max-height: 95svh
}

dialog::backdrop {
    background: #080503ed
}

dialog > img {
    width: 100%;
    max-height: 70svh;
    object-fit: contain;
    display: block
}

dialog p {
    font-family: 'Caveat', cursive;
    font-size: 28px;
    margin: 15px 0;
    text-align: center
}

.close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 40px;
    height: 40px;
    background: #17120e;
    color: var(--paper);
    border: 1px solid #98784d;
    font-size: 30px
}

.lightbox-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px
}

.lightbox-controls button {
    border: 1px solid #785a36;
    color: var(--paper);
    background: transparent;
    padding: 8px 22px;
    font-size: 24px
}

#count {
    font-size: 12px
}

.skip {
    position: fixed;
    top: -100px;
    left: 10px;
    z-index: 30;
    background: var(--paper);
    color: var(--ink);
    padding: 15px
}

.skip:focus {
    top: 10px
}

@media (min-width: 1600px) {
    .hero-content {
        padding-top: 90px
    }

    .hero-photo {
        width: 340px
    }

    .polaroid img {
        height: 240px
    }
}

@media (max-width: 900px) {
    .header-note {
        display: none
    }

    .hero-photo {
        right: 5%;
        width: 230px;
        bottom: 110px
    }

    .scribble {
        right: 9%;
        top: 19%
    }

    .hero h1 {
        font-size: 15vw
    }

    .hero-content {
        padding-top: 75px
    }

    .room {
        gap: 7%;
        padding: 80px 7%
    }

    .room-photo img {
        height: 300px
    }

    .notice {
        gap: 25px
    }

    .tour-image {
        opacity: .4;
        right: -12%;
        top: 340px;
        width: 65%
    }
}

@media (max-width: 600px) {
    header {
        height: 90px;
        padding: 0 6%;
        gap: 20px
    }

    .wordmark {
        font-size: 25px
    }

    .wordmark span {
        font-size: 14px
    }

    nav {
        gap: 17px;
        font-size: 12px
    }

    .hero {
        min-height: 790px;
        height: auto
    }

    .hero-content {
        padding: 45px 7%
    }

    .hero h1 {
        font-size: 21vw;
        letter-spacing: -4px;
        margin-top: 30px
    }

    .hero-tag {
        font-size: 29px;
        margin-top: 28px
    }

    .hero-copy {
        font-size: 13px
    }

    .hero-photo {
        width: 210px;
        right: 13%;
        bottom: 90px
    }

    .hero-photo img {
        height: 130px
    }

    .hero-photo span {
        font-size: 23px
    }

    .scribble {
        top: auto;
        bottom: 180px;
        right: auto;
        left: 8%;
        font-size: 24px
    }

    .hero-bottom {
        font-size: 8px;
        bottom: 28px
    }

    .hero-wall {
        object-position: 60% center
    }

    .room {
        grid-template-columns:1fr;
        padding: 55px 8%;
        gap: 45px
    }

    .room-photo img {
        height: 260px
    }

    .room h2 {
        font-size: 44px
    }

    .notice {
        margin: 20px 8% 60px;
        flex-wrap: wrap;
        padding: 30px 0;
        gap: 15px
    }

    .notice-label {
        writing-mode: initial;
        flex-basis: 100%;
        margin-bottom: 10px
    }

    .notice .paper-link {
        margin-left: 0
    }

    footer {
        padding: 28px 7%;
        flex-wrap: wrap
    }

    footer > span:nth-child(2) {
        display: none
    }

    .inside {
        padding: 45px 8% 65px
    }

    .page-intro h1 {
        font-size: 75px
    }

    .page-intro p {
        font-size: 13px
    }

    .tour-board {
        margin: 55px 0 40px;
        padding: 30px 25px
    }

    .tour-board h2 {
        font-size: 41px
    }

    .tour-image {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        opacity: 1;
        margin: 35px 0
    }

    .tour-image img {
        height: 190px
    }

    .photo-grid {
        grid-template-columns:1fr;
        gap: 45px;
        padding: 15px 3% 40px
    }

    .photo-grid .polaroid:nth-child(even) {
        margin-top: 0
    }

    .photo-grid img {
        height: 200px
    }

    .typed {
        font-size: 9px
    }

    .gallery-note {
        font-size: 8px
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}

/* Zapisi iz zvezka */
.blog-desk {
    display: grid;
    grid-template-columns:1.2fr 1fr;
    gap: 6%;
    align-items: center;
    margin: 65px 0 55px
}

.blog-sheet {
    position: relative;
    padding: 45px 45px 38px;
    background: #cbb68e;
    color: #302317;
    transform: rotate(-2deg);
    box-shadow: 8px 12px #0d0906;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 30px, #705a2b16 31px, transparent 32px)
}

.blog-sheet h2 {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 50px;
    line-height: 1.1;
    font-weight: 400;
    margin: 25px 0
}

.blog-sheet em {
    color: #7c4227
}

.blog-sheet p {
    font-size: 13px;
    line-height: 1.9;
    max-width: 430px
}

.blog-sheet .handwriting {
    font-size: 28px
}

.blog-radio {
    margin: 0;
    transform: rotate(4deg)
}

.blog-radio img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    box-shadow: 6px 7px 0 #2b2015
}

.blog-radio figcaption {
    color: #a28b6d;
    font-size: 9px;
    text-align: right;
    margin-top: 20px
}

.blog-home {
    margin: 0 9% 85px;
    padding: 15px 0 25px
}

.blog-home h2 {
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.1;
    margin: 22px 0
}

.blog-home p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted)
}

@media (max-width: 900px) {
    nav {
        gap: 25px
    }

    .blog-desk {
        grid-template-columns:1fr;
        gap: 55px;
        max-width: 640px
    }

    .blog-radio {
        max-width: 440px;
        justify-self: end
    }
}

@media (max-width: 600px) {
    header {
        height: auto;
        min-height: 110px;
        flex-wrap: wrap;
        padding: 18px 6%;
        gap: 16px
    }

    .wordmark {
        flex-basis: 100%
    }

    nav {
        width: 100%;
        justify-content: space-between;
        gap: 14px;
        font-size: 12px
    }

    .hero {
        min-height: 790px
    }

    .blog-desk {
        margin: 45px 0
    }

    .blog-sheet {
        padding: 30px 25px
    }

    .blog-sheet h2 {
        font-size: 41px
    }

    .blog-sheet .handwriting {
        font-size: 25px
    }

    .blog-radio img {
        height: 200px
    }

    .blog-home {
        margin: 0 8% 60px
    }

    .blog-home h2 {
        font-size: 40px
    }
}

/* Ročno narisan logotip PS Sonic */
.wordmark {
    width: 150px;
    flex-shrink: 0;
    transform: rotate(-2deg)
}

.brand-logo {
    display: block;
    width: 150px;
    height: auto;
    mix-blend-mode: screen
}

.wordmark span {
    margin-top: -2px;
    margin-left: 9px
}

.hero h1.logo-title {
    width: min(760px, 72vw);
    font-size: inherit;
    line-height: 0;
    margin: 30px 0 18px;
    transform: rotate(-3deg);
    letter-spacing: normal;
    text-shadow: none
}

.logo-title img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: screen
}

.footer-logo {
    display: block;
    width: 130px;
    height: auto;
    mix-blend-mode: screen
}

footer > a {
    flex-shrink: 0
}

@media (max-width: 900px) {
    .hero h1.logo-title {
        width: 80vw
    }

    .wordmark, .brand-logo {
        width: 135px
    }
}

@media (max-width: 600px) {
    .wordmark {
        flex-basis: auto;
        width: 100%
    }

    .brand-logo {
        width: 130px
    }

    .hero h1.logo-title {
        width: 100%;
        margin: 25px 0 22px
    }

    .hero-tag {
        margin-top: 25px
    }

    .footer-logo {
        width: 115px
    }
}

.wordmark, .hero h1.logo-title, footer > a {
    mix-blend-mode: screen
}

.hero h1.logo-title {
    position: relative;
    z-index: 1
}

.scribble {
    top: 7%;
    right: 8%
}

@media (max-width: 600px) {
    .scribble {
        top: auto;
        right: auto;
        bottom: 180px
    }
}

/* Končni logotip: fotokopirani letak, prosojna podlaga */
.wordmark, .hero h1.logo-title, footer > a, .brand-logo, .logo-title img, .footer-logo {
    mix-blend-mode: normal
}

.hero h1.logo-title {
    width: min(680px, 70vw);
    margin: 42px 0 30px
}

.brand-logo {
    height: auto;
    width: 150px
}

.footer-logo {
    width: 130px
}

.hero-tag {
    margin-top: 25px
}

@media (max-width: 900px) {
    .hero h1.logo-title {
        width: 78vw
    }

    .brand-logo {
        width: 135px
    }
}

@media (max-width: 600px) {
    .hero h1.logo-title {
        width: 100%;
        margin: 30px 0 30px
    }

    .brand-logo {
        width: 130px
    }

    .footer-logo {
        width: 115px
    }
}

/* ------------------------------------------------------------------ */
/* CMS extensions — lists of concerts and posts, single post view.     */
/* Reuses the existing palette, fonts and paper pieces.               */
/* ------------------------------------------------------------------ */

.notice-date {
    color: var(--paper);
    font-size: 13px
}

.blog-home-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0
}

.blog-home-list li {
    border-bottom: 1px dashed #756148;
    font-size: 14px
}

.blog-home-list a {
    display: flex;
    gap: 22px;
    align-items: baseline;
    padding: 14px 0
}

.blog-home-list a:hover {
    color: #f4be81
}

.blog-home-list .typed {
    color: #c1a079;
    flex: 0 0 auto
}

.tour-board {
    max-width: 680px
}

.tour-board-past {
    transform: rotate(1.5deg);
    background: #b7a079;
    margin-top: 80px
}

.tour-board-past .tape-strip {
    left: 12%
}

.tour-board-past .tour-row {
    opacity: .8
}

.tour-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.tour-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 24px 0;
    border-top: 1px dashed #7c6540
}

.tour-list .tour-row:last-child {
    border-bottom: 1px dashed #7c6540
}

.tour-date {
    flex: 0 0 72px;
    font-family: 'Anton', Impact, sans-serif;
    line-height: 1;
    transform: rotate(-3deg)
}

.tour-date b {
    display: block;
    font-size: 54px;
    font-weight: 400;
    color: #7c4227
}

.tour-date span {
    display: block;
    font-size: 15px;
    letter-spacing: 2px;
    margin-top: 6px;
    line-height: 1.2
}

.tour-info {
    flex: 1 1 auto;
    min-width: 0
}

.tour-info h3 {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 400;
    margin: 4px 0 8px
}

.tour-board .tour-where {
    margin: 0 0 4px;
    font-size: 14px
}

.tour-board .tour-address {
    margin: 0;
    color: #5a4630;
    font-size: 10px
}

.tour-note {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 8px
}

.tour-note p {
    margin: 0 0 8px
}

.tour-info .text-link {
    color: #7c4227;
    border-color: #7c4227;
    margin-top: 10px
}

.tour-info .text-link:hover {
    color: #a0562f
}

.tour-poster {
    flex: 0 0 120px;
    padding: 8px 8px 10px;
    transform: rotate(3deg);
    box-shadow: 3px 5px 10px #0006
}

.tour-poster img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block
}

.tour-poster span {
    display: block;
    font-size: 11px;
    margin-top: 6px
}

.tour-poster:hover {
    transform: rotate(0deg) scale(1.03)
}

.blog-desk.has-posts {
    align-items: start
}

.blog-desk.has-posts .blog-radio {
    position: sticky;
    top: 40px
}

.blog-stack {
    display: grid;
    gap: 55px
}

.blog-card:nth-child(even) {
    transform: rotate(1.5deg);
    background: #c4ad81
}

.blog-card h2 {
    font-size: 40px
}

.blog-card h2 a:hover {
    color: #7c4227
}

.blog-card .text-link {
    color: #7c4227;
    border-color: #7c4227
}

.blog-card .text-link:hover {
    color: #a0562f
}

.post-desk {
    grid-template-columns: 1.6fr 1fr
}

.blog-sheet.post {
    transform: rotate(-1deg)
}

.blog-sheet.post h2 {
    font-size: 44px
}

.blog-sheet.post .post-excerpt {
    font-size: 15px;
    color: #5a4630;
    max-width: none
}

.post-body {
    font-size: 14px;
    line-height: 1.9
}

.post-body p {
    max-width: none;
    font-size: 14px;
    margin: 0 0 20px
}

.post-body h2, .post-body h3, .post-body h4 {
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    line-height: 1.15;
    margin: 36px 0 14px
}

.post-body h2 {
    font-size: 34px
}

.post-body h3 {
    font-size: 26px
}

.post-body h4 {
    font-size: 20px
}

.post-body a {
    color: #7c4227;
    border-bottom: 1px dashed #7c4227
}

.post-body a:hover {
    color: #a0562f
}

.post-body img, .post-body video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px 0;
    box-shadow: 4px 6px 0 #2b2015
}

.post-body blockquote {
    font-family: 'Caveat', cursive;
    font-size: 27px;
    line-height: 1.3;
    margin: 28px 10px;
    padding-left: 18px;
    border-left: 3px solid #7c4227;
    transform: rotate(-1deg)
}

.post-body ul, .post-body ol {
    padding-left: 22px;
    margin: 0 0 20px
}

.post-body li {
    margin-bottom: 6px
}

.post-body hr {
    border: 0;
    border-top: 1px dashed #7c6540;
    margin: 30px 0
}

.post-body pre, .post-body code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: #b9a378;
    padding: 2px 5px
}

.post-body pre {
    padding: 14px;
    overflow-x: auto
}

.post-body iframe {
    max-width: 100%
}

.blog-sheet.post .text-link {
    color: #7c4227;
    border-color: #7c4227
}

.post-cover {
    max-width: 440px;
    margin-left: auto
}

.post-cover img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block
}

@media (max-width: 900px) {
    .blog-desk.has-posts .blog-radio {
        position: static
    }

    .post-desk {
        grid-template-columns: 1fr
    }
}

@media (max-width: 600px) {
    .tour-board {
        padding: 35px 24px
    }

    .tour-row {
        flex-wrap: wrap;
        gap: 18px
    }

    .tour-date {
        flex-basis: 60px
    }

    .tour-date b {
        font-size: 44px
    }

    .tour-info h3 {
        font-size: 25px
    }

    .tour-poster {
        flex-basis: 100%;
        max-width: 200px
    }

    .blog-card h2, .blog-sheet.post h2 {
        font-size: 32px
    }
}

/* ------------------------------------------------------------------ */
/* Stran C: skriti zvezek o znamki (/stran-c-7q4m). Ni v meniju.       */
/* ------------------------------------------------------------------ */

.nit {
    max-width: 1480px;
    margin: 0 auto
}

.nit-quote {
    margin: 50px 0 40px;
    padding: 0 0 0 22px;
    border-left: 3px solid var(--orange);
    transform: rotate(-1deg)
}

.nit-quote p {
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.25;
    margin: 0 0 8px;
    color: #d8c29b
}

.nit-quote .handwriting {
    font-size: 26px;
    margin-top: 6px;
    color: var(--orange)
}

.nit-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0 0 70px;
    padding: 18px 0;
    border-top: 1px dashed #756148;
    border-bottom: 1px dashed #756148;
    color: #c1a079
}

.nit-toc a:hover {
    color: var(--orange)
}

.nit-block {
    margin: 0 0 110px;
    scroll-margin-top: 30px
}

.nit-block h2 {
    font-family: 'Anton', Impact, sans-serif;
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.08;
    font-weight: 400;
    margin: 18px 0 26px;
    transform: rotate(-1.5deg);
    transform-origin: left
}

.nit-block h2.nit-big {
    font-size: clamp(64px, 9vw, 130px);
    letter-spacing: -2px;
    margin: 20px 0 36px
}

.nit-block p, .nit-block li {
    font-size: 13px;
    line-height: 1.9;
    color: var(--muted)
}

.nit-block p {
    max-width: 560px;
    margin: 0 0 16px
}

.nit-block ul, .nit-block ol {
    margin: 10px 0 26px;
    padding-left: 18px
}

.nit-block li {
    margin-bottom: 5px
}

.nit-block .typed {
    display: block;
    color: #c1a079;
    margin-bottom: 4px
}

.nit-block .handwriting {
    font-size: 28px;
    color: var(--orange);
    margin-top: 10px
}

.nit-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px
}

.nit-cols p {
    max-width: none
}

.nit-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 10px
}

.nit-no li {
    list-style: '× ';
    padding-left: 4px
}

.nit-note {
    border-top: 1px dashed #756148;
    padding-top: 18px;
    max-width: none !important
}

.nit-note b {
    color: inherit
}

/* papirnati listi: iste barve kot blog-sheet, brez rotacije vsebine */
.nit-sheet {
    position: relative;
    padding: 45px 50px 40px;
    background: #cbb68e;
    color: #302317;
    transform: rotate(-1deg);
    box-shadow: 8px 12px #0d0906;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 30px, #705a2b16 31px, transparent 32px)
}

.nit-sheet:nth-of-type(even) {
    transform: rotate(.8deg);
    background-color: #c4ad81
}

.nit-sheet h2, .nit-sheet p, .nit-sheet li {
    color: inherit
}

.nit-sheet em {
    color: #7c4227
}

.nit-sheet .typed {
    color: #5a4630
}

.nit-sheet .handwriting {
    color: #7c4227
}

.nit-sheet .nit-note {
    border-color: #7c6540
}

.nit-pillars {
    list-style: none;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px
}

.nit-pillars li {
    border-top: 2px solid var(--orange);
    padding-top: 16px
}

.nit-pillars b {
    display: block;
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    font-size: 34px;
    color: #d8c29b;
    transform: rotate(-2deg);
    transform-origin: left;
    margin-bottom: 6px
}

.nit-pillars p {
    margin-top: 10px
}

.nit-swatches {
    list-style: none;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin: 30px 0 40px !important
}

.nit-swatches li {
    margin: 0
}

.nit-swatches li:before {
    content: '';
    display: block;
    height: 72px;
    background: var(--c);
    border: 1px solid #ad9a8040;
    transform: rotate(-2deg);
    margin-bottom: 12px
}

.nit-swatches li:nth-child(even):before {
    transform: rotate(2deg)
}

.nit-swatches li.is-light:before {
    box-shadow: 0 0 40px #d0854566
}

.nit-swatches span {
    display: block;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 20px;
    color: #d8c29b
}

.nit-swatches code {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    color: #c1a079
}

.nit-swatches small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    font-family: 'Caveat', cursive;
    font-size: 19px
}

.nit-type {
    display: grid;
    gap: 26px;
    margin: 34px 0 50px
}

.nit-type-row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: center;
    border-top: 1px dashed #756148;
    padding-top: 24px
}

.nit-type-row b {
    display: block;
    font-size: 16px;
    color: #d8c29b;
    margin-bottom: 2px
}

.nit-type-row p {
    margin: 8px 0 0
}

.nit-spec-anton {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 86px;
    line-height: 1;
    color: #d8c29b;
    transform: rotate(-3deg);
    text-shadow: 4px 3px #322018
}

.nit-spec-typed {
    font-family: 'Special Elite', monospace;
    font-size: 22px;
    letter-spacing: 4px;
    color: var(--paper)
}

.nit-spec-hand {
    font-family: 'Caveat', cursive;
    font-size: 56px;
    color: var(--orange);
    transform: rotate(-4deg)
}

.nit-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-content: start
}

.nit-logos img {
    width: 100%;
    height: auto;
    display: block
}

.nit-logos > img {
    padding: 14px;
    background: #17120e;
    border: 1px solid #ad9a8025
}

.nit-paper-bg {
    grid-column: 1 / -1;
    display: block;
    padding: 18px 60px;
    background: #d2bb90;
    transform: rotate(-1deg)
}

.nit-polaroids {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 34px;
    margin: 30px 0 26px
}

.nit-polaroids .polaroid:nth-child(1) {
    transform: rotate(-3deg)
}

.nit-polaroids .polaroid:nth-child(2) {
    transform: rotate(2deg);
    margin-top: 18px
}

.nit-polaroids .polaroid:nth-child(3) {
    transform: rotate(-1deg)
}

.nit-polaroids img {
    height: 150px
}

.nit-polaroids span {
    font-size: 21px
}

.nit-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 26px;
    font-size: 13px
}

.nit-table th {
    text-align: left;
    padding: 0 12px 10px 0;
    font-weight: 400
}

.nit-table td {
    vertical-align: top;
    padding: 12px 18px 12px 0;
    border-top: 1px dashed #7c6540;
    line-height: 1.7;
    width: 50%
}

.nit-table s {
    color: #7c6540;
    text-decoration-color: #7c4227
}

.nit-rituals li, .nit-check li {
    margin-bottom: 12px;
    padding-left: 6px
}

.nit-rituals b, .nit-check b {
    color: #1a130e
}

.nit-check {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 24px !important;
    line-height: 1.3
}

.nit-check li {
    font-size: 24px;
    color: #302317
}

.nit-never {
    columns: 2;
    column-gap: 40px
}

.nit-letak {
    position: relative;
    width: 300px;
    aspect-ratio: 210 / 297;
    margin: 44px auto 10px;
    padding: 26px 24px;
    background: #ddc69d;
    color: #1a130e;
    box-shadow: 6px 9px 0 #2b2015, 0 0 0 1px #9f7c4c55;
    transform: rotate(2deg);
    display: flex;
    flex-direction: column;
    gap: 10px;
    filter: contrast(1.08) sepia(.1)
}

.nit-letak:before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .14;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")
}

.nit-letak-logo {
    width: 86px;
    height: auto;
    transform: rotate(-3deg)
}

.nit-letak .typed {
    color: #3b2a1b;
    margin: 0;
    font-size: 10px
}

.nit-letak strong {
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    font-size: 62px;
    line-height: .95;
    transform: rotate(-3deg);
    margin: 6px 0 8px;
    letter-spacing: -1px
}

.nit-letak-lamp {
    display: block;
    width: 44px;
    height: 44px;
    margin: auto 0 0 auto;
    background:
        radial-gradient(circle at 50% 40%, #d08545 0 30%, transparent 32%),
        linear-gradient(#1a130e, #1a130e) 50% 100% / 3px 55% no-repeat,
        linear-gradient(#1a130e, #1a130e) 50% 100% / 22px 3px no-repeat;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%)
}

.nit-letak .handwriting {
    font-size: 22px;
    margin: 0;
    color: #7c4227;
    transform: rotate(-2deg)
}

.nit-letak-url {
    border-top: 1px dashed #7c6540;
    padding-top: 8px;
    font-size: 9px !important
}

.nit-caption {
    text-align: center;
    color: #5a4630
}

.nit-last {
    margin-bottom: 40px
}

@media (max-width: 900px) {
    .nit-pillars {
        grid-template-columns: 1fr 1fr
    }

    .nit-swatches {
        grid-template-columns: repeat(3, 1fr)
    }

    .nit-polaroids {
        grid-template-columns: 1fr 1fr
    }

    .nit-type-row {
        grid-template-columns: 200px 1fr
    }

    .nit-spec-anton {
        font-size: 64px
    }
}

@media (max-width: 600px) {
    .nit-block {
        margin-bottom: 80px
    }

    .nit-cols, .nit-two, .nit-pillars, .nit-polaroids, .nit-logos {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .nit-swatches {
        grid-template-columns: 1fr 1fr
    }

    .nit-sheet {
        padding: 32px 22px;
        transform: rotate(-.5deg)
    }

    .nit-type-row {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .nit-spec-anton {
        font-size: 56px
    }

    .nit-table td {
        display: block;
        width: auto;
        border-top: 0;
        padding: 4px 0
    }

    .nit-table tr {
        display: block;
        border-top: 1px dashed #7c6540;
        padding: 12px 0
    }

    .nit-table thead {
        display: none
    }

    .nit-never {
        columns: 1
    }

    .nit-paper-bg {
        padding: 14px 30px
    }

    .nit-polaroids .polaroid:nth-child(2) {
        margin-top: 0
    }
}

.nit-crossref {
    margin: 30px 0 0;
    color: #c1a079
}

.nit-crossref a {
    color: var(--orange);
    border-bottom: 1px dashed #ac773f
}

/* ------------------------------------------------------------------ */
/* Stran D: skriti načrt (/stran-d-3h8k). Gradi na razredih strani C.  */
/* ------------------------------------------------------------------ */

.plan-phases {
    list-style: none;
    padding: 0 !important;
    margin: 34px 0 10px !important;
    display: grid;
    gap: 0;
    border-left: 2px dashed #756148
}

.plan-phases > li {
    position: relative;
    padding: 0 0 34px 34px;
    margin: 0
}

.plan-phases > li:before {
    content: '';
    position: absolute;
    left: -9px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #17120e;
    border: 2px solid var(--orange)
}

.plan-phases > li.is-now:before {
    background: var(--orange);
    box-shadow: 0 0 18px #d0854599
}

.plan-phases b {
    display: block;
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.1;
    color: #d8c29b
}

.plan-phases .typed {
    color: var(--orange) !important
}

.plan-phases p {
    margin: 8px 0 0
}

.plan-goal {
    display: block;
    margin-top: 8px;
    font-family: 'Caveat', cursive;
    font-size: 23px;
    color: #d6b783
}

.nit-sheet .plan-goal {
    color: #7c4227
}

.plan-check {
    list-style: none;
    padding: 0 !important
}

.plan-check li {
    margin: 0;
    border-top: 1px dashed #75614866
}

.plan-check label {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 9px 0;
    cursor: pointer
}

.plan-check input {
    appearance: none;
    flex: 0 0 18px;
    height: 18px;
    margin: 4px 0 0;
    border: 1.5px solid currentColor;
    background: transparent;
    cursor: pointer;
    position: relative;
    transform: rotate(-3deg)
}

.plan-check input:checked:after {
    content: '×';
    position: absolute;
    inset: -9px 0 0 1px;
    font-family: 'Caveat', cursive;
    font-size: 28px;
    line-height: 1;
    color: var(--orange)
}

.nit-sheet .plan-check input:checked:after {
    color: #7c4227
}

.plan-check input:checked + span {
    text-decoration: line-through;
    text-decoration-color: var(--orange);
    opacity: .6
}

.plan-check input:focus-visible {
    outline: 2px dashed var(--orange);
    outline-offset: 3px
}

.plan-check small {
    display: block;
    font-size: 11px;
    opacity: .8
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0 26px;
    font-size: 13px
}

.plan-table th {
    text-align: left;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 0 14px 10px 0;
    color: #c1a079
}

.nit-sheet .plan-table th {
    color: #5a4630
}

.plan-table td {
    vertical-align: top;
    padding: 11px 14px 11px 0;
    border-top: 1px dashed #756148;
    line-height: 1.7;
    color: var(--muted)
}

.nit-sheet .plan-table td {
    color: inherit;
    border-color: #7c6540
}

.plan-table td:first-child {
    white-space: nowrap;
    color: #d8c29b
}

.nit-sheet .plan-table td:first-child {
    color: #1a130e
}

.plan-table .num {
    text-align: right;
    white-space: nowrap
}

.plan-table tfoot td {
    border-top: 2px solid var(--orange);
    font-family: 'Anton', Impact, sans-serif;
    font-size: 18px;
    color: #d8c29b
}

.plan-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin: 26px 0
}

.plan-card {
    background: #c9b996;
    color: #302419;
    padding: 20px 20px 18px;
    box-shadow: 3px 7px 16px #0008;
    position: relative
}

.plan-card:nth-child(odd) {
    transform: rotate(-1.5deg)
}

.plan-card:nth-child(even) {
    transform: rotate(1.2deg)
}

.plan-card b {
    display: block;
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.15;
    margin-bottom: 6px
}

.plan-card p, .plan-card li {
    color: #302419 !important;
    font-size: 12px !important;
    line-height: 1.7 !important
}

.plan-card .typed {
    color: #7c4227 !important
}

.plan-card .handwriting {
    font-size: 21px !important;
    color: #7c4227 !important;
    margin-top: 4px
}

.plan-warn {
    border: 1.5px dashed var(--orange);
    padding: 16px 20px;
    margin: 20px 0;
    transform: rotate(-.4deg)
}

.nit-sheet .plan-warn {
    border-color: #7c4227
}

.plan-warn p {
    margin: 0;
    max-width: none
}

.plan-src {
    font-size: 11px !important;
    line-height: 1.7 !important;
    columns: 2;
    column-gap: 40px;
    padding-left: 0 !important;
    list-style: none
}

.plan-src li {
    break-inside: avoid;
    margin-bottom: 8px
}

.plan-src a {
    color: #c1a079;
    border-bottom: 1px dotted #756148;
    word-break: break-word
}

.plan-src a:hover {
    color: var(--orange)
}

.plan-src .typed {
    display: inline !important;
    font-size: 9px;
    color: #8c7860 !important
}

.plan-conf {
    font-family: 'Caveat', cursive;
    font-size: 18px;
    color: var(--orange)
}

.nit-sheet .plan-conf {
    color: #7c4227
}

.plan-progress {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #17120ef2;
    border-bottom: 1px dashed #756148;
    padding: 10px 0;
    margin: 0 0 40px;
    color: #c1a079
}

.plan-progress span {
    color: var(--orange)
}

@media (max-width: 900px) {
    .plan-cards {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 600px) {
    .plan-cards {
        grid-template-columns: 1fr
    }

    .plan-src {
        columns: 1
    }

    .plan-phases b {
        font-size: 25px
    }

    .plan-table, .plan-table tbody, .plan-table tr, .plan-table td {
        display: block;
        width: auto
    }

    .plan-table thead {
        display: none
    }

    .plan-table tr {
        border-top: 1px dashed #756148;
        padding: 10px 0
    }

    .plan-table td {
        border: 0;
        padding: 2px 0;
        white-space: normal !important;
        text-align: left !important
    }

    .plan-table tfoot td {
        border: 0
    }
}

.plan-letter {
    margin: 12px 0 30px;
    padding: 18px 22px;
    border-left: 3px solid var(--orange);
    background: #ffffff0a;
    font-size: 13px;
    line-height: 1.8
}

.nit-sheet .plan-letter {
    border-color: #7c4227;
    background: #ffffff33
}

.plan-letter p {
    margin: 0 0 10px !important;
    max-width: none !important
}

.plan-letter p:last-child {
    margin: 0 !important
}

@media (max-width: 600px) {
    .plan-table td[data-label]:before {
        content: attr(data-label) ': ';
        font-size: 10px;
        letter-spacing: 1px;
        text-transform: uppercase;
        opacity: .7
    }
}

/* rotated sheets on tall private pages must not cause sideways scroll; clip keeps sticky working */
main.nit { overflow-x: clip }

/* ------------------------------------------------------------------ */
/* Stran E: skrita veriga (/stran-e-9v2t). Kateri plugin na kateri    */
/* kanal. Gradi na razredih strani C in D.                            */
/* ------------------------------------------------------------------ */

.v-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 26px;
    max-width: none !important;
    font-size: 11px !important
}

.v-dot {
    font-style: normal;
    color: var(--orange);
    font-size: 9px;
    vertical-align: 1px
}

.v-dot.is-open {
    color: #8c7860
}

.nit-sheet .v-dot {
    color: #7c4227
}

.v-jump {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 18px 0 0 !important
}

.v-jump a {
    border-bottom: 1px dotted #756148
}

.v-jump a:hover {
    color: var(--orange)
}

.v-table {
    table-layout: fixed
}

.v-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #17120e;
    padding: 12px 14px 10px 0;
    border-bottom: 1px solid #756148
}

.v-table thead th:first-child {
    width: 17%
}

.v-table td:first-child {
    white-space: normal;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: .3px
}

.v-table td:first-child em {
    display: block;
    font-family: 'Special Elite', 'Courier New', monospace;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange)
}

.v-num {
    display: block;
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: #8c7860
}

.v-table tr.is-bus td {
    background: #ffffff07
}

.v-table tr.is-bus td:first-child {
    padding-left: 10px;
    box-shadow: inset 3px 0 var(--orange)
}

.v-group {
    scroll-margin-top: 50px
}

.v-group th {
    padding: 46px 0 10px !important;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 30px !important;
    letter-spacing: 1px !important;
    color: #d8c29b !important;
    border-bottom: 2px solid var(--orange)
}

.v-group th span {
    display: block;
    margin-top: 2px;
    font-family: 'Caveat', cursive;
    font-size: 21px;
    letter-spacing: 0;
    color: var(--orange)
}

.v-rec + .v-rec {
    margin-top: 10px
}

.v-rec b {
    display: block;
    font-weight: 400;
    color: #d8c29b
}

.v-rec b.v-none {
    color: #8c7860;
    letter-spacing: 1px
}

.v-set {
    display: block;
    color: var(--paper)
}

.v-rec small {
    display: block;
    font-size: 11px;
    line-height: 1.6;
    opacity: .75
}

.v-gap td {
    font-family: 'Special Elite', 'Courier New', monospace !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    color: #8c7860 !important;
    white-space: normal !important
}

.veriga .nit-sheet .plan-table td:first-child {
    white-space: normal;
    width: 24%
}

@media (max-width: 600px) {
    .v-table thead {
        display: none
    }

    .v-table tr.v-group, .v-table tr.v-group th {
        display: block
    }

    .v-table td:first-child {
        font-size: 22px
    }

    .v-table td:first-child:before {
        content: none !important
    }

    .v-table td[data-label]:not(:first-child) {
        padding: 8px 0 !important
    }

    .v-table td[data-label]:not(:first-child):before {
        display: block;
        color: var(--orange);
        opacity: 1
    }

    .v-table tr.is-bus {
        padding-left: 12px;
        background: #ffffff07;
        box-shadow: inset 3px 0 var(--orange)
    }

    .v-table tr.is-bus td, .v-table tr.is-bus td:first-child {
        background: none;
        box-shadow: none;
        padding-left: 0 !important
    }
}

/* Stran E: zavihka (kaj gre kam / zaporedje) in trakovi kanalov */
.v-tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 8px !important
}

.v-tabs button {
    padding: 11px 18px 9px;
    background: transparent;
    color: #c1a079;
    border: 1.5px dashed #756148;
    font-size: 11px;
    letter-spacing: 2px
}

.v-tabs button:hover {
    color: var(--orange)
}

.v-tabs button[aria-selected="true"] {
    background: var(--orange);
    border: 1.5px solid var(--orange);
    color: #17120e;
    transform: rotate(-1deg)
}

.v-panel[hidden] {
    display: none
}

.z-todo {
    margin: 22px 0 30px
}

.z-todo ol {
    margin: 10px 0 0
}

.z-todo li {
    margin-bottom: 10px;
    max-width: 820px
}

.z-todo b {
    color: #d8c29b
}

.z-first {
    max-width: 820px !important;
    padding-left: 18px;
    border-left: 3px solid var(--orange)
}

.z-first b {
    color: #d8c29b
}

.z-group {
    margin: 50px 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange);
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    font-size: 30px;
    letter-spacing: 1px;
    color: #d8c29b
}

.z-group span {
    display: block;
    font-family: 'Caveat', cursive;
    font-size: 21px;
    letter-spacing: 0;
    color: var(--orange)
}

.z-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start
}

.z-strip {
    padding: 16px 16px 12px;
    border: 1px dashed #756148;
    background: #ffffff05
}

.z-strip.is-bus {
    border: 1px solid var(--orange);
    background: #d0854512
}

.z-strip.is-new {
    border: 2px solid var(--orange);
    background: #d0854524
}

.z-strip h4 {
    margin: 0 0 10px;
    font-family: 'Anton', Impact, sans-serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.15;
    color: #d8c29b
}

.z-strip h4 em {
    font-family: 'Special Elite', 'Courier New', monospace;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    vertical-align: 3px
}

.z-strip ol {
    list-style: none;
    counter-reset: slot;
    margin: 0 0 10px !important;
    padding: 0 !important
}

.z-strip li {
    counter-increment: slot;
    position: relative;
    margin: 0 0 5px;
    padding: 7px 10px 6px 38px;
    background: #17120e;
    border: 1px solid #756148;
    line-height: 1.5 !important
}

.z-strip li:before {
    content: counter(slot);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 28px;
    display: grid;
    place-items: center;
    background: #756148;
    color: #17120e;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 15px
}

.z-strip li.is-opt {
    border-style: dashed;
    opacity: .75
}

.z-strip li.is-opt:before {
    background: transparent;
    color: #8c7860;
    border-right: 1px dashed #756148
}

.z-strip li.is-empty:before {
    content: '–'
}

.z-strip li b {
    display: block;
    font-weight: 400;
    color: #d8c29b
}

.z-strip li span {
    display: block;
    font-size: 11px;
    color: var(--muted)
}

.z-route {
    margin: 0 0 2px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: var(--paper) !important
}

.z-route .typed {
    display: inline-block !important;
    width: 52px;
    margin: 0 !important;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--orange) !important
}

.z-note {
    margin: 8px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.6 !important
}

@media (max-width: 900px) {
    .z-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width: 600px) {
    .z-grid {
        grid-template-columns: 1fr
    }

    .v-tabs button {
        flex: 1 1 100%
    }
}

/* Stran E: seznam sprememb in razpredelnica Nevermind */
.z-h {
    margin-top: 26px !important;
    color: var(--orange) !important
}

.z-lead {
    max-width: 820px !important
}

.z-lead .plan-conf {
    white-space: nowrap
}

.v-panel .plan-check {
    max-width: 900px;
    margin-bottom: 30px
}

.v-panel .plan-check b {
    color: #d8c29b
}

.n-table td:first-child {
    width: 14%;
    white-space: normal
}

.n-table td:nth-child(2) {
    width: 40%
}

@media (max-width: 600px) {
    .veriga .nit-sheet .plan-table td:first-child, .n-table td:first-child, .n-table td:nth-child(2) {
        width: auto
    }
}

/* Stran E: klik na plugin odpre nastavitve */
.z-strip li details summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 18px
}

.z-strip li details summary::-webkit-details-marker {
    display: none
}

.z-strip li details summary:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 16px;
    color: var(--orange)
}

.z-strip li details[open] summary:after {
    content: '–'
}

.z-strip li details summary:hover b {
    color: var(--orange)
}

.z-strip li details summary:focus-visible {
    outline: 2px dashed var(--orange);
    outline-offset: 4px
}

.z-strip li:has(details[open]) {
    border-color: var(--orange);
    opacity: 1
}

.z-how {
    margin: 10px 0 4px;
    padding-top: 10px;
    border-top: 1px dashed #756148
}

.z-how .typed {
    display: block;
    margin: 0 0 4px !important;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--orange) !important
}

.z-strip .z-goal {
    list-style: '→ ';
    margin: 0 0 10px !important;
    padding: 0 0 0 16px !important
}

.z-strip .z-goal li {
    counter-increment: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: var(--paper)
}

.z-strip .z-goal li:before {
    content: none
}

.z-how table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 10px
}

.z-how th, .z-how td {
    padding: 4px 0;
    border-top: 1px dotted #75614899;
    vertical-align: top;
    text-align: left;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400
}

.z-how th {
    width: 38%;
    padding-right: 8px;
    color: #c1a079
}

.z-how td {
    color: var(--paper)
}

.z-how p {
    margin: 0 0 8px !important;
    font-size: 11px !important;
    line-height: 1.6 !important
}

.z-how .z-preset {
    color: #d8c29b !important;
    font-size: 12px !important
}

/* Stran E: razlaga trika nad skupino trakov */
.z-trick {
    margin: 0 0 22px;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--orange)
}

.z-trick p {
    max-width: 820px !important;
    margin: 0 0 10px !important
}

.z-trick b {
    color: #d8c29b
}

/* ------------------------------------------------------------------ */
/* Stran F: skrita tabla (/stran-f-6r1p). Plutovinasta tabla s slikami, */
/* lističi in nitkami. Logika je v tabla.js.                            */
/* ------------------------------------------------------------------ */
body:has(main.tabla) {
    overflow: hidden;
    overscroll-behavior: none
}

body:has(main.tabla) > header, body:has(main.tabla) > footer, body:has(main.tabla) > .skip {
    display: none
}

.tabla {
    position: fixed;
    inset: 0;
    color: var(--paper)
}

.tabla [hidden] {
    display: none !important
}

.t-view {
    position: absolute;
    inset: 0;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    background-color: #5f4129;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .05 0 0 0 0 .02 0 0 0 -1.5 1.05'/%3E%3C/filter%3E%3Crect width='320' height='320' fill='%235f4129'/%3E%3Crect width='320' height='320' filter='url(%23c)' opacity='.7'/%3E%3C/svg%3E")
}

/* ena topla žarnica nad tablo, robovi v temi */
.t-view:after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, #ffb0552b, transparent 65%), radial-gradient(ellipse 85% 85% at 50% 42%, transparent 45%, #0c0805c9 100%)
}

.t-view:active {
    cursor: grabbing
}

.t-world {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    transform-origin: 0 0
}

.t-threads {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: visible;
    pointer-events: none;
    z-index: 2147483000
}

.t-thread path {
    fill: none;
    stroke: #b3402a;
    stroke-width: 2.4;
    stroke-linecap: round;
    filter: drop-shadow(0 3px 2px #0009)
}

.t-thread .hit {
    stroke: transparent;
    stroke-width: 18;
    pointer-events: stroke;
    cursor: pointer;
    filter: none
}

.t-thread.selected path:not(.hit) {
    stroke: #f0a25c;
    stroke-width: 3.6
}

.t-card {
    position: absolute;
    margin: 0;
    transform: rotate(var(--rot, 0deg));
    color: var(--ink);
    background: #e4d1a6;
    box-shadow: 0 1px 1px #0006, 0 10px 18px -6px #000b;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none
}

.linking .t-card {
    cursor: crosshair
}

.t-card.selected {
    outline: 2px dashed var(--orange);
    outline-offset: 5px
}

.t-pin {
    position: absolute;
    top: 3px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #f6bd8a, #b9552a 55%, #5a2210);
    box-shadow: 0 3px 3px #000a;
    pointer-events: none;
    z-index: 1
}

.t-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    outline: 0;
    min-height: 1.5em
}

.t-text:empty:before {
    content: attr(data-empty);
    opacity: .45
}

.t-card.editing {
    cursor: text;
    outline: 2px solid var(--orange);
    outline-offset: 5px
}

.t-card.editing .t-text {
    user-select: text;
    -webkit-user-select: text
}

.t-note {
    padding: 24px 16px 18px;
    font-size: 15px;
    line-height: 1.5
}

.t-note[data-color=orange] {
    background: #d68d4c
}

.t-note[data-color=yellow] {
    background: #e2c35e
}

.t-note[data-color=blue] {
    background: #93aaa8
}

.t-note[data-color=ink] {
    background: #231a14;
    color: var(--paper);
    box-shadow: 0 0 0 1px #ad9a8030, 0 10px 18px -6px #000b
}

/* naslov: rokopis na papirnatem lepilnem traku */
.t-heading {
    padding: 14px 20px 4px;
    background: #dccba2e8;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 38px;
    line-height: 1.05;
    text-align: center;
    clip-path: polygon(0 6%, 2% 0, 98% 3%, 100% 0, 100% 96%, 98% 100%, 3% 97%, 0 100%)
}

.t-heading.selected, .t-heading.editing {
    clip-path: none
}

/* slika: polaroid s podpisom */
.t-image {
    padding: 10px 10px 4px;
    background: #efe7d4
}

.t-image img {
    display: block;
    width: 100%;
    min-height: 60px;
    background: #2a1f17;
    filter: sepia(.12) saturate(.92)
}

.t-image .t-text {
    padding: 6px 4px 2px;
    font-family: 'Caveat', cursive;
    font-size: 24px;
    line-height: 1.1;
    text-align: center
}

.t-link {
    padding: 24px 16px 12px;
    font-size: 15px;
    line-height: 1.45;
    background: #d9c69c;
    border-left: 5px solid var(--orange)
}

.t-url {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #1a130e55;
    font-size: 11px;
    letter-spacing: 1px;
    color: #8a4a1c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.t-url[href]:hover {
    text-decoration: underline
}

.t-grip {
    display: none;
    position: absolute;
    right: -12px;
    bottom: -12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange);
    border: 3px solid #17120e;
    cursor: ew-resize
}

.t-card.selected .t-grip {
    display: block
}

/* orodne vrstice */
.t-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 10px;
    background: #17120eeb;
    border: 1px solid #ad9a8030;
    box-shadow: 0 8px 20px -8px #000;
    font-size: 12px;
    letter-spacing: 1px
}

.t-bar button, .t-bar select, .t-home {
    height: 32px;
    padding: 0 11px;
    color: var(--paper);
    background: #2a1f17;
    border: 1px solid #ad9a8040;
    font: inherit;
    letter-spacing: inherit;
    line-height: 30px;
    cursor: pointer
}

.t-bar select {
    max-width: 46vw
}

.t-bar button:hover, .t-home:hover {
    border-color: var(--orange);
    color: #f0d9b0
}

.t-bar button:focus-visible, .t-bar select:focus-visible, .t-home:focus-visible {
    outline: 2px dashed var(--orange);
    outline-offset: 2px
}

.t-home {
    font-family: 'Anton', Impact, sans-serif;
    font-size: 16px;
    color: var(--orange);
    background: none
}

.t-top {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 10
}

.t-gap {
    flex: 1
}

.t-status {
    color: var(--muted);
    font-size: 11px;
    margin-right: 6px
}

.t-status.bad {
    color: #ff8f6b
}

.t-zoom {
    min-width: 44px;
    text-align: center;
    color: var(--muted)
}

.t-bottom {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none
}

.t-bottom > * {
    pointer-events: auto
}

.t-bottom .t-bar {
    justify-content: center
}

.t-tools button {
    color: #17120e;
    background: var(--orange);
    border-color: var(--orange)
}

.t-tools button:hover {
    color: #17120e;
    background: #e09a5c
}

.tabla .t-hint {
    margin: 0;
    padding: 2px 14px;
    font-size: 24px;
    color: #f0d9b0;
    background: #17120ed9;
    transform: rotate(-1deg)
}

/* prijava */
.t-login {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #120d09e6
}

.t-login-sheet {
    width: min(360px, 100%);
    display: flex;
    flex-direction: column;
    gap: 14px
}

.t-login h1 {
    margin: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 64px;
    line-height: 1;
    text-transform: uppercase
}

.t-login .orange {
    color: var(--orange)
}

.t-login p {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted)
}

.t-login label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c1a079
}

.t-login input {
    height: 44px;
    padding: 0 12px;
    font: 16px 'Special Elite', 'Courier New', monospace;
    color: var(--ink);
    background: #e4d1a6;
    border: 0
}

.t-login input:focus-visible {
    outline: 2px dashed var(--orange);
    outline-offset: 3px
}

.t-login button {
    height: 46px;
    margin-top: 6px;
    color: #17120e;
    background: var(--orange);
    border: 0;
    letter-spacing: 2px;
    text-transform: uppercase
}

.t-login-msg {
    min-height: 1.4em;
    font-size: 13px;
    color: #ff8f6b
}

.t-photo {
    padding: 0;
    border: 0;
    background: none;
    max-width: 94vw;
    max-height: 94vh;
    cursor: zoom-out
}

.t-photo::backdrop {
    background: #0b0705ee
}

.t-photo img {
    display: block;
    max-width: 94vw;
    max-height: 94vh;
    border: 10px solid #efe7d4
}

@media (max-width: 640px) {
    .t-status, .t-zoom {
        display: none
    }

    .t-bar {
        padding: 6px
    }

    .t-bar button, .t-bar select, .t-home {
        padding: 0 9px
    }
}

/* Stran F: razveljavi / uveljavi, deljenje, tabla samo za ogled */
.t-bar button:disabled {
    opacity: .35;
    cursor: default;
    border-color: #ad9a8040;
    color: var(--paper)
}

.tabla.shared .t-own, .tabla.readonly .t-edit, .tabla.readonly .t-sel {
    display: none
}

.tabla.readonly .t-card, .tabla.readonly .t-thread .hit {
    cursor: inherit
}

.tabla.readonly .t-image img {
    cursor: zoom-in
}

.t-share {
    width: min(620px, 94vw);
    padding: 0;
    border: 1px solid #ad9a8040;
    color: var(--paper);
    background: #17120e;
    box-shadow: 0 30px 80px #000
}

.t-share::backdrop {
    background: #0b0705cc
}

.t-share-sheet {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px
}

.t-share h2 {
    margin: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 34px;
    line-height: 1.05;
    text-transform: uppercase
}

.t-share p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted)
}

.t-share-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 6px 0;
    font-size: 13px;
    color: var(--muted)
}

.t-share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px
}

.t-share-mode {
    flex: 0 0 96px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #93aaa8
}

.t-share-mode[data-mode=edit] {
    color: var(--orange)
}

.t-share-row input {
    flex: 1 1 200px;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    font: 12px 'Special Elite', 'Courier New', monospace;
    color: var(--ink);
    background: #e4d1a6;
    border: 0
}

.t-share button {
    height: 34px;
    padding: 0 12px;
    color: var(--paper);
    background: #2a1f17;
    border: 1px solid #ad9a8040;
    font-size: 12px;
    letter-spacing: 1px
}

.t-share button:hover {
    border-color: var(--orange)
}

.t-share-new {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.t-share-new [data-share-new] {
    color: #17120e;
    background: var(--orange);
    border-color: var(--orange)
}

.t-share-close {
    margin-left: auto
}

.t-bar [data-act=undo], .t-bar [data-act=redo] {
    font: 20px/28px system-ui, sans-serif;
    padding: 0 9px
}

.tabla .t-share p {
    font-family: 'Special Elite', 'Courier New', monospace;
    text-align: left;
    transform: none
}
