html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    min-height: 100%;
    margin-bottom: 1px;
    font: 12px Verdana, Arial, Helvetica, sans-serif;

    padding: 0px;
    margin: 0;
    overflow-x: hidden;
    background-attachment: fixed;
    background-repeat: round;
    cursor: url(../layout/images/cursordef.png) 4 4, auto;
}

h1 {
    font-size: 24px;
    font-weight: normal;
    margin-top: 0px;
    background-image: url(../layout/images/h1_bg.gif);
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-left: 26px;
}

h2 {
    margin: 0 0 10px 0;
    padding: 10px 100px 0 0;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 1px solid #FF9933;
}

#content p {
    margin: 0 100px 10px 0;
}

/* #header {
    position: relative;
    width: 764px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
} */

#header {
    position: relative;
    width: 100%;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header img {
    display: block;
}

#accountmenu {
    width: 760px;
    height: 22px;
    background-image: url(../layout/images/premium_bg.gif);
    margin-left: auto;
    margin-right: auto;
    border-left: 2px solid black;
    border-right: 2px solid black;
    font-size: x-small;
}

#accountmenu #user {
    padding-left: 6px;
}

#accountmenu #menu a {
    padding-right: 36px;
}

#accountmenu #menu {
    position: relative;
    font-weight: bold;
    font-size: small;
    left: 250px;
    padding-right: 6px;
}

#topmenu {
    position: absolute;
    width: 1040px;
    height: 50px;
    bottom: 0px;
    overflow: hidden;
    background-image: url(../layout/images/mm_bg.jpg);
    background-position: 0px 15px;
    background-repeat: no-repeat;
}

#topmenu.shop_enabled {
    background-image: url(../layout/images/mm_bg_shop.png);
}

.page_screens #content img {
    margin: 0;
    border: 1px solid #947357;
}

.m-8 {
    margin-top: 8px !important;
}

#topmenu span:hover {
    color: #fff4b8;
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#topmenu a .active {
    color: #ffcc00;
}

#topmenu a,
#topmenu span {
    display: block;
    /* position: absolute; */
    float: left;
    margin-top: 13px;
    overflow: hidden;
    background-repeat: no-repeat;
    text-decoration: none;
    color: antiquewhite;
    font-size: 20px;
    display: inline-flex;
    justify-content: center;
    font-family: fantasy;
    transition: .5s;
}

/* #topmenu a span,
#topmenu span span {
    visibility: hidden;
} */

#topmenu * {
    margin-top: 13px;
    height: 37px;
}

#topmenu #itemshop {
    margin-top: 0px;
    height: 50px;
}

#page_shop #topmenu #itemshop img {
    display: none;
}

/* #mainbody {
    position: relative;
    width: 760px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffebd1;
    background-image: url(../layout/images/bg_content.jpg);
    border-left: solid 2px black;
    border-right: solid 2px black;
} */

#mainbody {
    position: relative;
    width: 1040px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffebd1;
    background-image: url(../layout/images/bg_content.jpg);
    border-left: solid 2px black;
    border-right: solid 2px black;
}

/* #content {
    float: right;
    width: 510px;
    padding: 15px 30px 30px 0px;
    color: #36250b;
} */

#content {
    float: right;
    width: 654px;
    padding: 15px 30px 30px 0px;
    color: #36250b;
}

#content img {
    margin-right: 20px;
    transition: .5s;
}

#sidebar_left {
    float: left;
}

#symbol {
    width: 202px;
    height: 202px;
    background-image: url(../layout/images/symbol_home.jpg);
}

.sidebox {
    width: 200px;
    margin: 0px 0px 1px 0px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
    background-color: #f7ddc4;
    border: solid 1px #906f54;
    padding-bottom: 0px;
    background-image: url(../layout/images/side_bg.jpg);
    background-position: bottom left;
}

.index {
    padding-bottom: 0px;
}

.sidebox p {
    margin-left: 6px;
    margin-right: 6px;
}

.sidebox h3 {
    height: 21px;
    margin: 0px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 12px;
    line-height: 18px;
    padding: 0px;
    padding-left: 30px;
    color: #eeecd3;
}

.sidebox.red h3 {
    background-image: url(../layout/images/side_heading_bg_red.gif);
}

.sidebox.blue h3 {
    background-image: url(../layout/images/side_heading_bg_blue.gif);
}

.sidebox.yellow h3 {
    background-image: url(../layout/images/side_heading_bg_yellow.gif);
}

.sidebox.shop h3 {
    color: #000000;
    background-image: url(../layout/images/side_heading_bg_shop.gif);
}

#sidemenu.sidebox.shop h3 {
    color: #000000;
    background-image: url(../layout/images/side_heading_bg_shop.gif);
}

.sidebox.signup {
    font-weight: normal;
    font-size: 10px;
    padding-bottom: 10px;
}

.sidebox.signup form {
    line-height: normal;
    margin: 0 10px 0 10px;
    ;
}

.sidebox.signup input {
    margin: 0;
}

#sidemenu h3 {
    background-image: url(../layout/images/side_heading_bg_red.gif);
    padding-left: 10px;
}

#sidemenu a.active {
    background-color: #faebd7;
    color: #a52a2a;
}

#menu_gamee a,
#menu_gamee span,
#menu_galleryy a,
#menu_galleryy span,
#menu_playy a,
#menu_playy span,
#menu_communityy a,
#menu_communityy span {
    display: block;
    margin-left: 10px;
    padding: 4px 0px 4px 25px;
    background-image: url(../layout/images/side_bullet.gif);
    background-repeat: no-repeat;
    background-position: left;
    color: #000000;
    text-decoration: none;
}

#sidemenu span.active {
    color: #990000;
}

#sidemenu a:hover {
    background-color: #fff2d7;
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#footer {
    position: relative;
    width: 764px;
    height: 33px;
    margin-left: auto;
    margin-right: auto;
    border-top: 2px solid black;
}

#copyright {
    margin-top: 4px;
    text-align: center;
    font-size: 0.8em;
    color: #ccaaaa;
}

.redrule {
    clear: both;
    height: 8px;
    overflow: hidden;
    background-image: url(../layout/images/redrule.gif);
}

legend {
    font-weight: bold;
}

.error {
    background-color: #FFCCCC;
}

.status {
    background-color: #CCFFCC;
}

p.error {
    background-color: transparent;
    color: #FF0000;
    font-weight: bold;
}

#stairs {
    position: absolute;
    left: -129px;
}

#pagode {
    position: absolute;
    left: -184px;
    bottom: -25px;
}

#impressumlink {
    position: absolute;
    right: 80px;
    top: 0px;
    padding: 2px 10px;
    background-image: url(../layout/images/extras_bg.gif);
    border: 1px solid #000000;
    font-size: 11px;
}

#impressumlink a {
    color: #000000;
}

#box_login {
    width: 195px;
    /* background: linear-gradient(#f7d36b, #d7a32f); */
    background: linear-gradient(180deg, #fffdf7 0%, #f7f3e8 35%, #efe7d6 100%);
    border: 2px solid #a96e1f;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    font-family: "Trebuchet MS", sans-serif;
    overflow: hidden;
}

#box_login h3 {
    background: linear-gradient(#ffdf8a, #c5902d);
    color: #4b2e06;
    padding: 8px;
    font-size: 15px;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #a96e1f;
}

#box_login .hesap-container {
    padding: 2px;
    background: #f5e3b4;
}

#box_login .hesap-container span {
    display: block;
    color: #5b3c0f;
    font-size: 12px;
    margin-bottom: 1px;
}

#box_login .hesap-container a {
    display: block;
    background: linear-gradient(#ffe39c, #dba63a);
    padding: 6px;
    text-align: center;
    margin-top: 8px;
    border-radius: 2px;
    color: #4b2e06;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #b57c2d;
    transition: all 0.2s ease-in-out;
}

#box_login .hesap-container a:hover {
    background: linear-gradient(#fff1b8, #e4b442);
    transform: scale(1.03);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}


#box_login form {
    margin: 0;
}

#box_login label {
    display: block;
    font-weight: normal;
    margin: 0;
    margin-left: 10px;
}

#box_login input {
    display: block;
    margin-left: 10px;
    background-image: url(../layout/images/input_bg_yellow.gif);
}

#box_login #save {
    margin: 0 auto;
    margin-left: 10px;
    margin-top: 10px;
    width: 165px;
}

#box_login a {
    display: block;
    margin: 0;
    color: #956e3b;
    padding-left: 8px;
    margin-top: 3px;
    text-decoration: none;
    transition: 0.5s;
}

#box_login a:hover {

    background-color: transparent;
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#ranking {
    position: relative;
    text-align: center;
    width: 500px;
    margin: 0 auto;
}

#link_top {}

#link_better {
    position: absolute;
    top: 100px;
    left: 0px;
    width: 18px;
    height: 154px;
    background-image: url(../layout/images/arrow_left.gif);
    overflow: hidden;
}

#link_better:hover {
    background-image: url(../layout/images/arrow_left_over.gif);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#link_better span {
    display: none;
}

#link_worse {
    position: absolute;
    top: 100px;
    right: 0px;
    width: 18px;
    height: 154px;
    background-image: url(../layout/images/arrow_right.gif);
    overflow: hidden;
}

#link_worse:hover {
    background-image: url(../layout/images/arrow_right_over.gif);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#link_worse span {
    display: none;
}

