@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root
{
  --element-background-color:rgb(34,34,34);
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}


body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}


ul[role='list'],
ol[role='list'] {
  list-style: none;
}


body {
  width: 100%;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Montserrat', sans-serif;
  background-color: #333;
  margin: 0;
}


h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}


h1, h2,
h3, h4 {
  text-wrap: balance;
}


a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}


img,
picture {
  max-width: 100%;
  display: block;
  overflow-x:hidden
}


input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}


textarea:not([rows]) {
  min-height: 10em;
}


:target {
  scroll-margin-block: 5ex;
}



h1
{
  font-size: 2.25rem;
}

h2
{
  font-size: 1.875rem;
}


a
{
  text-decoration: none;
}

.sp-top a, .foot-top a, 
.content p, .sp-bot input, 
.br-element li, article h3, 
.site-info p, .head-bot a
{
  font-size: .875em;
}

.sp-bot, .head-top, .sp-top, 
.head-bot, .foot-top
{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.content p, .sp-bot input, .sp-top a
{
  line-height: 1.42857143;
}

ul
{
  padding-inline: 1rem;
  margin-block: .5rem;
}

header
{
  background-color: #222222;
}

.head-top
{
  justify-content: space-between;
  padding-inline: 4rem;
  padding-top: 1rem;
  align-items:flex-start;
}

.head-top a img
{
  max-width: 250px;
}

.sp-top
{
    color: #fff;
}

.btn-search
{
  height: 100%;
  color: #fff;
  background-color: #ffbc00;
  border-color: transparent;
  border-radius: 0 4px 4px 0;
    
}

.btn-search:hover
{
  cursor: pointer;
  background-color: #ffbb00d0;
}

.btn-search img
{
  height: 28px;
  filter: invert(1);
}


.sp-bot input
{
  width: 320px;
  height: 34px;
  padding: 6px 12px;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-colorease-in-out .15s, -webkit-box-shadowease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-colorease-in-out .15s, box-shadowease-in-out .15s;
}

.sp-bot input:focus-visible
{
  outline: 0;
  border-color: #66afe9;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.sp-top
{
  justify-content: flex-end;
  gap: .5rem;
  margin-bottom: .5rem;
  font-weight: 700;
}

.head-bot
{
    margin-inline: 6rem;
}

.head-bot a
{
  color: #9d9d9d;
  padding-inline: 15px;
  padding-block: 10px;
  line-height: 20px;
  height: 50px;
}

.content
{
  margin-top: 1.5rem;
  color: white;
  padding-inline: 2%;
  width: 100%;

}

.content, .profile-wrapper
{
  min-height: calc(100vh - 315px);
}



.br-element
{
  padding: 20px;
  border-width: 3px;
  border-style: solid;
  border-color: rgb(90, 90, 90);
  border-image: initial;
  border-radius: 10px;
  background-color: var(--element-background-color);
}

.welcome, .foot
{
  margin-block: 1.5rem;
}

.foot
{
  margin-inline: 2%;
  color: #fff;
}

.foot-top
{
  justify-content: space-between;
}

.main
{
  display: grid;
  grid-template-columns: 15% 1fr;
  gap: 2rem;
}

.main-left, .not-found
{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.not-found
{
  padding-top: 5%;
  text-align: center;
}

article h3
{
  margin: 10px 0 20px 0;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.games-container
{
  display: grid;
  grid-template-columns:repeat(auto-fit, minmax(210px, 1fr));
  gap:1rem;
  justify-content: center;
}



.games-container article a
{
  border-color: rgb(66, 66, 66);
  transition: border .9s ease, color .9s ease;
}

.games-container article a:hover
{
  border-color:#ffbc00;
  color: #ffbc00;
}

.games-container .preview
{
  border-color: inherit;
}

.games-container article img
{
  max-height: 110px;
  width: 100%;
  object-fit: cover;
  border-width: 3px;
  border-style: solid;
  border-color: inherit;
}

.games-container article, .games-container article img, .games-pagination a
{
  border-radius: 6px;
}

.games-pagination
{
  display: grid;
  justify-content: center;
  /* grid-template-columns: repeat(auto-fill, minmax(0, 40px)); */
  grid-template-columns:repeat(auto-fit, 40px);
  gap: .4rem;
}

.games-pagination li
{
  display: inline-flex;
  
}

.games-pagination>.active a
{
  background-color: #FFBC03 ;
  font-weight: bold;
  
}

.games-pagination a
{
  background-color: #5A5A5A;
  padding-inline: 8px;
  padding-block: 4px;
  width: 40px;
  text-align: center;
}

nav
{
  margin-block: 1.5rem;
}

nav ul
{
  margin-top: 0;
  padding-bottom: .5rem;
}

.site-info
{
  padding-block: 2rem;
}

.site-info p
{
  margin-block: .5rem;
  
}

.site-info h2
{
  margin-top: 1.5rem;
}

.hamburger-menu
{
  z-index: 1000;
  display: none;
}

.hamburger 
{
  display: none;
  width: 45px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border: .5px solid #666;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s ease;
  margin-left: 2%;
  
}
.hamburger:hover {background:#575757;}
.hamburger span {
  display:block;
  height:2px;
  width:22px;
  background:#fff;
}

nav.drop-menu 
{
  position:absolute;          
  top:44px;                   
  left:0;                 
  width:100%;               
  background:#222;
  overflow:hidden;
  max-height:0;              
  border-radius:0 0 4px 4px; 
  box-shadow:0 4px 8px rgba(0,0,0,.4);
  transition:max-height .3s ease;
}
nav.drop-menu.open 
{
  max-height:692px;
} 

nav.drop-menu ul 
{
  list-style:none;
  padding-inline: 0;
}

nav.drop-menu li a 
{
  display:block;
  padding:1rem 1.25rem;
  text-decoration:none;
  color:#dcdcdc;
  transition:background .2s, color .2s;
}

.search-menu
{
  display: none;
}

.drop-search-menu 
{
  display: flex;
  justify-content: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  position: absolute;
  left: 50%;
  top: 50px;
  transform: translateX(-50%);
  z-index: 1000;
  width: 96%;
}

.drop-search-menu.open 
{ 
  max-height: 150px; 
  display: none;
} 

.drop-search-menu .sp-bot
{
  width: 100%;
  justify-content: center;
}

.drop-search-menu .sp-bot input
{
  width: 70%;
}

.search
{
  display: none;
  position: absolute;
  right: 2%;
  top: 16px;
  width: 36px;
  height: 36px;
  filter: invert(1);
  z-index: 1000;
}

.head-bot a
{
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}

nav.drop-menu li a.active,  .head-bot a.active
{
  background:#000;
  color:#fff;
}

nav.drop-menu li a.active
{
  background:#676565;
}


.overlay 
{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.8);
  opacity:0;
  visibility:hidden;
  transition:opacity .3s ease;
  z-index:900; 
}



.preview 
{
  position: relative;
  overflow: hidden;               
}

.preview-overlay {
  position: absolute;
  inset: 2px;
  background: url("../img/overlay2.png") center/cover no-repeat;      
  opacity: 0;
  transition: opacity .45s ease;
  border-radius: 4px;
  
}

article a:hover .preview-overlay 
{ 
  opacity: 1; 
}

.main-left a:hover, .sp-top a:hover, 
.head-bot a:not(.active):hover, 
.games-pagination li:not(.active) a:hover, 
.ft-item a:hover, .game-window a:hover, .dmca li a:hover,
.search-site .other-tags a:hover
{
  color: #FFBC03;
}

.search-site .other-tags a
{
  text-decoration: underline;
}

.game-window
{
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.game-wrapper
{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;    
  transition: width 0.2s ease, height 0.2s ease;
  margin: 0 auto;
}


.mobile-game-wrapper
{
  display: flex;   
  flex-direction: column;
  align-items: center;
}

.mobile-game-title, .pc-game-name, .html-game-name 
{
  color: #FFBC00;
  font-weight: 500;
  line-height: 1.1;
  font-size: 1.875rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}


.btn-tap-play
{
  display: block;
  margin: 20px auto 45px auto;
  padding: 20px;
  background-color: #FFBC03;
  max-width: 300px;
  width: 70%;
  font-weight: bold;
  text-shadow: 0px 0px 10px black;
  color: #fff;
  border-radius: 8px;
  text-align: center;
}

.btn-tap-play:focus
{
  color: #333;
  text-decoration: none;
}

.game-wrapper iframe
{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  padding-bottom: 2rem;
}

.over-iframe
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.html-game-name 
{
  margin-bottom: .5rem;
}
#ContextContainer
{
  top: -8px!important;
}
/* #game-link
{
  position: absolute;
  right: 0;
  z-index: 2000;
} */

.resize-handle 
{
  position: absolute;
  width: 32px; 
  height: 32px;
  bottom: 32px; 
  right: 0px;
  position: absolute;
  background: url('../img/resize.svg') no-repeat center/contain;
  cursor: se-resize;
  z-index: 10;
}

.ui-resizable-helper 
{
  background: transparent !important;
  border: 2px dashed #e79c2b !important;
  box-shadow: 0 0 8px rgba(231, 156, 43, 0.5);
}

.ui-resizable-helper,
.ui-resizable-handle 
{
  cursor: se-resize !important;
}

.resize-hint
{
  position: absolute;
  bottom:-2px;
  right:38px;
  
}

.res-hint img
{
  position: absolute;
  bottom:-2px;
  right:0px;
  width: 32px;
  height: 32px;
}


.game-background
{
  background-color: #000;
}

.below-game
{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block: 2rem;
}

.share-box
{
  list-style:none;
  display:flex;
  gap:.4rem;
  padding:0;
}

.share-box a, .share-box button
{
  width:34px;
  height:34px;
  border:0;
  outline:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  cursor:pointer;
  padding:0;
}

.share-box img
{
    width:18px;
    height:18px;
}


.plus{background:#007bff;}
.fb  {background:#1877f2;}
.x   {background:#272626;}
.rd  {background:#ff4500;}
.pin {background:#e60023;}
.ms  {background:#0084ff;}
.copy{background:#777;}

.share-box a:hover, .share-box button:hover{
    filter:brightness(1.15);
}

.comment
{
  display: flex;
  padding: 10px 20px 0px 20px;
  border: 1px solid #5a5a5a;
  border-radius: 10px;
  width: 100%;
  margin: 0 auto 10px auto;
  min-height: 75px;
  gap: 1rem;
}

.comment-avatar
{
  max-width: 50px;
  aspect-ratio: 1;
  width: 100%;
}
.comment-avatar img
{
  border-radius: 6px;
  min-width: 50px;
  
}

.com-h3
{
  margin-bottom: .5rem;
}

.comment hr
{
  margin-block: .1rem;
}

.label
{
  position: absolute;
  bottom: 6px;
  right: 6px;
  border-radius: 2px;
  padding: 8px;
  font-weight: 500;
  line-height: 0;
  color: #fff;
}
.label span
{
  font-size: .6em;
}

.html-label
{
  background: #7BA738;
}

.pc-label
{
  background: #2C53A3;
}

.flash-label
{
  background: #a80707;
}

.btn-comment
{
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
  margin-top: 1rem;
  margin-bottom: .5rem;
}

.btn-download
{
    display: block;
    padding: 20px;
    background-color: #FFBC03;
    width: 300px;
    font-weight: bold;
    text-shadow: 0px 0px 10px black;
    font-size: .875rem;
    margin: 0 auto;
    margin-top: 1rem;
    border-radius: 8px;
    cursor: pointer;
    color: #fff;
    text-align: center;
}

.btn-download:hover
{
  color: #333;
  text-decoration: none;
}

.btn-comment:active:focus
{
  background-color: #d58512;
  border-color: #985f0d;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.other-tags
{
  padding-inline: 20px;
  border-width: 0px;
  border-style: solid;
  border-color: transparent;
  border-radius: 10px;
  background-color: transparent;
  padding-top: 1rem;
  padding-bottom: .5rem;
}



.register-card 
{
  max-width: 555px;
  margin: 2rem auto;
}

.register-card h2 
{
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
}
.register-card form 
{
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.register-card label 
{
  display: flex;
  flex-direction: column;
  font-size: .9rem;
  position: relative;
}
.register-card span 
{
  margin-bottom: .25rem;
  font-weight: 700;
}
.register-card input 
{
  padding: .5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #555;
}
.register-card input:focus 
{
  border-color: #888;
  outline: none;
}
.recaptcha-container 
{
  margin: 1rem 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 1px solid #555;
  border-radius: 4px;
  color: #777;
  font-size: .9rem;
}
.btn-signup 
{
  padding: .6rem;
  background: #e79c2b;
  border: none;
  border-radius: 4px;
  color: #222;
  font-weight: bold;
  cursor: pointer;
}
.btn-signup:hover 
{
  filter: brightness(1.1);
}
.have-account 
{
  margin-top: 1rem;
  font-size: .85rem;
  text-align: center;
}
.have-account a 
{
  color: #e79c2b;
  text-decoration: none;
}
.have-account a:hover 
{
  text-decoration: underline;
}

.error-tooltip 
{
  display: none;
  position: absolute;
  left: 0; top: 100%;
  margin-top: 4px;
  background: #fff;
  color: red;
  padding: .5rem .75rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  font-size: .85rem;
  white-space: nowrap;
  z-index: 10;
}
.error-tooltip::before 
{
  content: "";
  position: absolute;
  top: -6px; left: 10px;
  border: 6px solid transparent;
  border-bottom-color: #fff;
}

.pc-window
{
  display: grid;
  grid-template-columns: 1fr 33%;
  gap: 2rem;
}



.pc-game-wrapper 
{
  position: relative;
  width: 100%;
  max-width: 40vw;    
  margin: 0 auto;
}


#imageGallery 
{ 
  width:100%; margin:0 auto; 
}

.lSPager
{
  display: flex;
  gap: .5rem;
}

#imageGallery li img[src=""] 
{ 
  display:none; 
}

.mobile-pc-info
{
  text-align: center;
  background-color: #e93636;
  padding: 10px;
  border-radius: 5px;
  margin-top: 1rem;
}

.dmca
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding-block: 1rem;
}
.dmca h2
{
  font-weight: 500;
}
.exempt
{
  text-align: center;
}

.site-main-sites , .site-blog-posts, .site-games, .site-footer-links, .list-friends
{
  list-style: none;
  padding-left: 0;
}

.site-blog-posts li, .site-games li
{
  padding-left: 1rem;
}

.about-me-container
{
  max-width: 1100px;
  margin: 0 auto;
  padding-block: 3rem;
}

.about-me, .am-top, .my-comments
{
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.am-avatar img
{
  max-width: 100px;
  max-height: 100px;
  margin-bottom: .5rem;
}
.ab-name
{
  text-align: center;
  max-width: 100px;     
  overflow: hidden;          
  text-overflow: ellipsis;
  display: -webkit-box;        
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;       
  line-height: 1;  
}

.btn-edit-profile
{
  color: #000;
  background-color: #ffbc00;
  border-color: #edaf02;
  padding: 10px;
  border-radius: 3px;
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
}

.btn-edit-profile:hover
{
  background-color: #edaf02;
  border-color: #edaf02;
  cursor: pointer;
}

.about-me-container h3
{
  margin-bottom: 1rem;
}

.about-me
{
  gap: 2rem;
}

.am-top
{
  flex-direction: row;
  border-bottom: 1px solid #5a5a5a;
  padding-bottom: 2rem;            
}

.am-left
{
  padding-left: 2rem;
}

.my-comments
{
  gap: 1rem;
}

.my-comment
{
  display: flex;
  gap: 2rem;
  border: 1px solid #5a5a5a;
  border-radius: 6px;
}

.mc-left
{
  width: 30%;
}
.mc-right
{
  padding: 1.25rem;
  width: 100%;
}

.my-comment img
{
  height: 100%;
  width: 100%;
  margin: 0;
  border-radius: 6px 0 0 6px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.login
{
  gap: 1rem;
}

.sp-top.login a i 
{
  margin-right: .45rem;     
  font-size: 1.05em;     
}

.avatar-form 
{ 
  margin-top:2rem; 
}

.drop-zone 
{
  display:flex; 
  align-items:center; 
  justify-content:center;
  height:150px; 
  border:2px dashed #666; 
  border-radius:4px;
  color:#eee; 
  text-align:center; 
  cursor:pointer;
  transition:.2s background;
}
.drop-zone.dragover 
{ 
  background:#222; 
}

.avatar-preview 
{
  width:150px; 
  height:150px; 
  object-fit:cover;
  border-radius:4px; 
  margin:1rem 0;
}

.avatar-actions 
{ 
  display:flex; 
  margin-top: 1rem;
  gap:.5rem; 
}

.btn-save, .btn-cancel 
{
  padding:.5rem 1.2rem; 
  border:0; 
  cursor:pointer; 
  font-weight:600;
}

.btn-save   
{ 
  background:#ffc107; 
}
.btn-cancel 
{ 
  background:#e0e0e0; 
}


.am-right, .avatar-form
{
  width: 100%;
}

.download
{
  margin-block: 6rem;

}

.download, .phase-captcha, .not-found-text
{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.dl-panel
{
  max-width:900px; margin:2rem auto; padding:2rem 0;
  border-radius:6px; text-align:center;
  color:#ffc107; font-family:Roboto,Arial,Helvetica,sans-serif;
  overflow:hidden;                                
  transition:max-height .4s ease;
}


.phase-captcha
{ 
  display:none; 
}

.h2-download
{ 
  font-size:clamp(1.4rem,3vw,2rem); 
  margin:0 0 1.5rem; }

.btn
{
  display:inline-block; 
  padding:.9rem 3.5rem;
  background:#ffc107; 
  color:#1e1e1e; 
  font-weight:700; 
  font-size:1.05rem;
  border:0; border-radius:4px; 
  cursor:pointer; transition:opacity .2s;
}
.btn:disabled
{ 
  opacity:.35; cursor:not-allowed; 
}


.dl-panel[data-expanded="true"]
{ 
  max-height:1000px; 
}
.dl-panel:not([data-expanded])
{ 
  max-height:150px; 
}

.search-site
{
  margin-top: 1rem;
  margin-inline: 10%;
}
.search-site .font-24
{
  margin-block: 2rem;
  font-size: 24px;
}

.bnr-top, .bnr-bot, .bnr-top-mobile
{
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}


.bnr-bot
{
  margin-top: 1rem;
}

.ads-row
{
  display: flex;
  justify-content: center;
}

.sign-link, #grecaptcha-error
{
  color: #f0ad4e; 
  font-weight: bold;
}

#comment-box textarea 
{
  padding: 10px;
  display: block;
  width: 100%;
  height: 4em;
  margin-bottom: 10px;
  border-radius: 5px;
  min-height: 0;
}

.a2a_kit
{
  margin-block: .5rem;
}

.my-comments h3
{
  font-weight: 400;
  font-size: 1em;
}

#slide-ads 
{
    display: none; 
}


#slider-wrapper a 
{
  text-decoration: none;
  color: white;
}

#slider-wrapper 
{
  position: fixed;
  /* bottom: -350px; */
  z-index: 9999;
  opacity: 1;
  padding-right: 10px;
  width: 72%;
  max-width: 800px;
  margin: 0px;
  right: 10px;
}

.sitemap-container
{
  display: flex;
}

.side-banner
{
  padding-left: 2rem;
  padding-top: 2rem;
}

.flashcontent
{
  padding-bottom: 2rem;
}

.vid-frame 
{
  display: block;
  position: relative;
  background: none 0px 0px repeat scroll rgb(178, 178, 178);
  border: 1px solid rgb(204, 204, 204);
  border-radius: 3px;
  padding: 5px;
  width: 100%;
  height: 100%;
}

.vid-show 
{
  z-index: 1;
  width: 100%;
  height: 100%;
}

.skip-btn {
  cursor: pointer;
  display: none;
  position: absolute;
  bottom: 22%;
  right: 6px;
  height: 8%;
  width: 22%;
  font-size: 4vw;
  background-color: rgba(0, 0, 0, .6);
  border: 1px solid black;
  text-align: center;
  color: white;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

.clickoverlay 
{
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .0);
}

.vid-close 
{
  background: none 0px 0px repeat scroll rgb(178, 178, 178);
  border-color: rgb(204, 204, 204);
  border-left-width: 1px;
  border-left-style: solid;
  border-radius: 3px 3px 0px 0px;
  border-right-width: 1px;
  border-right-style: solid;
  border-top-width: 1px;
  border-top-style: solid;
  color: white;
  cursor: pointer;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 13px;
  padding: 6px 7px 4px;
  position: absolute;
  right: 9px;
  top: -25px;
  z-index: 9999;
}

video::-webkit-media-controls-start-playback-glyph 
{
  will-change: opacity;
}

.d-none, #comment-not-registered-message, #comment-box, #grecaptcha-error
{
  display: none;
}


.list-friends li
{
  font-size: 1.5em;
  margin-bottom: .3rem;
}

.friends-line
{
  font-size: 1.2em!important;
}

.list-friends h3
{
  font-weight: 400;
}


/* 
        .profile-wrapper 
        {
            max-width: 1200px;
            margin: 20px auto;
            border-radius: 12px;
        }

  
        .profile-header 
        {
          color: #fff;
            display: flex;
            align-items: center;
            padding: 20px;
            border-bottom: 2px solid #444;
            margin-bottom: 1rem;
        }

        .profile-avatar 
        {
            width: 96px;
            height: 96px;
            border-radius: 4px;
           
            margin-right: 20px;
            position: relative;
            background-size: cover;
            margin-right: 20px;
            cursor: pointer;
        }


        .profile-avatar::after 
        {
            content: '✎';
            position: absolute;
            bottom: 4px;
            right: 4px;
            background: rgba(0,0,0,0.6);
            color: #fff;
            font-size: 0.8rem;
            padding: 2px 4px;
            border-radius: 3px;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .profile-avatar:hover::after 
        {
            opacity: 1;
        }

        .profile-header h1 
        {
            font-size: 1.4rem;
            margin-bottom: 8px;
        }

        .profile-meta 
        {
            font-size: 1rem;
        }

    
        .profile-tabs 
        {
            display: flex;
            background: #bfbfbf;
            border-radius: 9px;
        }

        .profile-tabs button 
        {
            flex: 1;
            padding: 15px;
            font-size: 1.2rem;
            font-weight: 600;
            border: none;
            border-right: 1px solid #000;
            background: #444;
            color: #9d9d9d;
            cursor: pointer;
        }

        .profile-tabs button:last-child 
        {
            border-right: none;
            border-radius: 0 8px 8px 0;
        }

        .profile-tabs button:first-child 
        {
            border-radius: 8px 0 0 8px;
        }

      
        .profile-content-pane 
        {
            display: none;
            padding: 20px;
            min-height: 300px;
            color: #fff;
        }

        .avatar-modal 
        {
            position: fixed;
            inset: 0;                 
            background: rgba(0,0,0,0.7);
            display: flex;            
            align-items: center;      
            justify-content: center;  
            z-index: 999;
            visibility: hidden;       
            opacity: 0;
            transition: opacity .25s ease;
        }

        .avatar-modal.show 
        {                 
            visibility: visible;
            opacity: 1;
        }

        .avatar-modal-content 
        {
            background: #fff;
            color: #000;
            padding: 20px;
            border-radius: 6px;
            width: 320px;
            text-align: center;
        }

        .avatar-modal-content h2 
        {
            margin-bottom: 15px;
        }

        .modal-buttons 
        {
            margin-top: 15px;
        }

        .avatar-modal-buttons button 
        {
            padding: 8px 16px;
            margin: 0 5px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 600;
        }

        #saveAvatar 
        {
            background: #2d9e4b;
            color: #fff;
        }

        #cancelAvatar 
        {
            background: #b3b3b3;
        }

    
        .edit-form { max-width: 450px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
        .edit-form label { font-weight: 600; display: flex; flex-direction: column; font-size: 0.95rem; gap: 6px; }
        .edit-form input, .edit-form textarea { padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; outline: none; }
        .edit-form input:focus, .edit-form textarea:focus { border-color: #888; }
        .edit-form textarea { resize: vertical; min-height: 100px; max-height: 200px; }
        #saveBtn { align-self: flex-start; background: #2d9e4b; color: #fff; padding: 10px 20px; border: none; border-radius: 4px; font-weight: 600; cursor: pointer; }
        #profileMsg { font-size: 0.9rem; }

        .remove-favor
        {
          left: 6px;
          background: black;
          max-width: 100px;
          padding: 5px;
          height: 35px;
          font-size: 1.2em;
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 2000;
        }   */


@media(max-width:991px)
{

  .welcome, .main-left, .search-part .sp-bot
  {
    display: none;
  }
  .main, .pc-window
  {
    grid-template-columns: 1fr;
  }
  .foot, .search-site .font-24
  {
    text-align: center;
  }
  .foot-top
  {
    flex-direction: column;
    gap: .5rem;
    margin-bottom: .5rem;
  }
  .head-top a img
  {
    position: absolute;
    max-width: 200px;
    top: 29px;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .head-bot
  {
    margin-inline: 0;
    justify-content: center
  }

  .head-top
  {
    justify-content: flex-end;
    padding-block: 1rem;
  }

  .games-container
  {
    justify-content: center;
  }

  .search-site
  {
    margin-inline: 0;
  }
  .content
  {
    margin-top: 0;
  }

}

@media(max-width:864px)
{
    .overlay.visible 
  {
    opacity:1; 
    visibility:visible;
  }
  .content
  {
    padding-block: 1rem;
  }
  .head-top
  {
    align-items: center;
    padding-inline: 2%;
    justify-content: flex-start;
  }
  .hamburger-menu, .hamburger
  {
    display: flex;
  }
  .head-top a img
  {
    max-width: 150px;
    top: 34px;
  }
  .sp-top 
  {
    display: none;
  }
  .head-bot
  {
    display: none;
  }
  .register-card
  {
    margin-block: 0;
  }

  
  .search, .search-menu
  {
    display: flex;
  }
  .drop-search-menu.open 
  {
    display: flex;
  }
    .about-me-container
  {
    padding-block: 0;
  }
  .side-banner
  {
    display: none;
  }
}
@media(max-width:500px){
  .ads-row
  {
    flex-direction: column;
    align-items: center;
  }

}
@media(max-width:500px)
{

  .games-container article 
  {
    max-width:100%;
  }
  .games-container article img 
  {
    max-height: 100%;
  }
  .games-pagination
  {
    grid-template-columns: repeat(auto-fill, minmax(0, 55px));
  }
  .games-pagination a
  {
    width: 55px;
  }
  .my-comment
  {
    flex-direction: column;
    gap: 0;
  }
  .mc-left
  {
    width: 100%;
  }
  .mc-left img
  {
    border-radius: 6px 6px 0 0;
  }
  .am-top
  {
    gap: 1rem;
    justify-content: space-evenly;
    flex-direction: column;
  }
  .about-me
  {
    gap: 1.5rem;
  }
  .am-left
  {
    padding-left: 0;
  }
  .am-left, .am-right
  {
    margin: 0 auto;
  }
  .am-right
  {
    width: 100%;
    max-width: 160px;
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .list-friends li
  {
    font-size: 1em;
  }

  .friends-line
  {
    font-size: .7em;
  }
/*
  .profile-content-pane
  {
    padding-inline: 0;
  }
   .profile-tabs
  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    border-radius: 0;
    background-color: #000;
  }

  .profile-tabs button
  {
    border-right: 0;
  }

  .profile-tabs button:first-child, .profile-tabs button:last-child
  {
    border-radius: 0;
  } */

}

@media(max-width:471px)
{
  .over-iframe 
  {
    margin-bottom: .5rem;
    justify-content: center;
  }
}

@media (min-width: 600px) 
{
    #slider-wrapper 
    {
        width: 25%;
    }
}




