/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   
    /* ==================== FONTS ==================== */
      @font-face {
        font-family: 'AlmendraSC';
        src: url('https://strayze.neocities.org/Tools/Almendra_SC/AlmendraSC-Regular.ttf') format('truetype');
      }
      @font-face {
        font-family: 'MoonFlower';
        src: url('https://strayze.neocities.org/Tools/moon-flower-font/MoonFlower-YzXXq.ttf') format('truetype');
      }
      @font-face {
        font-family: 'PrintClearly';
        src: url('https://strayze.neocities.org/Tools/print-clearly-font/PrintBold-J5o.ttf') format('truetype');
      }
      @font-face {
        font-family: 'Linlegrey';
        src: url('https://strayze.neocities.org/Tools/linlegrey-font/LinlegreyRegular-Oo3O.ttf') format('truetype');
      }
      @font-face {
        font-family: 'SilverBrown';
        src: url('https://strayze.neocities.org/Tools/silver-brown-font/SilverBrown-WpjqO.ttf') format('truetype');
      }
      @font-face {
        font-family: 'AnandaBlack';
        src: url('https://strayze.neocities.org/Tools/ananda-black-font/AnandaBlackPersonalUseRegular-rg9Rx.ttf') format('truetype');
      }
      
      /* ==================== BODY==================== */
      body {
        height: 100%;
        min-height: 100vh;
        margin: 0;
        font-family: helvetica, sans-serif;
        
        background-image: url("https://strayze.neocities.org/opalstone/IMAGES/Background/Opasltone_background.png");
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        background-size: cover;
      }
      
      /* ======================================================= */
      /* ==================== MISCELLANEOUS ==================== */
      .site-footer {
        text-align: center;
        padding: 20px;
        font-size: 0.8rem;
        opacity: 0.7;
      }
      
      /* PHONE MESSAGE */
      .phone-message {
        display: none;
      }
      @media (max-width: 700px) {
        body > *:not(.phone-message) {
          display: none;
        }
        .phone-message {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: flex-start;
          padding-top: 15vh;
          height: 100vh;
          text-align: center;
          color: white;
          padding: 20px;
          font-size: 1.5rem;
          background: black;
          gap: 20px;
        }
        .phone-message img {
          max-width: 300px;
          width: 70%;
          height: auto;
        }
      }
      
      /* ==================== ANNOUNCEMENT ==================== */
      .announcement {
        padding: 10px; 
        padding-bottom: 30px;
        text-align: center;
        
        font-family: 'PrintClearly';
        font-weight: bold;
        font-size: 170%;
        
        border-bottom: none;
        position: relative;
      }
      .babytext {
        font-size: 90%;
      }
      .announcement::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent);
      }
      
      /* ================================================= */
      /* ==================== CONTENT ==================== */
      .main-container {
        position: relative;
        background: linear-gradient(#EEE9F0, #EEE9F0, #DACEE0);
        width: 88%;
        max-width: 2000px;
        margin: 0px auto 0;
        padding-bottom: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        min-height: 100vh;
      }
      .title {
        background-image: url("https://strayze.neocities.org/opalstone/IMAGES/Background/Opalstone_banner.png");
        background-size: cover;
        background-position: center;
        text-align: center;
        font-family: Georgia;
        font-weight: bold;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        height: 350px;
        width: 100%;
        margin-bottom: 30px;
      }
      .title h1 {
        color: black;
        font-size: clamp(3rem, 8vw, 8.5rem);
        margin: 0;
      }
      .highlight {
        color: #F3BE96;
      }
      .subtitle {
        background-image: url("https://strayze.neocities.org/opalstone/IMAGES/Background/Opalstone_banner.png");
        background-size: cover;
        background-position: center;
        text-align: center;
        font-family: Georgia;
        font-weight: lighter;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        height: 350px;
        width: 100%;
        margin-bottom: 80px;
      }
      .subtitle h1 {
        color: black;
        font-size: clamp(3rem, 5vw, 8.5rem);
        margin: 0;
      }
      
      h2, h3, h4, h5, h6 {
        font-weight: normal;
        margin: 20px; 
      }
      .home-button {
        position: absolute;
        text-decoration: none;
        color: #EEE9F0;

        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        padding: 17px 20px;
        
        top: 280px;
        left: 10px;

        cursor: pointer;
        transition: transform 0.2s ease;
      }
      .home-button:hover {
        transform: scale(1.05);
      }
      
      
      
    /* ==================== BOXES ==================== */
      .wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        width: 90%;
        max-width: 1200px;
        height: 250px;
        gap: 40px;
        margin: 80px auto 0 auto;
      }
      .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        
        width: 22%;
        height: 50%;
        min-height: 195px;
        
        padding-top: 0px;
        padding-bottom: 20px;
        
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
      }
      .container:last-child {
        margin-left: 10%;
      }
      .container:hover {
        transform: scale(1.05);
      }
      .container h4 {
        font-size: clamp(0.8rem, 1.5vw, 1.2rem);
      }
      .container img {
        position: relative;
        width: 70%;
        height: auto;
      }
      .cont1 img {
        margin-top: 5%;
      }
      .cont2 img {
        margin-top: -2%;
      }
      .cont3 img {
        width: 50%;
      }
      
      /* ==================== MAIN TABS ==================== */
      .tab-content {
        background-image:
          linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)),
          url("https://strayze.neocities.org/opalstone/IMAGES/Background/Opalstone_banner.png");
        background-size: cover;
        background-position: center;
        font-variant: small-caps;
        font-size: 100%;
        display: none;
        border-radius: 15px;
        padding: 40px 20px 40px 20px;
        box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.2);
        width: 80%;
        margin: 50px auto;
      }
      .tab-content.active {
        display: block;
      }
      
      /* ==================== CHARACTERS TAB ==================== */
      .chara-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
        
        text-align: center;
        justify-content: center;
        
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
      }
      
      .chara-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        letter-spacing: 0.1rem;
        
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        
        width: 15%;
        height: 180px;
        padding-bottom: 20px;
        
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
      }
      
      .chara-container:hover {
        transform: scale(1.05);
      }
      
      .chara-container img {
        position: relative;
        width: 70%;
        height: auto;
        border-radius: 50%;
        border: 5px solid rgba(255, 255, 255, 0.3);
        margin-top: -5%;
      }
      
      
      .character {
        font-variant: normal;
      }
      
      .character-top {
        display: flex;
        align-items: flex-start;
        text-align: justify;
      }
      .character-image {
        float: left;
        width: 40%;
        margin: 0 50px 20px 40px;
      }
      .character-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        display: block;
      }
      
      .profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
      }
      .character-title {
        margin: 0 30px 40px;
        font-family: 'Silverbrown';
        font-size: 5rem;
        text-align: center;
      }
      .character-profile {
        justify-content: center;
        margin: 10px auto;
        line-height: 30px;
      }
      .body-type {
        height: 1.7em;
        width: auto;
        vertical-align: middle;
      }
      .character-closeup {
        position: relative;
        margin: 30px 0 0 0;
        align-self: center;
      }
      .character-closeup img {
        width: 90%;
      }
      
      .line-divider {
        height: 1px;
        background: lightgrey;
        margin: 15px 0;
        opacity: 1;
      }
      
      .character-text {
        margin: 30px 20px;
        text-align: justify;
      }
      
      /* ==================== KINGDOMS TAB ==================== */
      .kingdom-wrapper {
        display: flex;
        flex-direction: column;
        gap: 40px;
        
        text-align: center;
        justify-content: center;
        
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
      }
      .kingdom-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        letter-spacing: 0.1rem;
        
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        
        width: 15%;
        height: 180px;
        padding-bottom: 20px;
        
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
      }
      .kingdom-container:hover {
        transform: scale(1.05);
      }
      .kingdom-container img {
        position: relative;
        width: 80%;
        height: auto;
        margin-top: -5%;
      }
      a.container {
        text-decoration: none;
        color: inherit;
      }
      
      .ancientK {
        margin-top: 40px;
      }
      
      
      
      .button-row {
        display: flex;
        flex-direction: row;
        gap: 40px;
        justify-content: center;
      }
      
      .expand-content {
        background-color: #F8F7FA;
        border-radius: 15px;
        padding: 40px 20px;
        box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.15);
      
        width: 90%;
        max-width: 1200px;
      
        margin: 20px auto;
      }
      
      
      
      /* ==================== DIVIDER ==================== */
      .divider {
        background-image:
          linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)),
          url("https://strayze.neocities.org/opalstone/IMAGES/Background/Opalstone_banner.png");
        background-size: cover;
        background-position: center;
        border-radius: 15px;
        padding: 10px 10px 10px 10px;
        box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.2);
        width: 80%;
        margin: 40px auto 40px auto;
      }
      
      
      
      /* ============================================= */
      /* ==================== MAP ==================== */
      .map {
        position: relative;
        width: 65%;
        max-width: 1200px;
        aspect-ratio: 19 / 9;
        margin: 60px auto;
        
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      }
      .piece {
        position: absolute;
        transition: filter 0.2s ease;
        z-index: 1;
      }
      .piece:hover {
        filter: brightness(1.2);
        filter: drop-shadow(0 0 8px lightpink);
        z-index: 10;
      }
      .piece img {
        width: 100%;
        height: 100%;
        display: block;
      }
      
      /* ==================== MAP NAMES ==================== */
      .piece-text {
        font-family: 'AlmendraSC', sans-serif;
        font-size: clamp(10px, 1.5vw, 19px);
        font-weight: bold;
        color: dimgray;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.2s ease;
        z-index: 20;
        pointer-events: none;
      }
      .piece-wrapper:hover .piece-text {
        filter: brightness(1.2);
        color: black;
      }
      .Taelyphen {
        top: 33%;
        left: 35%;
      }
      .Tasheros {
        top: 60%;
        left: 25%;
      }
      .Tdaan {
        top: 32%;
        left: 55%;
      }
      .Tdaellion {
        top: 40%;
        left: 53%;
      }
      .Tcynh {
        top: 45%;
      }
      .Tedehlys {
        left: 57%;
      }
      .Tezrath {
        top: 48%;
        left: 45%;
      }
      .Tilkyrgath {
        top: 60%;
        left: 47%;
      }
      .Tkinashra {
        left: 18%;
      }
      .Tkyrn {
        top: 40%;
        left: 68%;
      }
      .Tminecia {
        top: 39%;
        left: 49%;
      }
      .Tnevya {
        top: 65%;
        left: 65%;
      }
      .Tollenbell {
        top: 51%;
        left: 48%;
      }
      .Tondra {
        top: 40%;
        left: 57%;
      }
      .Toros {
        top: 46%;
        left: 55%;
      }
      .Tqiva {
        top: 43%;
        left: 36%;
      }
      .Treshka {
        top: 33%;
      }
      .Tsaksha {
        top: 60%;
      }
      .Tsheorn {
        top: 63%;
        left: 35%;
      }
      .Tsirrem {
        top: 51%;
        left: 47%;
      }
      .Tsphyrna {
        top: 38%;
        left: 44%;
      }
      .Tvyshkali {
        top: 42%;
        left: 52%;
      }
      .Txhyln {
        top: 67%;
        left: 38%;
      }
      
      /* ==================== MAP PIECES ==================== */
      .piece-wrapper {
        position: absolute;
      }
      .piece-aelyphen {
        top: 28.65%;
        left: 3.75%;
        width: 11.63%;
        height: 35.26%;
        object-fit: contain;
      }
      .aelyphen {
        clip-path: polygon(100% 30%, 88% 22%, 89% 9%, 72% 0%, 46% 0%, 27% 0%, 16% 13%, 14% 23%, 19% 36%, 19% 37%, 10% 46%, 0% 64%, 4% 91%, 11% 100%, 35% 100%, 41% 90%, 45% 75%, 65% 60%, 80% 46%, 93% 38%, 100% 34%);
      }
      .piece-arya {
        top: 50.76%;
        left: 35%;
        width: 9%;
        height: 17.56%;
        object-fit: contain;
      }
      .arya {
        clip-path: polygon(72% 20%, 79% 18%, 93% 22%, 96% 40%, 90% 43%, 81% 59%, 100% 63%, 100% 74%, 86% 85%, 86% 95%, 73% 100%, 67% 100%, 60% 85%, 54% 100%, 48% 100%, 41% 92%, 26% 99%, 20% 92%, 22% 82%, 29% 75%, 20% 74%, 11% 80%, 7% 62%, 0% 57%, 0% 49%, 11% 38%, 21% 42%, 21% 35%, 14% 24%, 13% 13%, 28% 13%, 33% 21%, 42% 11%, 54% 3%, 65% 0%, 71% 4%);
      }
      .piece-asheros {
        bottom: 21.14%;
        left: 8.58%;
        width: 9.95%;
        height: 16.78%;
        object-fit: contain;
      }
      .asheros {
        clip-path: polygon(1% 0%, 26% 0%, 36% 14%, 51% 14%, 56% 39%, 64% 26%, 71% 34%, 74% 55%, 85% 58%, 95% 72%, 100% 80%, 100% 94%, 80% 100%, 55% 100%, 34% 96%, 29% 84%, 16% 63%, 17% 54%, 2% 24%, 0% 13%);
      }
      .piece-cynh {
        top: 25.85%;
        right: 38.3%;
        width: 8.37%;
        height: 19.78%;
        object-fit: contain;
      }
      .cynh {
        clip-path: polygon(81% 14%, 80% 1%, 88% 0%, 97% 7%, 96% 23%, 100% 30%, 100% 46%, 92% 48%, 87% 57%, 95% 64%, 91% 76%, 100% 89%, 100% 94%, 76% 94%, 62% 100%, 56% 100%, 39% 93%, 45% 87%, 36% 80%, 34% 69%, 7% 67%, 0% 61%, 0% 35%, 13% 34%, 31% 18%, 38% 7%, 57% 5%, 61% 13%);
      }
      .piece-daan {
        top: 34.11%;
        left: 20.6%;
        width: 14.16%;
        height: 26.70%;
        object-fit: contain;
      }
      .daan {
        clip-path: polygon(89% 99%, 95% 86%, 87% 80%, 94% 71%, 100% 67%, 100% 38%, 96% 34%, 86% 34%, 79% 23%, 76% 15%, 66% 7%, 49% 16%, 21% 1%, 0% 0%, 0% 13%, 5% 16%, 13% 26%, 31% 43%, 56% 54%, 66% 50%, 68% 63%, 73% 79%, 71% 89%, 81% 91%, 83% 100%);
      }
      .piece-daellion {
        top: 43.4%;
        right: 38.2%;
        width: 11.54%;
        height: 23%;
        object-fit: contain;
      }
      .daellion {
        clip-path: polygon(70% 67%, 77% 71%, 77% 76%, 68% 92%, 61% 91%, 54% 100%, 46% 100%, 42% 96%, 32% 96%, 27% 89%, 10% 83%, 9% 78%, 0% 71%, 0% 67%, 3% 63%, 1% 60%, 2% 51%, 6% 53%, 9% 45%, 12% 47%, 14% 36%, 20% 31%, 19% 21%, 26% 18%, 27% 12%, 32% 11%, 34% 6%, 46% 2%, 53% 4%, 60% 1%, 70% 7%, 79% 0%, 86% 0%, 93% 2%, 97% 0%, 100% 0%, 100% 5%, 97% 11%, 99% 17%, 98% 30%, 91% 34%, 95% 50%, 91% 58%, 81% 59%, 72% 61%);
      }
      .piece-edehlys {
        top: 5.49%;
        right: 3.7%;
        width: 22.51%;
        height: 29.48%;
        object-fit: contain;
      }
      .edehlys {
        clip-path: polygon(67% 0%, 67% 19%, 64% 25%, 69% 29%, 72% 20%, 82% 22%, 84% 20%, 87% 21%, 89% 15%, 92% 17%, 98% 39%, 93% 54%, 95% 57%, 100% 53%, 100% 72%, 86% 68%, 81% 70%, 72% 69%, 69% 73%, 71% 75%, 69% 83%, 71% 92%, 67% 100%, 60% 97%, 59% 100%, 55% 100%, 52% 97%, 44% 94%, 42% 89%, 36% 98%, 32% 93%, 27% 91%, 21% 98%, 18% 97%, 10% 80%, 4% 77%, 6% 70%, 3% 60%, 0% 57%, 0% 38%, 2% 31%, 0% 28%, 0% 23%, 2% 20%, 2% 14%, 4% 6%, 6% 7%, 8% 9%, 12% 7%, 17% 8%, 20% 11%, 26% 13%, 31% 10%, 30% 5%, 34% 2%, 37% 3%, 37% 9%, 38% 15%, 43% 11%, 45% 11%, 48% 15%, 52% 7%, 61% 4%, 62% 0%);
      }
      .piece-ezrath {
        top: 7.57%;
        right: 19.64%;
        width: 20.14%;
        height: 47.67%;
        object-fit: contain;
      }
      .ezrath {
        clip-path: polygon(27% 0%, 42% 0%, 43% 8%, 47% 9%, 48% 13%, 58% 16%, 63% 12%, 74% 16%, 72% 22%, 74% 30%, 77% 32%, 79% 40%, 83% 42%, 91% 52%, 96% 55%, 96% 63%, 100% 67%, 100% 79%, 94% 80%, 93% 83%, 84% 83%, 80% 80%, 75% 80%, 68% 90%, 59% 86%, 53% 86%, 45% 79%, 41% 82%, 36% 86%, 30% 86%, 26% 93%, 25% 96%, 16% 99%, 10% 100%, 0% 100%, 0% 89%, 3% 86%, 3% 82%, 5% 77%, 2% 75%, 0% 67%, 0% 58%, 4% 55%, 4% 51%, 2% 48%, 3% 40%, 5% 38%, 8% 34%, 13% 34%, 16% 31%, 15% 26%, 9% 27%, 8% 21%, 9% 16%, 15% 13%, 19% 15%, 21% 11%, 21% 5%);
      }
      .piece-ilkyrgath {
        top: 27.37%;
        left: 39.48%;
        width: 14.68%;
        height: 40.67%;
        object-fit: contain;
      }
      .ilkyrgath {
        clip-path: polygon(79% 63%, 86% 68%, 80% 78%, 100% 89%, 100% 100%, 84% 100%, 74% 95%, 60% 94%, 49% 85%, 33% 78%, 32% 65%, 8% 53%, 0% 50%, 0% 37%, 5% 34%, 7% 26%, 0% 18%, 0% 0%, 14% 0%, 17% 18%, 24% 20%, 22% 34%, 34% 35%, 40% 45%, 43% 57%, 61% 65%);
      }
      .piece-kinashra {
        bottom: 5.96%;
        left: 42.5%;
        width: 9.18%;
        height: 10.67%;
        object-fit: contain;
      }
      .kinashra {
        clip-path: polygon(72% 26%, 80% 25%, 83% 36%, 88% 37%, 93% 59%, 100% 63%, 100% 74%, 96% 89%, 76% 96%, 74% 100%, 66% 100%, 46% 96%, 39% 100%, 25% 94%, 19% 86%, 11% 60%, 17% 56%, 15% 42%, 8% 36%, 0% 15%, 0% 0%, 18% 0%, 28% 6%, 52% 0%, 60% 4%, 62% 19%, 64% 36%, 69% 50%, 71% 39%, 68% 27%);
      }
      .piece-kyrn {
        bottom: 10.2%;
        right: 25.6%;
        width: 15.16%;
        height: 16.85%;
        object-fit: contain;
      }
      .kyrn {
        clip-path: polygon(50% 69%, 62% 80%, 66% 76%, 72% 92%, 82% 94%, 83% 86%, 93% 91%, 95% 74%, 92% 67%, 94% 64%, 100% 67%, 100% 47%, 94% 33%, 95% 16%, 79% 6%, 74% 9%, 68% 0%, 59% 0%, 54% 9%, 47% 7%, 40% 15%, 44% 25%, 43% 32%, 35% 34%, 30% 41%, 30% 29%, 26% 24%, 21% 27%, 17% 25%, 13% 34%, 16% 41%, 11% 53%, 8% 69%, 2% 69%, 0% 78%, 0% 90%, 4% 91%, 8% 100%, 12% 100%, 14% 96%, 16% 100%, 20% 100%, 22% 94%, 17% 85%, 23% 77%, 28% 75%, 32% 66%, 36% 69%, 39% 76%);
      }
      .piece-minecia {
        top: 21.1%;
        left: 29.2%;
        width: 12.75%;
        height: 29.89%;
        object-fit: contain;
      }
      .minecia {
        clip-path: polygon(98% 4%, 86% 1%, 72% 1%, 67% 5%, 59% 2%, 54% 3%, 40% 7%, 37% 0%, 26% 0%, 25% 10%, 15% 9%, 8% 24%, 0% 26%, 0% 32%, 5% 41%, 2% 50%, 12% 58%, 14% 68%, 26% 77%, 36% 79%, 44% 84%, 46% 100%, 56% 100%, 63% 89%, 61% 85%, 62% 83%, 67% 87%, 75% 84%, 84% 87%, 90% 83%, 86% 78%, 94% 67%, 95% 53%, 92% 49%, 89% 50%, 86% 47%, 86% 36%, 93% 19%, 100% 20%, 100% 10%);
      }
      .piece-nevya {
        top: 41.2%;
        left: 15.6%;
        width: 15%;
        height: 17.07%;
        object-fit: contain;
      }
      .nevya {
        clip-path: polygon(98% 27%, 100% 42%, 100% 97%, 87% 100%, 73% 100%, 53% 80%, 29% 79%, 13% 81%, 6% 58%, 9% 27%, 0% 8%, 0% 0%, 13% 0%, 22% 15%, 39% 23%, 58% 46%, 67% 41%, 78% 44%, 80% 31%);
      }
      .piece-ollenbell {
        top: 23.5%;
        left: 20.4%;
        width: 9.96%;
        height: 15.67%;
        object-fit: contain;
      }
      .ollenbell {
        clip-path: polygon(85% 41%, 92% 41%, 100% 60%, 97% 83%, 74% 100%, 54% 97%, 34% 80%, 0% 71%, 0% 53%, 6% 48%, 6% 36%, 4% 27%, 7% 17%, 21% 15%, 30% 6%, 37% 9%, 43% 0%, 50% 0%, 57% 4%, 61% 0%, 68% 11%, 69% 21%, 76% 26%, 78% 33%);
      }
      .piece-ondra {
        bottom: 16.77%;
        left: 15.33%;
        width: 11.02%;
        height: 27.85%;
        object-fit: contain;
      }
      .ondra {
        clip-path: polygon(36% 0%, 56% 13%, 80% 12%, 88% 26%, 89% 38%, 96% 40%, 97% 48%, 100% 57%, 91% 66%, 70% 69%, 57% 63%, 59% 78%, 69% 77%, 77% 90%, 66% 100%, 61% 100%, 48% 84%, 17% 100%, 0% 100%, 0% 74%, 8% 75%, 16% 78%, 22% 74%, 17% 69%, 22% 47%, 25% 27%, 23% 9%, 30% 0%);
      }
      .piece-oros {
        top: 17.55%;
        left: 42.33%;
        width: 9.32%;
        height: 19.93%;
        object-fit: contain;
      }
      .oros {
        clip-path: polygon(10% 0%, 8% 12%, 0% 13%, 0% 24%, 8% 40%, 13% 46%, 8% 62%, 6% 73%, 16% 89%, 17% 100%, 28% 100%, 37% 89%, 53% 99%, 70% 92%, 72% 100%, 82% 100%, 100% 85%, 100% 42%, 75% 25%, 53% 24%, 30% 31%, 20% 35%, 11% 27%, 17% 19%, 24% 10%, 21% 0%);
      }
      .piece-qiva {
        bottom: 27.186%;
        left: 27.89%;
        width: 7.51%;
        height: 10.56%;
        object-fit: contain;
      }
      .qiva {
        clip-path: polygon(77% 0%, 100% 46%, 100% 66%, 77% 82%, 55% 76%, 30% 93%, 26% 100%, 3% 100%, 2% 73%, 26% 71%, 42% 53%, 58% 49%, 66% 0%);
      }
      
      .piece-reshka {
        bottom: 32.6%;
        right: 18.39%;
        width: 10.74%;
        height: 23.81%;
        object-fit: contain;
      }
      .reshka {
        clip-path: polygon(96% 6%, 96% 20%, 100% 23%, 100% 29%, 89% 32%, 80% 59%, 79% 72%, 87% 78%, 92% 87%, 91% 100%, 67% 100%, 50% 94%, 47% 78%, 47% 71%, 49% 68%, 46% 59%, 22% 52%, 10% 44%, 4% 35%, 4% 24%, 0% 17%, 0% 13%, 10% 9%, 23% 19%, 27% 15%, 28% 10%, 38% 1%, 47% 3%, 50% 1%, 59% 8%, 67% 8%, 69% 0%, 78% 0%, 88% 2%);
      }
      .piece-saksha {
        bottom: 15.88%;
        right: 8.59%;
        width: 25.77%;
        height: 29.30%;
        object-fit: contain;
      }
      .saksha {
        clip-path: polygon(56% 38%, 54% 32%, 57% 27%, 63% 28%, 64% 24%, 73% 21%, 76% 32%, 78% 32%, 82% 41%, 89% 40%, 91% 46%, 92% 58%, 94% 60%, 100% 63%, 100% 92%, 97% 95%, 94% 93%, 90% 96%, 86% 96%, 84% 91%, 80% 93%, 77% 91%, 74% 95%, 63% 92%, 60% 98%, 56% 95%, 51% 100%, 41% 100%, 39% 97%, 37% 100%, 32% 100%, 30% 97%, 31% 91%, 26% 85%, 27% 76%, 23% 73%, 17% 72%, 13% 66%, 11% 69%, 11% 71%, 4% 73%, 0% 76%, 0% 66%, 2% 62%, 7% 58%, 14% 42%, 17% 43%, 18% 34%, 15% 35%, 14% 31%, 12% 15%, 15% 11%, 20% 9%, 23% 2%, 27% 2%, 28% 0%, 32% 0%, 42% 6%, 44% 15%, 44% 33%, 50% 38%);
      }
      .piece-sheorn {
        top: 33.1%;
        right: 42.65%;
        width: 5.81%;
        height: 11.89%;
        object-fit: contain;
      }
      .sheorn {
        clip-path: polygon(48% 82%, 72% 100%, 86% 100%, 100% 92%, 100% 79%, 91% 64%, 90% 46%, 55% 40%, 41% 38%, 37% 24%, 20% 0%, 7% 0%, 0% 15%, 0% 33%, 10% 43%, 14% 68%, 15% 90%, 46% 93%);
      }
      .piece-sirrem {
        bottom: 26.2%;
        left: 11.3%;
        width: 7.58%;
        height: 32.37%;
        object-fit: contain;
      }
      .sirrem {
        clip-path: polygon(44% 0%, 59% 1%, 77% 4%, 88% 12%, 91% 30%, 74% 39%, 80% 45%, 100% 49%, 100% 100%, 56% 100%, 29% 86%, 22% 78%, 22% 62%, 11% 62%, 0% 55%, 0% 35%, 21% 18%, 23% 6%);
      }
      .piece-sphyrna {
        top: 30.7%;
        right: 1.5%;
        width: 20.07%;
        height: 37.63%;
        object-fit: contain;
      }
      .sphyrna {
        clip-path: polygon(0% 6%, 8% 0%, 18% 5%, 23% 0%, 27% 0%, 29% 3%, 37% 6%, 41% 9%, 44% 4%, 51% 7%, 53% 5%, 61% 6%, 67% 10%, 70% 6%, 75% 9%, 80% 12%, 82% 6%, 87% 7%, 91% 26%, 93% 28%, 94% 32%, 100% 35%, 100% 43%, 91% 44%, 85% 49%, 85% 54%, 76% 59%, 73% 52%, 68% 55%, 59% 60%, 57% 67%, 53% 66%, 52% 70%, 47% 76%, 46% 100%, 39% 100%, 35% 93%, 32% 94%, 26% 85%, 20% 87%, 19% 89%, 11% 89%, 10% 91%, 6% 88%, 2% 80%, 2% 73%, 2% 70%, 7% 52%, 13% 50%, 10% 48%, 10% 40%, 4% 36%, 7% 26%, 0% 19%);
      }
      .piece-valhin {
        top: 18.5%;
        left: 14.32%;
        width: 7.95%;
        height: 21.22%;
        object-fit: contain;
      }
      .valhin {
        clip-path: polygon(36% 12%, 13% 4%, 4% 10%, 8% 24%, 2% 33%, 2% 40%, 9% 48%, 0% 50%, 0% 76%, 11% 78%, 30% 100%, 40% 100%, 44% 90%, 59% 89%, 64% 93%, 77% 91%, 85% 95%, 92% 92%, 85% 82%, 94% 75%, 91% 73%, 80% 72%, 91% 63%, 92% 46%, 92% 37%, 85% 34%, 100% 26%, 93% 17%, 100% 12%, 99% 2%, 67% 2%, 62% 0%, 54% 0%, 51% 6%, 41% 6%);
      }
      .piece-vyshkali {
        top: 14.2%;
        left: 20.7%;
        width: 13.18%;
        height: 16.48%;
        object-fit: contain;
      }
      .vyshkali {
        clip-path: polygon(92% 66%, 81% 69%, 75% 95%, 62% 100%, 45% 80%, 43% 67%, 32% 64%, 26% 73%, 14% 78%, 0% 78%, 0% 41%, 16% 29%, 15% 8%, 30% 18%, 58% 0%, 90% 3%, 91% 24%, 100% 38%, 100% 51%);
      }
      .piece-xhyln {
        bottom: 25.45%;
        right: 26.75%;
        width: 13.56%;
        height: 28.83%;
        object-fit: contain;
      }
      .xhyln {
        clip-path: polygon(76% 1%, 80% 5%, 84% 5%, 90% 11%, 90% 21%, 93% 24%, 93% 26%, 100% 31%, 100% 42%, 95% 43%, 94% 40%, 91% 39%, 85% 47%, 78% 46%, 76% 49%, 72% 49%, 77% 63%, 77% 74%, 72% 76%, 66% 79%, 48% 99%, 43% 100%, 32% 100%, 32% 91%, 28% 95%, 22% 90%, 17% 89%, 17% 98%, 14% 100%, 9% 98%, 7% 92%, 8% 85%, 7% 82%, 0% 85%, 0% 65%, 4% 57%, 12% 50%, 14% 45%, 22% 43%, 27% 47%, 34% 45%, 34% 37%, 52% 21%, 58% 21%, 57% 14%, 64% 8%, 63% 3%, 70% 0%);
      }
    /* ==================== END OF MAP ==================== */
    /* ==================================================== */
    
    
    /* ================= NEW PAGE ====================== */
    /* ==================== READ ME ==================== */
    .readme {
      padding: 40px 40px;
      margin: 0 auto;
      
      position: relative;
      
      align-items: center;
      justify-content: center;
      display: flex;
      flex-wrap: wrap;
      
      width: 90%;
      max-width: 900px;
    }
    .rmtitle {
      font-size: 1.8rem;
      text-align: center;
      padding: 20px 0;
    }
    .rmtext {
      font-size: 1.1rem;
      text-align: justify;
    }

    
    /* ==================== NEW PAGE ========================= */
    /* ==================== ENCYCLOPAEDIA ==================== */
    .subtitle {
        background-image: url("https://strayze.neocities.org/opalstone/IMAGES/Background/Opalstone_banner.png");
        background-size: cover;
        background-position: center;
        text-align: center;
        font-family: Georgia;
        font-weight: bold;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        height: 350px;
        width: 100%;
        margin-bottom: 80px;
      }
      .subtitle h1 {
        color: black;
        font-size: clamp(3rem, 5vw, 6.5rem);
        margin: 0;
      }
      
      .tab-image {
        width: 40%;
        flex: 1;
        margin: 50px 0 0 30px;
      }
      
      
    /* ==================== TABS ENCYCLOPAEDIA ==================== */
    /* ========== CASSETTE = WRAPPER . CRATE = CONTAINER ========== */
    .back-button {
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      
      border: 2px solid rgba(255, 255, 255, 0.3);
      
      padding: 6px 14px;
      margin-right: 15px;
      
      cursor: pointer;
      transition: transform 0.2s ease;
    }
    .back-button:hover {
      transform: scale(1.05);
    }
    
    .header {
      background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), url("https://strayze.neocities.org/opalstone/IMAGES/Background/Opalstone_banner.png");
      background-size: cover;
      background-position: center;
      
      border-radius: 15px;
      padding: 40px 20px;
      box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    /* ==================== WRAPPERS ==================== */
    .cassette {
      display: flex;
      flex-wrap: wrap;
      
      justify-content: center;
      text-align: center;
      font-size: clamp(0.6rem, 0.7vw, 1rem);
      
      width: 100%;
      max-width: 1800px;
      
      gap: 10px;
      margin: 0 auto;
    }
    
    .cassette-2 {
      display: flex;
      flex-wrap: wrap;
      
      justify-content: center;
      text-align: center;
      font-size: clamp(0.6rem, 0.7vw, 1rem);
      
      width: 90%;
      max-width: 1200px;
      
      gap: 10px;
      margin: 0 auto;
    }
    
    /* ==================== CONTAINERS ==================== */
    .crate {
      display: flex;
      flex-direction: column;
      
      justify-content: center;
      letter-spacing: 0.1rem;
      
      background: rgba(255, 255, 255, 0.5);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 2px solid rgba(255, 255, 255, 0.3);
      
      transition: transform 0.2s ease, box-shdaow 0.2s ease;
      cursor: pointer;
    }
    .crate:hover {
      transform: scale(1.05);
    }
    .crate.active.button {
      background: rgba(225, 225, 225, 0.20);
      border-color: rgba(255, 255, 255, 0.6);
    }
    
    .crate-2 {
      display: flex;
      flex-direction: column;
      
      letter-spacing: 0.1rem;
      
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 2px solid rgba(255, 255, 255, 0.3);
      
      width: 15%;
      
      transition: transform 0.2s ease, box-shdaow 0.2s ease;
      cursor: pointer;
    }
    .crate-2:hover {
      transform: scale(1.05);
    }
    
    /* ==================== TABS IDK ==================== */
    .tab {      
      width: 80%;
      margin: 10px auto;
      
      display: none;
    }
    .tab.active {
      display: block;
    }
    
    .tab-2 {      
      width: 80%;
      margin: 10px auto;
      
      display: none;
    }
    .tab-2.active {
      display: block;
    }
    
    /* ==================== CONTENT ==================== */
    .entry-content {
      background-color: #F8F7FA;
      border-radius: 15px;
      padding: 40px 20px;
      box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.15);
      
      width: 90%;
      max-width: 1200px;
      
      margin: 20px auto;
    }
    .entry-title {
      margin: 0 30px 40px;
      font-family: 'Georgia', serif;
      font-size: 2rem;
      text-align: left;
    }
    .entry-text {
      margin: 0 90px;
      font-family: 'Georgia';
      text-align: justify;
      font-size: 1.1rem;
      line-height: 1.6;
    }
    .entry-image {
      float: left;
      width: 25%;
      margin: 0 50px 20px 40px;
    }
    .entry-image img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      display: block;
    }
    .entry-content::after {
      content: "";
      display: table;
      clear: both;
    }
    
    .column {
      float: left;
      width: 33.33%;
    }
    
    .row:after {
      content: "";
      display: table;
      clear: both;
    }
    
    /* ==================== TAGS ==================== */
    .tag-results {
      display: flex;
      flex-wrap: wrap;
      
      gap: 15px;
      
      margin-top: 20px;
    }
    .tag-result-card {
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(10px);
      border: 2px solid rgba(255, 255, 255, 0.3);
      
      padding: 15px 20px;
      
      cursor: pointer;
      transition: transform 0.2s ease;
    }
    .tag-result-card:hover {
      transform: scale(1.05);
    }
    
    #tagResultsContainer {
      background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15)), url("https://strayze.neocities.org/opalstone/IMAGES/Background/Opalstone_banner.png");
      border-radius: 15px;
      padding: 40px 20px;
      box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.2);
      
      display: flex;
      flex-wrap: wrap;
      
      justify-content: center;
      text-align: center;
      font-size: clamp(0.6rem, 0.7vw, 1rem);
      letter-spacing: 0.1rem;

      width: 90%;
      max-width: 1800px;
      
      gap: 10px;
      margin: 15px auto;      
    }
    
    /* ==================== FIL D'ARIANE ==================== */
    .fil-ariane {
      display: flex;
      flex-wrap: wrap;
      
      justify-content: center;
      font-variant: small-caps;
      font-size: 1rem;
      letter-spacing: 0.1rem;
      
      gap: 8px;
      padding: 80px 0 0 0;
    }
    .fil-ariane span {
      padding: 1px 6px;
      cursor: pointer;
      opacity: 0.7;
      transition: opacity 0.2s ease;
    }
    .fil-ariane span:hover {
      opacity: 1;
      font-weight: bold;
    }
    
    .fil-ariane .separator {
      opacity: 0.4;
      cursor: default;
    }
    .fil-ariane .separator:hover {
      font-weight: normal;
    }
    
    /* ==================== COLOR CODED TAGS ==================== */
    .fil-ariane .tag-bestiary {
      background-color: #DCD4CC;
      color: white;
      border-style: none;
    }
    
    .fil-ariane .tag-culture {
      background-color: #B0A0BF;
      color: white;
      border-style: none;
    }
    
    .fil-ariane .tag-geography {
      background-color: #BFD3DF;
      color: white;
      border-style: none;
    }
    
    .fil-ariane .tag-history {
      background-color: #E8BC9D;
      color: white;
      border-style: none;
    }
    
    .fil-ariane .tag-misc {
      background-color: #E3C7DE;
      color: white;
      border-style: none;
    }
    
    .fil-ariane .tag-organisation {
      background-color: #D19191;
      color: white;
      border-style: none;
    }
    
    .fil-ariane .tag-sciences {
      background-color: #A8BFAD;
      color: white;
      border-style: none;
    }
    
    
    
    
    
    
    
    
    
    