#link_last {
    margin-left: 30px;
}

#scoretable {
    width: 400px;
    margin: 0px 50px;
    text-align: left;
}

#scoretable.small {
    width: 199px;
    margin: -1px 3px;
    text-align: left;
}

#scoretable.small th2 {
    padding: 2px 8px;
    font-weight: bold;
    color: #eeecd3;
    background-image: url(../layout/images/side_heading_bg_red.gif);
}

#scoretable th {
    text-align: center;
    font-weight: bold;
    color: #eeecd3;
    background-image: url(../layout/images/side_heading_bg_red.gif);
}

#scoretable td {
    padding: 2px 5px;
}

#scoretable td.level {
    text-align: center;
}

#scoretable td.exp {
    text-align: right;
    padding: 2px 18px;
}

#scoretable .foundname {
    font-weight: bold;
    color: #0000CC;
    background-color: #e4e2ff;
}

#scoretable .odd {
    background-color: #fff7e2;
}

#scoretable .rank {
    background-color: #fedca2;
    font-weight: bold;
    text-align: center;
}

#scoretable .odd .rank {
    background-color: #fff5c8;
}

#topfive h3 {
    background-image: url(../layout/images/side_heading_bg_yellow.gif);
}

#topfive ol {
    margin: 0 0 0 50px;
}

#topfive li {
    margin: 4px 0;
    padding: 0;
}

#topfive. odd {
    background-color: #fff7e2;
}

#topfive a {
    color: #996600;
    text-decoration: none;
    display: block;
    margin-left: 1px;
    padding: 4px 0px 4px 25px;
    background-image: url(../layout/images/side_bullet.gif);
    background-repeat: no-repeat;
    background-position: left;
}

#topfive a:hover {
    background-color: #fff2d7;
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#hairconfig {
    border: 1px solid #d0a684;
    width: 500px;
    height: 347px;
    background: top repeat-x url(../layout/images/shop_itembg.gif);
    background-color: #fff39f;
    position: relative;
}

#hairconfig h3 {
    margin: 0;
    background-image: url(../layout/images/shop_itemh.gif);
    height: 26px;
    font: bold 12px Verdana, Arial, Helvetica, sans-serif;
    line-height: 22px;
    text-align: center;
}

#selection {
    padding-left: 1em;
    background-color: #fffded;
    left: 140px;
    width: 299px;
    height: 303px;
}

#hairconfig #picture {
    margin: 6px;
    position: absolute;
    width: 128px;
    height: 128px;
    border: 1px solid green;
}

#hairconfig .actions span {
    visibility: hidden;
    text-decoration: none;
}

#hairconfig .actions .buy {
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    width: 125px;
    height: 25px;
    background-image: url(../layout/images/button_buy_up.gif);
    text-decoration: none;
}

#hairconfig .actions .buy:hover {
    background-image: url(../layout/images/button_buy_over.gif);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#hairconfig .actions {
    position: absolute;
    height: 28px;
    background-color: #fff3de;
    border-top: 1px solid #daba5b;
    margin-top: 292px;
    width: 140px;
}

#classselection {
    border: 0px solid gray;
    height: 65px;
    clear: left;
}

#styleselection {
    border: 0px solid gray;
    height: 65px;
    clear: left;
}

#colorselection {
    border: 0px solid gray;
    height: 65px;
    clear: left;
}

.classselect {
    width: 65px;
    height: 65px;
    border: 1px solid gray;
    float: left;
    margin-left: 4px;
}

.styleselect {
    width: 65px;
    height: 65px;
    border: 1px solid gray;
    float: left;
    margin-left: 4px;
}

.colorselect {
    width: 65px;
    height: 65px;
    border: 1px solid gray;
    float: left;
    margin-left: 4px;
}

.option1 {
    cursor: pointer;
}

.option2 {
    cursor: pointer;
}

.option3 {
    cursor: pointer;
}

.option4 {
    cursor: pointer;
}

#content .shopitem {
    border: 1px solid #d0a684;
    width: 460px;
    background: top repeat-x url(../layout/images/shop_itembg.gif);
    background-color: #fff39f;
}

#content .shopitem h3 {
    margin: 0;
    background-image: url(../layout/images/shop_itemh.gif);
    height: 26px;
    font: bold 12px Verdana, Arial, Helvetica, sans-serif;
    line-height: 22px;
    text-align: center;
}

#content .shopitem .display {
    width: 98px;
    vertical-align: center;
    text-align: center;
}

#content .shopitem .display img {
    margin: 0 auto;
    border: 1px solid #e29000;
}

#content .shopitem .days {
    height: 24px;
    padding-left: 30px;
    background: 4px center no-repeat url(../layout/images/shop_calendar.gif);
    background-color: #fff3de;
    border-bottom: 1px solid #daba5b;
    width: 210px;
}

#content .shopitem .playtime {
    height: 24px;
    padding-left: 30px;
    background: 4px center no-repeat url(../layout/images/shop_clock.gif);
    background-color: #fff3de;
    border-bottom: 1px solid #daba5b;
    width: 210px;
}

#content .shopitem .instant {
    height: 24px;
    padding-left: 30px;
    background: 4px center no-repeat url(../layout/images/shop_instant.gif);
    background-color: #fff3de;
    border-bottom: 1px solid #daba5b;
    width: 210px;
}

#content .shopitem .description {
    padding: 6px 10px 10px 10px;
    background-color: #fffded;
}

#content .shopitem .description p {
    margin: 0;
}

#content .shopitem .actions {
    height: 28px;
    background-color: #fff3de;
    border-top: 1px solid #daba5b;
}

#content .shopitem .count {
    font: bold 12px Verdana, Arial, Helvetica, sans-serif;
    color: #27a700;
}

#content .shopitem .price {
    font: bold 18px Verdana, Arial, Helvetica, sans-serif;
    color: #27a700;
}

#content .shopitem .actions .gift {
    display: block;
    position: absolute;
    right: 160px;
    top: 0;
    width: 140px;
    height: 25px;
    background-image: url(../layout/images/button_gift_up.gif);
    text-decoration: none;
}

#content .shopitem .actions .gift:hover {
    background-image: url(../layout/images/button_gift_over.gif);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#content .shopitem .actions a.buy {
    display: block;
    position: relative;
    right: 10px;
    top: 0;
    width: 125px;
    height: 25px;
    background-image: url(../layout/images/button_buy_up.gif);
    text-decoration: none;
    color: green;
    background-repeat: no-repeat;
}

#content .shopitem .actions a.buy div {
    padding-left: 40px;
    padding-top: 4px;
    text-decoration: none;
    font-weight: bold;
}

#content .shopitem .actions a.buy:hover {
    background-image: url(../layout/images/button_buy_over.gif);
    background-repeat: no-repeat;
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#content .shopitem .actions input.buy {
    display: block;
    position: relative;
    right: 10px;
    top: 0;
    width: 125px;
    height: 25px;
    background-image: url(../layout/images/button_buy_up.gif);
    background-repeat: no-repeat;
    border: none;
    text-decoration: none;
    color: green;
    font-weight: bold;
    padding-bottom: 4px;
    padding-left: 30px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
}

#content .shopitem .actions input.buy:hover {
    background-image: url(../layout/images/button_buy_over.gif);
    background-repeat: no-repeat;
    /* cursor: pointer;
    cursor: hand; */
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#content .shopitem .actions input.buy:focus {
    outline: 0
}

#content .shoppackage {
    border: 1px solid #d0a684;
    width: 440px;
}

#content .shoppackage table {
    background: top repeat-x url(../layout/images/shop_itembg.gif);
    background-color: #fff39f;
}

#content .shoppackage h3 {
    margin: 0;
    background-image: url(../layout/images/shop_itemh.gif);
    height: 26px;
    font: bold 12px Verdana, Arial, Helvetica, sans-serif;
    line-height: 22px;
    text-align: center;
}

#content .shoppackage .pricing {
    width: 110px;
    vertical-align: center;
    text-align: center;
}

#content .shoppackage .description {
    padding: 6px 10px 10px 110px;
    background-color: #fffded;
}

#content .shoppackage .description p {
    margin: 0;
}

#content .shoppackage .description ul {
    margin: 0;
}

#content .shoppackage .actions {
    position: relative;
    height: 28px;
    background-color: #fff3de;
    border-top: 1px solid #daba5b;
}

#content .shoppackage .count {
    font: bold 12px Verdana, Arial, Helvetica, sans-serif;
    color: #27a700;
}

#content .shoppackage .price {
    font: bold 18px Verdana, Arial, Helvetica, sans-serif;
    color: #27a700;
}

#content .shoppackage .actions span {
    visibility: hidden;
    text-decoration: none;
}

#content .shoppackage .actions .gift {
    display: block;
    position: absolute;
    right: 160px;
    top: 0;
    width: 140px;
    height: 25px;
    background-image: url(../layout/images/button_gift_up.gif);
    text-decoration: none;
}

#content .shoppackage .actions .gift:hover {
    background-image: url(../layout/images/button_gift_over.gif);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#content .shoppackage .actions .buy {
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    width: 125px;
    height: 25px;
    background-image: url(../layout/images/button_buy_up.gif);
    text-decoration: none;
}

#content .shoppackage .actions .buy:hover {
    background-image: url(../layout/images/button_buy_over.gif);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

.buy_server_select {
    width: 300px;
    height: 25px;
    padding-left: 40px;
    padding-top: 4px;
    font-weight: bold;
    color: #27a700;
    background-image: url(../layout/images/button_buy_server.gif);
    background-repeat: no-repeat;
    text-decoration: none;
}

#content .shoppackage .items {
    width: 160px;
}

#content .shoppackage img {
    margin: 3px;
    border-right: 1px solid #e29000;
    border-bottom: 1px solid #e29000;
}

#content .shoppackage .plus {
    width: 90px;
    background-image: url(../layout/images/shop_plus.gif);
    background-repeat: no-repeat;
    background-position: center center;
}

#page_home #topmenu #home {
    background-image: url(../layout/images/button_home_down.gif);
}

#menu_home {
    display: none;
}

#page_home #menu_home {
    display: block;
}

#page_game #topmenu #game {
    background-image: url(../layout/images/button_game_down.gif);
}

#menu_game {
    display: none;
}

#page_game #menu_game {
    display: block;
}

#page_gallery #topmenu #gallery {
    background-image: url(../layout/images/button_gallery_down.gif);
}

#menu_gallery {
    display: none;
}

#page_gallery #menu_gallery {
    display: block;
}

#page_play #topmenu #play {
    background-image: url(../layout/images/button_play_down.gif);
}

#menu_play {
    display: none;
}

#page_play #menu_play {
    display: block;
}

#page_shop #topmenu #shop {
    background-image: url(../layout/images/button_shop_down.png);
}

#menu_shop {
    display: none;
}

#page_shop #menu_shop {
    display: block;
}

#page_community #topmenu #community {
    background-image: url(../layout/images/button_community_down.gif);
}

#page_community #topmenu #community2 {
    background-image: url(../layout/images/button_community_down.gif);
}

#page_community #topmenu #community3 {
    background-image: url(../layout/images/button_community_down.gif);
}


#menu_community {
    display: none;
}

#page_community #menu_community {
    display: block;
}

#menu_account {
    display: none;
}

#page_account #menu_account {
    display: block;
}

#page_account #registerbox,
#page_shop #registerbox,
#page_shop #boardbox {
    display: none;
}

/* Seitenspezifischer Schnickschnack */

#page_game.page_features #content img {
    float: right;
    margin-left: 10px;
    border: 1px solid #947357;
}

#content h2 {
    clear: both;
}

#page_game.page_characters #content p {
    margin-right: 0;
}

#page_home #symbol {
    background-image: url(../layout/images/symbol_game.jpg);
}

#page_gallery #symbol {
    background-image: url(../layout/images/symbol_gallery.jpg);
}

#page_play #symbol {
    background-image: url(../layout/images/symbol_play.jpg);
}

#page_community #symbol {
    background-image: url(../layout/images/symbol_support.jpg);
}

#sidemenu.story #submenu_story,
#sidemenu.features #submenu_features,
#sidemenu.empires #submenu_empires,
#sidemenu.characters #submenu_characters,
#sidemenu.screens #submenu_screens,
#sidemenu.movies #submenu_movies,
#sidemenu.wallpaper #submenu_wallpaper,
#sidemenu.manual #submenu_manual,
#sidemenu.hardware #submenu_hardware,
#sidemenu.download #submenu_download,
#sidemenu.register #submenu_register,
#sidemenu.faq #submenu_faq,
#sidemenu.board #submenu_board,
#sidemenu.newsletter #submenu_newsletter,
#sidemenu.rankings #submenu_rankings,
#sidemenu.data #submenu_data,
#sidemenu.code #submenu_code,
#sidemenu.password #submenu_password,
#sidemenu.email #submenu_email,
#sidemenu.page_category_0 #submenu_category_0,
#sidemenu.page_category_1 #submenu_category_1,
#sidemenu.page_category_2 #submenu_category_2 {
    color: #990000;
}

#content li {
    margin-bottom: 10px;
}

#home_gal {
    float: right;
    width: 120px;
    background-color: #f7ddc4;
    border-right: 1px solid #947357;
}

#home_gal img {
    display: block;
    margin: 10px;
    border: 1px solid #947357;
}

.page_singlescreenshot #sidebar_left {
    display: none;
}

.page_singlescreenshot #content {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    float: none;
    width: 724px;
    padding: none;
    color: #36250b;
}

.page_singlescreenshot #content img {
    border: 1px solid #947357;
}

.page_singlescreenshot #content h1 {
    margin-top: 10px;
    margin-left: 10px;
    text-align: left;
}

.page_singlescreenshot #content h2 {
    margin: 10px 120px 10px 120px;
    padding: 0;
}

#content .shopitem .trade {
    background: #FFF3DE url(../layout/images/shop_trade.gif) no-repeat scroll 4px center;
    border-bottom: 1px solid #DABA5B;
    border-left: 1px solid #DABA5B;
    height: 24px;
    padding-left: 30px;
    width: 90px;
}

#content .shopitem .notrade {
    background: #FFF3DE url(../layout/images/shop_notrade.gif) no-repeat scroll 4px center;
    border-bottom: 1px solid #DABA5B;
    border-left: 1px solid #DABA5B;
    height: 24px;
    padding-left: 30px;
    width: 90px;
}


#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: translate(-50%, -50%);
}


#home_gal img {
    border: 2px solid #fff;
    margin: 3px;
    cursor: pointer;
    transition: transform 0.2s;
}

#home_gal img:hover {
    transform: scale(1.05);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#scoretable td.level img {
    margin-right: 0px !important;
}

button.kayit-ol {
    background: linear-gradient(to bottom, #f7e2a7 0%, #e5c25c 100%);
    border: 1px solid #b3892f;
    border-radius: 3px;
    color: #4a2d00;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 18px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 #fff7db, 0 1px 2px rgba(0, 0, 0, 0.4);
    text-shadow: 1px 1px 0 #fdf6dd;
    transition: all 0.2s ease-in-out;
}

button.kayit-ol:hover {
    background: linear-gradient(to bottom, #ffe9b5 0%, #eac95e 100%);
    border-color: #9b7525;
    box-shadow: inset 0 1px 0 #fff3d4, 0 0 4px rgba(0, 0, 0, 0.3);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

button.kayit-ol:active {
    background: linear-gradient(to bottom, #eac95e 0%, #f7e2a7 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

a.kayit-ol {
    background: linear-gradient(to bottom, #f7e2a7 0%, #e5c25c 100%);
    border: 1px solid #b3892f;
    border-radius: 3px;
    color: #4a2d00;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 18px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 #fff7db, 0 1px 2px rgba(0, 0, 0, 0.4);
    text-shadow: 1px 1px 0 #fdf6dd;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    letter-spacing: 1px;
}

a.kayit-ol:hover {
    background: linear-gradient(to bottom, #ffe9b5 0%, #eac95e 100%);
    border-color: #9b7525;
    box-shadow: inset 0 1px 0 #fff3d4, 0 0 4px rgba(0, 0, 0, 0.3);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

a.kayit-ol:active {
    background: linear-gradient(to bottom, #eac95e 0%, #f7e2a7 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}

.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f0df;
    border: 1px solid #c5a75c;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
    font-family: Arial, sans-serif;
}

.download-left {
    display: flex;
    align-items: center;
}

.game-logo {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    margin-right: 10px;
}

.download-info .title {
    font-weight: bold;
    color: #3c2c10;
    font-size: 14px;
}

.download-info .size {
    background: #3c2c10;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
}

.download-info .desc {
    font-size: 12px;
    color: #6b5c3c;
}

.download-right .download-btn {
    display: inline-block;
    background: linear-gradient(to bottom, #3d3d3d 0%, #2b2b2b 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: bold;
    font-size: 13px;
    border: 1px solid #1c1c1c;
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 #666;
    transition: 0.2s;
}

.download-right .download-btn span {
    display: block;
    font-size: 10px;
    font-weight: normal;
    color: #ccc;
}

.download-right .download-btn:hover {
    background: linear-gradient(to bottom, #4d4d4d 0%, #1a1a1a 100%);
    box-shadow: inset 0 1px 0 #777;
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#topmenu a:hover {
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#topmenu:hover {
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

#topmenu #itemshop:hover {
    cursor: url(../layout/images/cursorbuy.png) 4 4, auto;
}

.fancybox__content {
    flex: 0 1 auto;
    background: transparent !important;
}

.fancybox__content>.carousel__button.is-close {
    position: absolute;
    top: 32px !important;
    right: 46px !important;
    opacity: 0 !important;

}

#content img:hover {
    transform: scale(1.05);
    cursor: url(../layout/images/cursorh1over.png) 4 4, auto;
}

/* #particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
       background-color: #571512;
    background: url(../layout/images/back1.png);
} */


canvas {
    display: block;
    vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #b61924;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    background-color: #571512;
    background: url(../layout/images/back1.png);
}

/* ---- stats.js ---- */
.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.js-count-particles {
    font-size: 1.1em;
}

#stats,
.count-particles {
    -webkit-user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}



/* ===== Account Panel (Metin2 teması) ===== */
:root {
    --gold-1: #f6e4b2;
    --gold-2: #e2b24d;
    --gold-3: #c9942e;
    --brown-1: #3e2a16;
    --stone: #f2eee6;
    --shadow: 0 10px 18px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .25);

}

.account-panel {
    width: 200px;
    /* mevcut sol kolon genişliğine göre ayarla */
    background: linear-gradient(180deg, #fffdf7 0%, #f7f3e8 35%, #efe7d6 100%);
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    font-family: "Trebuchet MS", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.account-panel .ap-head {
    background:
        linear-gradient(180deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3));
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    position: relative;
}

.account-panel .ap-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% -80%, rgba(255, 255, 255, .4), transparent 60%);
    pointer-events: none;
}

.account-panel .ap-title {
    color: #2b1a0a;
    font-weight: 800;
    letter-spacing: .3px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* küçük elmas simgesi */
.account-panel .ap-title::before {
    content: "";
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    background: linear-gradient(180deg, #fff6d8, #e6c37b);
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 2px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .3) inset;
}

.account-panel .ap-body {
    padding: 8px;
}

.ap-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: #ffffffcc;
    border: 1px solid #00000010;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
}

.ap-label {
    color: #5b3c17;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* satır başı ikonu */
.ap-label::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    background: linear-gradient(180deg, #fff, #e6d4a2);
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 2px;
}

.ap-value {
    color: #2b1a0a;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

/* EP vurgusu */
.ap-ep {
    color: #0ea35a;
    text-shadow: 0 1px 0 #ffffff;
}

/* Butonlar */
.ap-actions {
    margin-top: 10px;
    display: grid;
    gap: 8px;
}

.ap-btn {
    display: block;
    text-align: center;
    padding: 9px 10px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, .15);
    background: linear-gradient(180deg, #ededed, #d9d9d9);
    color: #2b1a0a !important;
    font-weight: 800;
    letter-spacing: .2px;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.ap-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.ap-btn:active {
    transform: translateY(0);
    filter: brightness(.97);
}

.ap-btn-gold {
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3));
    color: #2b1a0a !important;
}

.ap-btn-dark {
    background: linear-gradient(180deg, #555, #333);
    color: #fff !important;
}

/* küçük ekran uyumu */
@media (max-width: 992px) {
    .account-panel {
        width: 100%;
    }
}



/* ==== Hesap Yönetimi içerik alanı ==== */
:root {
    --gold-1: #f6e4b2;
    --gold-2: #e2b24d;
    --gold-3: #c9942e;
    --ink: #2b1a0a;
    --text: #3f3424;
}

#content {
    position: relative;
    padding: 10px 16px 24px 16px;
    color: var(--text);
    /* sağdaki at görseline çarpmasın diye */
    min-height: 220px;
}

/* Başlık */
#content h1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px 0;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: .2px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}


/* Açıklama satırı */
#content>p {
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: #5a4a36;
}

#content>p strong {
    color: #1f1a12;
}

/* Alan liste satırları (mevcut <span>’ler) */
#content>span {
    display: block;
    position: relative;
    padding: 8px 10px 8px 28px;
    margin: 6px 0;
    background: #ffffffcc;
    border: 1px solid #00000010;
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset;
}

#content>span::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: linear-gradient(180deg, #fff, #e6d4a2);
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 2px;
}

/* İsteğe bağlı vurgu: EP (yeşil ton) */
#content>span.ep {
    color: #0ea35a;
    font-weight: 700;
}

/* Sağdaki at görseli için (istersen inline stil yerine) */
#content img[alt=""] {
    float: right;
    margin: 0;
}

.pf-grid {
    display: grid;
    gap: 8px;
    max-width: 720px;
}

.pf-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    background: #ffffffcc;
    border: 1px solid #00000010;
    border-radius: 2px;
    padding: 10px 12px;
}

.pf-label {
    font-weight: 700;
    color: #5b3c17;
    position: relative;
    padding-left: 18px;
}

.pf-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: linear-gradient(180deg, #fff, #e6d4a2);
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 2px;
}

.pf-value {
    color: #1f1a12;
}

.pf-ep {
    color: #0ea35a;
    font-weight: 800;
}




/* ===== Profil Butonları (Metin2 teması) ===== */
:root {
    --gold-1: #f6e4b2;
    --gold-2: #e2b24d;
    --gold-3: #c9942e;
    --ink: #2b1a0a;
}

.profile-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 16px 0 8px;
}

/* Kart/Buton ortak görünüm */
.profile-buttons a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    padding: 13px 13px;
    border-radius: 2px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f9f7f0, #efe7d6);
    border: 1px solid #00000014;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .5);
    color: #2b1a0a;
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

/* elmas vurgusu */
.profile-buttons a::before {
    content: "";
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 2px;
    background: linear-gradient(180deg, #fff, #e6d4a2);
}

.profile-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.profile-buttons a:active {
    transform: translateY(0);
}

/* Başlık/altbaşlık tipografisi */
.profile-buttons .title {
    line-height: 1.2;
}

.profile-buttons .title .name {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .3px;
    margin-bottom: 4px;
}

.profile-buttons .title span {
    font-size: 12px;
    opacity: .85;
}

/* — Altın ana buton */
.profile-buttons .button-gold-nav {
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3));
    border-color: rgba(126, 85, 24, .55);
    color: var(--ink);
}

.profile-buttons .button-gold-nav::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 120% -60%, rgba(255, 255, 255, .45), transparent 55%);
    pointer-events: none;
}

.profile-buttons .button-gold-nav:hover {
    filter: brightness(1.04);
}

/* — Gri/metal ikincil butonlar */
.profile-buttons .button-gray-nav {
    background: linear-gradient(180deg, #5a5a5a, #3b3b3b);
    border-color: rgba(0, 0, 0, .45);
    color: #fff;
}

.profile-buttons .button-gray-nav .title span {
    color: #e5e5e5;
}

.profile-buttons .button-gray-nav::before {
    background: linear-gradient(180deg, #fff, #cfcfcf);
}

/* Özel ton: karakter kurtar (isteğe bağlı koyu çelik) */
.profile-buttons .karakter-kurtar {
    background: linear-gradient(180deg, #464f5a, #2d343b);
    border-color: rgba(0, 0, 0, .55);
    color: #fff;
}

@media (max-width:560px) {
    .profile-buttons {
        grid-template-columns: 1fr;
    }
}


.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background: rgba(0, 0, 0, 0.4);
}

.custom-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-modal-dialog {
    max-width: 500px;
    width: 90%;
}

.custom-modal-content {
    /* background-color: #fff; */
    background-image: url('../layout/images/bg-white.png');
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    animation: fadeIn 0.3s ease-out;
}

.custom-modal-header,
.custom-modal-footer {
    padding: 15px;
    background-color: #f1f1f1;
}

.custom-modal-title {
    margin: 0;
    font-size: 18px;
    color: #111;
    opacity: .5;
}

.custom-modal-body {
    padding: 15px;

}

.custom-modal-close {
    padding: 0.1rem 0.1rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background: transparent;
    border: 0;
    appearance: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    cursor: pointer;
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-modal-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* KARKTERLER */

:root {
    --gold-1: #f6e4b2;
    --gold-2: #e2b24d;
    --gold-3: #c9942e;
    --ink: #1f1a12;
    --text: #3f3424;
    --stone: #efe7d6;
}

/* Panel üst şeridi */
.char-panel {
    margin: 6px 8px 16px;
}

.char-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: linear-gradient(180deg, #4a4a4a, #2f2f2f);
    color: #fff;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .4);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
    position: relative;
}

.char-header::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold-1), var(--gold-2) 60%, var(--gold-3));
    border-radius: 10px 0 0 10px;
}

.char-header h3 {
    margin: 0;
    font: 800 18px/1.2 "Trebuchet MS", system-ui, Segoe UI, Arial;
    letter-spacing: .3px;
}

.btn-back {
    display: inline-block;
    padding: 8px 12px;
    background: linear-gradient(180deg, #555, #333);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .6);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .14);
    transition: transform .12s ease, filter .12s ease;
}

.btn-back:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

/* Liste ve kart */
.char-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 12px;
}

.char-card {
    display: grid;
    grid-template-columns: 92px 1fr 190px;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    background: #ffffffc7;
    border: 1px solid #00000014;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .10), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* Avatar */
.char-media {
    display: flex;
    justify-content: center;
}

.char-avatar {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold-2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
    background: #fff;
}

/* Bilgi grid’i */
.char-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.char-meta li {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #00000010;
    margin-bottom: 2px !important;
}

.char-meta .label {
    font-weight: 800;
    color: #5b3c17;
    position: relative;
    padding-left: 18px;
}

.char-meta .label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: linear-gradient(180deg, #fff, #e6d4a2);
    border: 1px solid rgba(0, 0, 0, .2);
}

.char-meta .value {
    color: var(--ink);
    width: 335px;
}

.char-meta .econ {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.char-meta .economy .value {
    font-weight: 700;
}

/* Derece rozetleri */
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    background: #ececec;
    color: #222;
    border: 1px solid #00000012;
}

.badge-friend {
    background: #e9eefc;
    color: #203a8f;
}

.badge-evil {
    background: #ffe5e5;
    color: #8f2020;
}

/* İkon yer tutucular – görsellerini değiştir */
.ico {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.ico-coin {
    background-image: url('../layout/images/yang.png');
}

/* yang ikonu */
.ico-ep {
    background-image: url('assets/icons/ep.png');
}

/* ep/marka ikonu */
/* (İkon yoksa emoji fallback) */
@supports not (background-image: url("")) {
    .ico-coin::before {
        content: "🪙";
    }

    .ico-ep::before {
        content: "📕";
    }
}

/* Sağ aksiyon kolonu */
.char-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.btn-dark {
    min-width: 180px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, #5a5a5a, #3b3b3b);
    color: #fff;
    border: 1px solid rgba(0, 0, 0, .45);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .12);
    font-weight: 800;
    cursor: pointer;
    transition: transform .12s ease, filter .12s ease;
}

.btn-dark:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.order {
    font-size: 12px;
    color: #6b5e49;
}

/* Responsive */
@media (max-width: 860px) {
    .char-card {
        grid-template-columns: 74px 1fr;
    }

    .char-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
    }

    .btn-dark {
        min-width: unset;
    }

    .char-meta li {
        grid-template-columns: 150px 1fr;
    }
}


/* === Register Card (benzersiz) === */
.regcard {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 20 / 10;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    isolation: isolate;
    background: url(../layout/images/kayit.png);
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.regcard__media {
    position: absolute;
    inset: 0;
    background-image: var(--reg-bg);
    background-size: cover;
    background-position: center;
    filter: brightness(.7);
    transition: transform .5s ease, filter .4s ease;
    z-index: 1;
}

/* okunabilirlik için degrade perde */
.regcard::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .35) 70%);
    z-index: 2;
}

.regcard__overlay {
    position: absolute;
    inset: 0;
    padding: 18px 18px 20px;
    display: grid;
    align-content: space-between;
    z-index: 3;
    /* metni en üste al */
}

.regcard__title {
    margin: 0;
    font: 700 22px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

.regcard__text {
    margin: 0;
    font: 500 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #f2f2f2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .65);
    margin-top: 56px;
}

.regcard__link {
    color: #ffe27a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .2s ease;
}

.regcard__link:hover {
    opacity: .9
}

/* Hover animasyonu */
.regcard:hover .regcard__media {
    transform: scale(1.05);
    filter: brightness(.8);
}

/* Küçük ekran uyumu */
@media (max-width: 420px) {
    .regcard {
        max-width: 100%;
        border-radius: 10px
    }

    .regcard__title {
        font-size: 20px
    }

    .regcard__text {
        font-size: 13px
    }
}

.hidden {
    display: none !important;
}


/*TİCKET */
/* ===== Retro Alert (benzersiz) ===== */
.retro-alert {
    --ra-bg1: #fffdf6;
    --ra-bg2: #f6f0de;
    --ra-border: #d3b78a;
    --ra-shadow: rgba(0, 0, 0, .18);
    --ra-accent: #8a6e2f;
    /* metin rengi */
    margin-bottom: 10px;
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 14px;
    align-items: center;

    padding: 14px 16px;
    border: 1px solid var(--ra-border);
    border-radius: 12px;

    /* parşömen + hafif doku */
    background:
        linear-gradient(180deg, var(--ra-bg1), var(--ra-bg2)),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .015) 0 2px, transparent 2px 4px);
    box-shadow:
        inset 0 1px rgba(255, 255, 255, .6),
        0 2px 10px var(--ra-shadow);

    color: var(--ra-accent);
    line-height: 1.45;
    font-size: 15px;
}

/* sol altın şerit */
.retro-alert::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f6d57a, #c79d3a);
    box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .05);
}

/* ikon rozeti */
.retro-alert__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .8), rgba(255, 255, 255, .05)),
        linear-gradient(180deg, #fff, #e3e3e3);
    border: 1px solid #c9c9c9;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .08), 0 1px 0 rgba(255, 255, 255, .8);
    margin-left: 10px;
    font-weight: 800;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

/* farklı tipler: info / warn / success / danger */
.retro-alert--info {
    --tone: #2f60a8;
}

.retro-alert--warn {
    --tone: #9b5b00;
}

.retro-alert--success {
    --tone: #2e7d32;
}

.retro-alert--danger {
    --tone: #8b1e1e;
}

.retro-alert--info .retro-alert__icon {
    color: #2f60a8;
}

.retro-alert--warn .retro-alert__icon {
    color: #9b5b00;
}

.retro-alert--success .retro-alert__icon {
    color: #2e7d32;
}

.retro-alert--danger .retro-alert__icon {
    color: #8b1e1e;
}

/* info ikonu: "i" */
.retro-alert--info .retro-alert__icon::before {
    content: "i";
}

/* alternatifler */
.retro-alert--warn .retro-alert__icon::before {
    content: "!";
}

.retro-alert--success .retro-alert__icon::before {
    content: "✓";
}

.retro-alert--danger .retro-alert__icon::before {
    content: "!";
}

/* içerik ve linkler */
.retro-alert__content a {
    color: #2f60a8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.retro-alert__content a:hover {
    opacity: .9
}

/* kapat butonu (opsiyonel) */
.retro-alert__close {
    background: linear-gradient(180deg, #fff, #eaeaea);
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    padding: 0 10px;
    height: 28px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 0 1px rgba(255, 255, 255, .8), 0 1px 0 rgba(255, 255, 255, .7);
    color: #444;
}

.retro-alert__close:hover {
    filter: brightness(.98);
}

/* küçük ekran */
@media (max-width: 560px) {
    .retro-alert {
        grid-template-columns: 34px 1fr auto;
        padding: 12px 12px;
        font-size: 14px;
    }
}

/*TICKET KART*/

/* === Last Ticket Retro Cards === */
.last-ticket-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* KART */
.last-ticket-box {
    position: relative;
    padding: 14px 16px 14px 22px;
    border: 1px solid #d3b78a;
    /* altın çerçeve */
    border-radius: 12px;
    background:
        linear-gradient(180deg, #fffaf0 0%, #f1e7cd 100%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .015) 0 2px, transparent 2px 4px);
    box-shadow: inset 0 1px rgba(255, 255, 255, .6), 0 2px 10px rgba(0, 0, 0, .08);
    color: #3c3422;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Sol altın şerit */
.last-ticket-box::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f6d57a, #c79d3a);
    box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .04);
}

/* Çok hafif desen/filigran */
.last-ticket-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(150px 60px at 95% 50%, rgba(0, 0, 0, .05), transparent 70%);
    opacity: .25;
    pointer-events: none;
}

/* Başlık + meta */
.last-ticket-box strong {
    font-weight: 700;
    color: #2b2517;
}

.last-ticket-box .lticket__meta {
    display: inline-block;
    margin-top: 2px;
    font-size: 13px;
    color: #6b5d3b;
}

/* Status badge (senin $ticket['statusBadge'] içindeki span/badge için genel dokunuş) */
.last-ticket-box .status-badge,
.last-ticket-box .badge,
.last-ticket-box [class*="badge-"] {
    font-weight: 700;
    font-size: 13px;
    border-radius: 6px;
    padding: 2px 6px;
    background: transparent;
    border: none;
    text-shadow: none;
}

/* İsteğe göre sınıf adları: */
.status-inprogress {
    color: #00bfa5;
}

.status-waiting {
    color: #f57c00;
}

.status-resolved {
    color: #2e7d32;
}

.status-closed {
    color: #d32f2f;
}

/* DETAY kutusu (sağ) — noktalı/dikdörtgen */
.lticket__cta {
    --b: #5b5b5b;
    background: rgba(0, 0, 0, .06);
    border: 2px dashed var(--b);
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #3a3a3a !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, .7);
}

.lticket__cta:hover {
    background: rgba(0, 0, 0, .09);
    border-color: #222;
    transform: translateY(-1px);
}

/* Hover tüm kart */
.last-ticket-box:hover {
    filter: brightness(1.01);
    box-shadow: inset 0 1px rgba(255, 255, 255, .8), 0 3px 14px rgba(0, 0, 0, .1);
}

/* Dar ekran düzeni */
@media (max-width: 600px) {
    .last-ticket-box {
        padding-right: 12px;
        gap: 10px;
    }

    .lticket__cta {
        padding: 7px 12px;
    }
}

.last-ticket-box>div:first-child {
    flex: 1 1 auto;
    /* sol içerik kalan alanı alsın */
    min-width: 0;
    /* metin düzgün sarılsın, CTA'yı itmesin */
}

.last-ticket-box>div:last-child {
    margin-left: auto;
    /* CTA’yı hep sağa it */
    flex: 0 0 auto;
    /* genişlemesin */
}

.lticket__cta {
    white-space: nowrap;
    /* “DETAY” satır atlamasın */
}


.dualbtn-container {
    display: flex;
    justify-content: space-between;
    /* biri sol, biri sağ */
    align-items: center;
}

.abra-dualbtn {
    display: inline-block;
    color: #f4bb68e0;
    background: url('../content/ticketnormal.png') no-repeat center/cover;
    text-decoration: none;
    transition: 0.25s;
    width: 44%;
    height: 85px;
    margin: 10px 5px 0 0;
}

.abra-dualbtn:hover {
    background: url('../content/tickethover.png') no-repeat center/cover;
}

.abra-dualbtn__label {
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px 55px 0 0;
    font-weight: bold;
    text-transform: capitalize;
}

.abra-dualbtnflip {
    transform: scaleX(-1);
}

.abra-dualbtnflip .abra-dualbtn__label {
    transform: scaleX(-1);
    display: inline-block;
}

/* === Ticket Success (benzersiz) === */
#ticket-success-box {
    /* bootstrap'in yeşilini bastıralım */
    background: none;
    border: none;
    color: inherit;

    position: relative;
    padding: 16px 18px 18px 24px;
    border: 1px solid #d3b78a;
    /* altın çerçeve */
    border-radius: 12px;
    background:
        linear-gradient(180deg, #fffaf0 0%, #f1e7cd 100%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .015) 0 2px, transparent 2px 4px);
    box-shadow: inset 0 1px rgba(255, 255, 255, .6), 0 2px 10px rgba(0, 0, 0, .10);
    color: #3c3422;
    overflow: hidden;
    animation: ticket-success-pop .35s ease-out both;
}

/* sol altın şerit */
#ticket-success-box::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f6d57a, #c79d3a);
    box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .04);
}

/* içerik */
#ticket-success-box .success-message-text {
    text-align: center;
    font-size: 15px;
    line-height: 1.55;
    color: #2b2517;
}

#ticket-success-box .success-message-text img {
    display: block;
    margin: 2px auto 10px;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .7));
}

/* buton */
#ticket-success-box .ticketWiewbtn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #2e4a23;
    background: linear-gradient(180deg, #e9f7e9, #cde9cd);
    border: 2px dashed #879e87;
    box-shadow: inset 0 1px rgba(255, 255, 255, .85), 0 2px 6px rgba(0, 0, 0, .08);
    transition: transform .15s ease, filter .2s ease, background .2s ease, border-color .2s ease;
}

#ticket-success-box .ticketWiewbtn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    background: linear-gradient(180deg, #f1fff1, #d9f0d9);
    border-color: #5f7c5f;
}

#ticket-success-box .ticketWiewbtn:active {
    transform: translateY(0);
}

/* küçük ekran uyumu */
@media (max-width: 560px) {
    #ticket-success-box {
        padding: 14px 14px 16px 22px
    }

    #ticket-success-box .ticketWiewbtn {
        padding: 9px 14px;
        font-size: 14px
    }
}

/* giriş animasyonu */
@keyframes ticket-success-pop {
    from {
        opacity: 0;
        transform: translateY(4px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}



.badge.bg-success {
    color:
        color-mix(in srgb, #2fb344 calc(1 * 100%), transparent);
    background-color:
        color-mix(in oklab, #2fb344 10%, transparent);
}

.ticket-left .badge {
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 2px;
    gap: .25rem;
}

.badge.bg-info {
    color:
        color-mix(in srgb, #17a2b8 calc(1 * 100%), transparent);
    background-color:
        color-mix(in oklab, #17a2b8 10%, transparent);
}

.badge.bg-danger {
    color:
        color-mix(in srgb, #d63939 calc(1 * 100%), transparent);
    background-color:
        color-mix(in oklab, #d63939 10%, transparent);
}

.ticket-meta-row {
    display: flex;
    align-items: flex-start;
    /* üstten hizala */
    gap: 16px;
    width: 100%;
}

.ticket-meta-row__left {
    display: flex;
    flex-direction: column;
    /* p’ler alt alta */
    gap: 6px;
    min-width: 0;
}

.ticket-meta-row__right {
    margin-left: auto;
    /* en sağa it */
    width: max-content;
    /* daralma/taşma olmasın */
    text-align: right;
    /* içinde metin varsa sağa hizalansın */
    align-self: flex-start;
    /* üstte kalsın */
}

/* mobilde alt alta geçsin */
@media (max-width: 600px) {
    .ticket-meta-row {
        flex-direction: column;
    }

    .ticket-meta-row__right {
        margin-left: 0;
        align-self: flex-end;
    }
}


/*TICKET DETAY */
.ticket-detail {
    width: 100%;
    margin: auto;
    padding: 20px;
}

#ticket-messages {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: scroll;
    padding: 50px;
    background: transparent;
    /* background: #e5e5e5;
    background: -webkit-linear-gradient(to right, #eef2f3, #e5e5e5);
    background: linear-gradient(to right, #eef2f3, #e5e5e5); */
    border-radius: 2px;

}

.ticket-messages::-webkit-scrollbar {
    width: 6px;
}

.ticket-messages::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}

.ticket-messages::-webkit-scrollbar-track {
    background-color: #eee;
}

.ticket-messages {
    scrollbar-width: thin;
    scrollbar-color: #999 #f0f0f0;
}



/* Ortak stil */
.message {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    word-break: break-word;
}

/* Kullanıcı mesajı (sol) */
.message.user {
    background-color: #f0d798;
    align-self: flex-start;
    border-bottom-left-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


.message.system {
    justify-content: center;
    max-width: 100%;
    border-radius: 2px;
    background-color: #f1f1f1;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message.system .date {
    text-align: right;
}

.message .message-content .date {
    font-size: 10px;
    font-style: italic;
}

.message.user::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url('../layout/images/icon-user.png');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
}

/* Admin mesajı (sağ) */
.message.admin {
    background-color: #ffe0e0;
    align-self: flex-end;
    border-bottom-right-radius: 0;
    text-align: right;
    color: #7c5555;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message.admin::before {
    content: "";
    position: absolute;
    right: -28px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url('../layout/images/abra.png');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
}

.message small {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

#replyForm {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#replyForm textarea {
    width: 100%;
    height: 100px;
    resize: vertical;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: inherit;
    color: #736f6f !important;
}

#replyForm button {
    width: 150px;
    align-self: flex-end;
    background: url('../layout/images/gray-button-bg.png');
    color: white;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.5s;
}

#replyForm button:hover {
    -webkit-filter: brightness(1.2);
    filter: brightness(1.2);
    -webkit-transform: scale(1.02);
    transform: scale(1.02)
}

#replyForm button:hover {
    background-color: #4cae4c;
}

#replyForm button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: none;
    transform: none;
    background: url('../layout/images/gray-button-bg.png');
    color: #ccc;
}

#replyForm button:disabled:hover {
    filter: none;
    transform: none;
    background-color: unset;
}


.ticket-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.ticket-left {
    flex: 1;
    min-width: 250px;
}

.ticket-right {
    flex: 1;
    min-width: 250px;
}


.ticket-detail .ticket-header .ticket-left pre {
    color: #1f2120;
    font-family: 'Open Sans';
}


::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: #e2b24d
}

::-webkit-scrollbar-thumb {
    background-color: #c9942e;
    background-size: 100% 300%;
    border-radius: 0px;
    -webkit-transition: .3s;
    transition: .3s
}

::-moz-selection {
    color: white;
    background: #c9942e
}

::selection {
    color: white;
    background: #c9942e
}


/* ====== 1) Filtre panelini üstte yatay bar yap ====== */
/* Sol sütunu (filtre) üstte tek satır yap, sağ sütun altta tam genişlik */
#content .container>.row>.mobilemb {
    order: -1;
    /* önce gelsin */
    flex: 0 0 100%;
    max-width: 100%;
}

#content .container>.row>.col-md-9 {
    order: 0;
    flex: 0 0 100%;
    max-width: 100%;
}

/* Kartı “toolbar” gibi görünür yap */
#content .mobilemb .card {
    display: grid;
    grid-template-columns: auto 220px auto 260px auto;
    align-items: end;
    gap: 0px 0px;
    padding: 9px 2px;
    margin-bottom: 10px;
    border: 1px solid #d3b78a;
    border-radius: 5px;
    background: linear-gradient(180deg, #fffaf0 0%, #f1e7cd 100%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .02) 0 2px, transparent 2px 4px);
    box-shadow: inset 0 1px rgba(255, 255, 255, .6), 0 2px 10px rgba(0, 0, 0, .08);
    color: #3c3422;
    position: relative;
    padding: 10px;
}

#content .mobilemb .card::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f6d57a, #c79d3a);
    box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .04);
}

/* Başlık tüm satırı kaplasın */
#content .mobilemb .card h5 {
    grid-column: 1 / -1;
    margin: 0 0 4px 0;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6b5d3b;
}

/* Label + input yerleşimleri (mevcut id/class’larla) */
#content .mobilemb .card label[for="filter-status"] {
    grid-column: 1/2;
    margin: 0;
    font-weight: 700;
    color: #5a4630;
    font-size: 13px;
}

#content .mobilemb .card #filter-status {
    grid-column: 2/3;
}

#content .mobilemb .card label[for="filter-search"] {
    grid-column: 3/4;
    margin: 0;
    font-weight: 700;
    color: #5a4630;
    font-size: 13px;
}

#content .mobilemb .card #filter-search {
    grid-column: 4/5;
}

/* Temizle butonu en sağda */
#content .mobilemb .card #clear-filters {
    grid-column: 5/6;
    justify-self: end;
}

/* Retro input/select (mevcut .form-select/.form-control sınıflarını stillendir) */
#content .mobilemb .card .form-select,
#content .mobilemb .card .form-control {
    height: 36px;
    padding: 6px 12px;
    border: 1px solid #d3b78a;
    border-radius: 10px;
    background:
        linear-gradient(180deg, #fffaf0 0%, #f1e7cd 100%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .02) 0 2px, transparent 2px 4px);
    box-shadow: inset 0 1px rgba(255, 255, 255, .7);
    color: #3c3422;
}

#content .mobilemb .card .form-select:focus,
#content .mobilemb .card .form-control:focus {
    outline: none;
    border-color: #c79d3a;
    box-shadow: 0 0 0 2px rgba(199, 157, 58, .2);
}

/* Retro temizle butonu (mevcut .btn.btn-warning’i yerel düzeyde özelleştir) */
#content .mobilemb .card .btn.btn-warning {
    height: 36px;
    border-radius: 10px;
    border: 1px solid #d3b78a;
    background: linear-gradient(180deg, #ffe9a6, #ffd46e);
    color: #4a3a17;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: inset 0 1px rgba(255, 255, 255, .7), 0 2px 6px rgba(0, 0, 0, .06);
}

#content .mobilemb .card .btn.btn-warning:hover {
    filter: brightness(1.03);
}

/* Mobil: filtreler alt alta */
@media (max-width: 640px) {
    #content .mobilemb .card {
        grid-template-columns: 1fr 1fr;
    }

    #content .mobilemb .card label[for="filter-status"] {
        grid-column: 1/2;
    }

    #content .mobilemb .card #filter-status {
        grid-column: 2/3;
    }

    #content .mobilemb .card label[for="filter-search"] {
        grid-column: 1/2;
    }

    #content .mobilemb .card #filter-search {
        grid-column: 2/3;
    }

    #content .mobilemb .card #clear-filters {
        grid-column: 1/-1;
        justify-self: end;
    }
}

/* ====== 2) Ticket kartı (mevcut .card.ticket-card) ====== */
#ticket-list .ticket-card {
    position: relative;
    border: 1px solid #d3b78a;
    border-radius: 5px;
    background: linear-gradient(180deg, #fffaf0 0%, #f1e7cd 100%), repeating-linear-gradient(0deg, rgba(0, 0, 0, .015) 0 2px, transparent 2px 4px);
    box-shadow: inset 0 1px rgba(255, 255, 255, .6), 0 2px 10px rgba(0, 0, 0, .08);
    color: #3c3422;
    overflow: hidden;
    height: 40px;
    padding: 20px;
}

#ticket-list .ticket-card::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 5px;
    border-radius: 2px;
    background: linear-gradient(180deg, #f6d57a, #c79d3a);
    box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .04);
}

/* Başlık/meta alanı */
#ticket-list .ticket-card strong {
    color: #2b2517;
}

#ticket-list .ticket-card .d-flex {
    align-items: center;
}

#ticket-list .ticket-card .d-flex>div:first-child {
    line-height: 1.45;
}

/* Status badge varsa (bootstrap/özel) */
#ticket-list .ticket-card .badge {
    background: transparent;
    border: 0;
    font-weight: 800;
    padding: 0;
}

/* Detay butonunu retro yap (mevcut .btn.btn-sm.btn-primary) */
#ticket-list .ticket-card .btn.btn-sm.btn-primary {
    --b: #5b5b5b;
    background: linear-gradient(180deg, #ffffff, #eaeaea);
    color: #3a3a3a;
    border: 2px dashed var(--b);
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: inset 0 1px rgba(255, 255, 255, .85);
}

#ticket-list .ticket-card .btn.btn-sm.btn-primary:hover {
    background: linear-gradient(180deg, #ffffff, #e4e4e4);
    border-color: #222;
    transform: translateY(-1px);
}

/* Yıldız rating alanı */
#ticket-list .ticket-card .ticket-rating-wrapper {
    margin-top: 10px;
}

.br-theme-fontawesome-stars .br-widget a {
    color: #b09a64;
}

/* pasif */
.br-theme-fontawesome-stars .br-widget a.br-selected,
.br-theme-fontawesome-stars .br-widget a.br-active {
    color: #f3c14b;
}

/* aktif */

/* Sayfalama (mevcut .pagination içinde) */
#pagination .page-item .page-link {
    border: 1px solid #d3b78a;
    background: linear-gradient(180deg, #fffaf0, #f1e7cd);
    color: #3c3422;
}

#pagination .page-item.active .page-link {
    background: linear-gradient(180deg, #f6d57a, #c79d3a);
    color: #2b2517;
    border-color: #c79d3a;
}


/* Label'ları input'ların üzerine yerleştirmek için */
#content .mobilemb .card label {
    display: block;
    /* Her etiketi kendi satırına al */
    margin-bottom: 5px;
    /* Altına biraz boşluk ekle */
}

/* Mevcut Grid düzenindeki label ve input pozisyonlarını iptal et */
#content .mobilemb .card label[for="filter-status"],
#content .mobilemb .card #filter-status,
#content .mobilemb .card label[for="filter-search"],
#content .mobilemb .card #filter-search {
    grid-column: auto;
    /* Grid sütun atamalarını kaldır */
}

/* Her bir filtre grubunu (label+input) kendi satırına almak için yeni bir flexbox düzeni */
#content .mobilemb .card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Elemanlar arasına boşluk bırak */
    align-items: stretch;
    /* Elemanların genişliğini kart genişliğine yay */
}

/* Başlık ve buton için ekstra stiller */
#content .mobilemb .card h5 {
    margin-bottom: 10px;
}

#content .mobilemb .card #clear-filters {
    margin-top: 10px;
}

/* === TICKET KARTI: sağda üstte DETAY, altında RATING === */
#ticket-list .ticket-card {
    display: grid;
    grid-template-columns: 1fr auto;
    /* sol bilgi | sağ sütun */
    grid-template-rows: auto auto;
    /* 1: buton satırı, 2: rating satırı */
    gap: 8px 12px;
}

/* d-flex sarmalayıcıyı "şeffaf" yap, içindeki iki div'i grid'e dahil et */
#ticket-list .ticket-card .d-flex {
    display: contents;
}

/* Sol bilgi bloğu: 2 satırı birden kaplasın */
#ticket-list .ticket-card .d-flex>div:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    line-height: 1.45;
}

/* Sağdaki DETAY butonu: üst satır, sağda */
#ticket-list .ticket-card .d-flex>div:last-child {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
}

/* Rating: alt satır, sağda */
#ticket-list .ticket-card .ticket-rating-wrapper {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: end;
}

/* (İsteğe bağlı) küçük ekran: klasik akışa dönsün */
@media (max-width: 600px) {
    #ticket-list .ticket-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    #ticket-list .ticket-card .d-flex>div:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    #ticket-list .ticket-card .d-flex>div:last-child {
        grid-column: 1;
        grid-row: 2;
        justify-self: end;
    }

    #ticket-list .ticket-card .ticket-rating-wrapper {
        grid-column: 1;
        grid-row: 3;
        justify-self: end;
    }
}


/* ==== Retro Notify (base) ==== */
.notify {
    position: relative;
    padding: 12px 14px 12px 22px;
    border: 1px solid #d3b78a;
    border-radius: 12px;
    background:
        linear-gradient(180deg, #fffaf0 0%, #f1e7cd 100%),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, .02) 0 2px, transparent 2px 4px);
    box-shadow: inset 0 1px rgba(255, 255, 255, .6), 0 2px 10px rgba(0, 0, 0, .08);
    color: #3c3422;
    line-height: 1.45;
    display: block;
}

/* Sol “altın” şerit (base) */
.notify::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f6d57a, #c79d3a);
    box-shadow: inset 0 1px rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .04);
}

/* ==== Red (hata/uyarı) varyantı ==== */
.notify.red {
    border-color: #d39a9a;
    background:
        linear-gradient(180deg, #fff7f7 0%, #fdecec 100%),
        repeating-linear-gradient(0deg, rgba(128, 0, 0, .03) 0 2px, transparent 2px 4px);
    color: #5b2b2b;
    padding-left: 30px;
}



/* Küçük ünlem rozeti (opsiyonel) */
.notify.red::before {
    content: "!";
    position: absolute;
    left: 5px;
    top: 9px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    background: linear-gradient(180deg, #e65a5a, #b53333);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

/* Linkler */
.notify.red a {
    color: #b53333;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.notify.red a:hover {
    opacity: .9
}

/* Giriş animasyonu (isteğe bağlı) */
@keyframes notify-pop {
    from {
        opacity: 0;
        transform: translateY(4px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.notify {
    animation: notify-pop .25s ease-out both;
}


/*HABERLER*/
/* Liste */
.newsboard {
    display: block;
    background: #faebd7;
}

@media (min-width:900px) {
    .newsboard {
        grid-template-columns: 1fr 1fr;
    }
}

/* Kart (kesik köşe + parşömen doku) */
.newscard {
    --paper1: #fff8e7;
    --paper2: #f1e2bf;
    --edge: #caa86b;
    --ink: #2b2517;
    --glow: rgba(0, 0, 0, .1);
    position: relative;
    display: block;
    color: var(--ink);
    text-decoration: none;
    padding: 24px 16px 8px 17px;
    border: 1px solid var(--edge);
    border-radius: 14px;
    background:
        radial-gradient(120% 70% at 100% 0, rgba(0, 0, 0, .06), transparent 60%),
        var(--card-illus) right 16px bottom 10px/160px auto no-repeat,
        linear-gradient(180deg, var(--paper1), var(--paper2));
    box-shadow: inset 0 1px rgba(255, 255, 255, .7), 0 2px 10px var(--glow);
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    margin-bottom: 5px;
}

.newscard::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    bottom: 0px;
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f6d57a, #c79d3a);
    box-shadow: inset 0 1px rgba(255, 255, 255, .55), 0 0 0 1px rgba(0, 0, 0, .04);
}

.newscard::after {
    /* kesik köşeler */
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    -webkit-mask:
        radial-gradient(14px at 10px 10px, transparent 12px, #000 12px) top left,
        radial-gradient(14px at calc(100% - 10px) 10px, transparent 12px, #000 12px) top right,
        radial-gradient(14px at 10px calc(100% - 10px), transparent 12px, #000 12px) bottom left,
        radial-gradient(14px at calc(100% - 10px) calc(100% - 10px), transparent 12px, #000 12px) bottom right;
    -webkit-mask-size: 50% 50%;
    -webkit-mask-repeat: no-repeat;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}

.newscard:hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px rgba(255, 255, 255, .8), 0 4px 16px rgba(0, 0, 0, .12);
}

/* Şerit (ribbon) tag */
.newscard__tag {
    position: absolute;
    top: 4px;
    left: -9px;
    padding: 6px 14px 6px 18px;
    background: linear-gradient(180deg, #ffe49b, #ffc95c);
    color: #5b4a21;
    font: 700 12px / 1 system-ui, Arial;
    letter-spacing: .06em;
    border: 1px solid #d3b78a;
    border-right: none;
    border-radius: 10px 8px 8px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .1), inset 0 1px rgba(255, 255, 255, .7);
}

.newscard__tag::after {
    /* üçgen kat izi */
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(180deg, #ffe49b, #ffc95c);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    border-top: 1px solid #d3b78a;
    border-right: 1px solid #d3b78a;
    border-bottom: 1px solid #d3b78a;
}

/* Başlık + özet */
.newscard__title {
    margin: 18px 0 6px 10px;
    font-weight: 800;
    font-size: 15px;
}

.newscard__summary {
    margin: 0 10px 0 10px;
    color: #4a3e2c;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tarih: damga görünümü */
.newscard__date {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    font-size: 12px;
    letter-spacing: .06em;
    color: #ab633b;
    background: linear-gradient(180deg, #f7f6ee, #e9d2b5);
    border: 2px dashed #9e9587;
    border-radius: 10px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .85);
}

/* Tema varyantları (istersen tag'e göre) */
a.newscard[data-tag="Duyuru"] .newscard__tag {
    background: linear-gradient(180deg, #eaf3ff, #cfe4ff);
    color: #244b7a;
    border-color: #9ec0ea;
}

a.newscard[data-tag="Etkinlik"] .newscard__tag {
    background: linear-gradient(180deg, #e5ffea, #c9f5d1);
    color: #2e7d32;
    border-color: #9ed0a5;
}

a.newscard[data-tag="Güncelleme"] .newscard__tag {
    background: linear-gradient(180deg, #fff3e7, #ffe0bf);
    color: #8a4f12;
    border-color: #efc38f;
}

.hero-owl .item {
    height: 300px;
    /* ihtiyacına göre */
    background: var(--bg) center/cover no-repeat;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.hero-owl .slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 20px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
}

.hero-owl .slide-caption h3 {
    margin: 0 0 4px;
    font-size: 22px;
}

.hero-owl .slide-caption p {
    margin: 0;
    opacity: .95;
}

/* Ok ve noktaları biraz belirginleştir (isteğe bağlı) */
.hero-owl .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, .45) !important;
    color: #fff !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.hero-owl .owl-nav .owl-prev {
    left: 8px;
}

.hero-owl .owl-nav .owl-next {
    right: 8px;
}

.hero-owl .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: .8;
}

.hero-owl .owl-dots .owl-dot.active span {
    background: #f3c14b;
}

.owl-carousel {
    width: 76% !important;
}

.pw-helper {
    margin-top: 8px;
}

.pw-meter {
    height: 8px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
}

.pw-meter-bar {
    height: 100%;
    width: 0%;
    transition: width .25s ease;
}

.pw-meter-bar.veryweak {
    background: #d9534f;
}

/* çok zayıf */
.pw-meter-bar.weak {
    background: #f0ad4e;
}

/* zayıf */
.pw-meter-bar.fair {
    background: #ffd052;
}

/* normal */
.pw-meter-bar.good {
    background: #5cb85c;
}

/* iyi */
.pw-meter-bar.strong {
    background: #4cae4c;
}

/* çok güçlü */

.pw-meter-label {
    font-size: .9rem;
    margin: 6px 0 4px;
    color: #666;
}

.pw-reqs {
    list-style: none;
    padding-left: 0;
    margin: 6px 0 0;
}

.pw-reqs li {
    position: relative;
    padding-left: 20px;
    margin: 4px 0;
    color: #555;
}

.pw-reqs li::before {
    content: "✖";
    position: absolute;
    left: 0;
    top: 0;
    font-size: .9rem;
    line-height: 1;
    color: #b3b3b3;
}

.pw-reqs li.ok {
    color: #2b7a0b;
}

.pw-reqs li.ok::before {
    content: "✔";
    color: #2b7a0b;
}

.pw-reqs li.bad {
    color: #9a3b3b;
}


.haberleredon {
    color: #a27c48;
    text-decoration: none;
}

.news-meta .info span.red {
    color: #8f292f;
}

.news-meta .info span {
    font-style: italic;
}

.separate {
    display: flex;
    align-items: center;
    text-align: center;
    color: #ce5510;
    margin: 10px 0;
    font-weight: bold;
    text-transform: uppercase;
}

.separate::before,
.separate::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ce5510;
}

.separate:not(:empty)::before {
    margin-right: .75em;
}

.separate:not(:empty)::after {
    margin-left: .75em;
}

.news-badge {
    z-index: 1;
    height: 22px;
    width: max-content;
    background: url(../layout/images/news-badge-bg-repeat.png) center repeat-x;
    background-size: auto 100%;
    background-position: left top;
    padding: 0 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 20px;
    white-space: nowrap;
    font-weight: bold;
    font-size: 11px;
    color: #e0e0e0;
    text-transform: uppercase;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

.b-blue {
    -webkit-filter: hue-rotate(217deg) brightness(1.2);
    filter: hue-rotate(217deg) brightness(1.2);
}

.news-detail {
    max-width: 620px;   /* Örnek: 800px genişliği aşmasın */
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.s-news-holder a {
    background: #f7ddc4;
    display: block;      
    padding: 10px; 
    border-radius: 5px;  
    transition: 0.2s;
    color: #111;
    text-decoration: none;
}

.s-news-holder a:hover{
    background: #f0d0b2;
}


/* ==== Tema değişkenleri (isteğe göre düzenle) ==== */
:root{
  --bg-pane: #f5e8d2;       /* panel zemin */
  --bg-card: #fffaf0;       /* kart zemin */
  --border:  #d4bda0;
  --text:    #1f1f1f;
  --muted:   #6b6b6b;
  --link:    #795548;
  --badge-blue: #1e90ff;
  --btn-bg: #eee;
  --btn-bg-hover: #e2e2e2;
  --btn-text: #333;
  --shadow: 0 1px 6px rgba(0,0,0,.06);
}

/* Dış sarmalayıcı */
.holder-form .container{
  background: var(--bg-pane);
  border: 1px solid var(--border);
  padding: 12px;
  width: 617px;
}

/* ====== ARAMA ÇUBUĞU ====== */
.news-search-form-wrapper{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.news-search-form .search-bar{
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-search-form .input-holder{
  flex: 1 1 auto;
  min-width: 220px;
}

.news-search-form .input-holder input{
  width: 92%;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.news-search-form .input-holder input:focus{
  box-shadow: 0 0 0 3px rgba(30,144,255,.15);
  border-color: var(--badge-blue);
}

/* Sağ tarafa yayılacak butonlar */
.news-search-form .search-button{
  flex: 0 0 auto;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 14px;
  line-height: 32px;
  cursor: pointer;
  transition: background .15s, transform .05s;
}

.news-search-form .search-button:hover{ background: var(--btn-bg-hover); }
.news-search-form .search-button:active{ transform: translateY(1px); }

/* Mobil kırılım */
@media (max-width: 640px){
  .news-search-form .search-bar{ flex-wrap: wrap; }
  .news-search-form .input-holder{ min-width: 100%; }
  .news-search-form .search-button{ flex: 1 1 auto; text-align: center; }
}

/* ====== HABER LİSTESİ ====== */
.news{ margin-top: 16px; }

.news-card{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-card);
  text-decoration: none;          /* link çizgisi yok */
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .08s, box-shadow .15s, border-color .15s;
}

.news-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  border-color: #caa984;
}

.news-thumb{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: #ddd;
}

.news-thumb img{
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.news-body{ display: flex; flex-direction: column; gap: 6px; }



/* başlık */
.news-title{
  font-size: 18px;
  margin: 0;
  color: var(--link);
  text-decoration: underline;
}

/* meta & özet */
.news-meta{ font-size: 13px; color: var(--muted); }
.news-summary{
  margin: 4px 0 0;
  color: var(--text);
}

/* “Haberin devamını…” alt yazısı */
.news-meta .author{
  display: inline-block;
  margin-top: 6px;
  color: var(--link);
  text-decoration: underline;
}

/* Uzun kelimeler taşmasın */
.news-summary, .news-title, .news-meta, .news-body{
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  white-space: normal !important;
}

/* Kart araları */
.news .mb-2{ margin-bottom: 12px; }

/* Daha dar ekranlar: kart tek sütun */
@media (max-width: 520px){
  .news-card{ grid-template-columns: 1fr; }
  .news-thumb{ aspect-ratio: 16/9; }
}


/* Taşmayı engelle – uzun kelimeleri kır */
.news-summary,
.news-title,
.news-meta,
.news-card {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;  /* modern ve en etkili */
  word-break: break-word;   /* eski destek için */
}

/* Çok uzun metni 3 satırda kes (… ile görsel kırpma) */
.news-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* kaç satır istiyorsan değiştir */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tek satırda … isterse
.news-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
*/